10.11.0
- fillRadialGradientScale for elliptical radial gradient fills #2089 (Nikita Gankin)
- zero radial gradient scale and a throwing fill #2089 (Nikita Gankin)
- elliptical radial gradients on Linux node-canvas (Anton Lavrevov)
- simplify the radial gradient scale code and tests #2089 (Nikita Gankin)
- parse a find() selector once instead of once per node #2090 (g4lb)
- parse a selector once per find() call, scan names without splitting (Anton Lavrevov)
- keep the elliptical radial gradient tests that pin behavior (Anton Lavrevov)
- fd15aaf: update CHANGELOG with new version (Anton Lavrevov)
- 4712938: build for 10.11.0 (Anton Lavrevov)
10.10.0
- public canvas backend API, napi-rs backend, Web Worker support (Anton Lavrevov)
- word wrap does not start a line with a dash #2082 (nk-batman21)
- word wrap breaks next to Chinese and Japanese characters #2084 (b84330808)
- CRLF line endings no longer add width to a line #2085 (b84330808)
- Chinese and Japanese word wrap keeps iteration marks with the character before #2084 (Anton Lavrevov)
- decompose keeps the rotation when scaleX is 0 #2088 (Abderrahmane Messaadi)
- getCanvasBackend() returns null when there is no backend (Anton Lavrevov)
- open the unreleased changelog section (Anton Lavrevov)
- reduce the zero scaleX branch of decompose to what it computes (Anton Lavrevov)
- CJK word wrap tests hold with any CJK glyph width #2084 (Anton Lavrevov)
- aa50051: update CHANGELOG with new version (Anton Lavrevov)
- bf1927c: build for 10.10.0 (Anton Lavrevov)
10.9.1
- Emboss lights the named side for top and bottom directions #2077 (nk-batman21)
- negative cornerRadius of RegularPolygon no longer throws #2078 (Enes Uygur)
- warn on unknown embossDirection, test all eight emboss directions (Anton Lavrevov)
- TextPath underline and line-through use the fill the text is drawn with #2079 (nk-batman21)
- text decorations follow the glyph paint: enabled fill, else stroke, else none (Anton Lavrevov)
- TextPath gradients and patterns span the whole shape, not each glyph (Anton Lavrevov)
- TextPath bounds include the underline, so cache() does not clip it (Anton Lavrevov)
- cancelBubble in a delegated handler stops bubbling #2080 (nk-batman21)
- CSS blur() fallback matches the native blur, and fallbacks work in core builds (Anton Lavrevov)
- resolve TextPath decoration fill style once per draw (Anton Lavrevov)
- simplify TextPath decoration and style-space code (Anton Lavrevov)
- 09cf683: update CHANGELOG with new version (Anton Lavrevov)
- f07eb71: build for 10.9.1 (Anton Lavrevov)
10.9.0
- batch Transformer updates, drop destroyed nodes without re-attaching survivors (Anton Lavrevov)
- 17b5032: update CHANGELOG with new version (Anton Lavrevov)
- d95eed6: build for 10.9.0 (Anton Lavrevov)
10.8.0
- add Transformer rotateMode with corner rotation zones (Anton Lavrevov)
- normalize negative sizes in getClientRect() of shapes #2075 (Bao Nguyen)
- 90f7ee2: update CHANGELOG with new version (Anton Lavrevov)
- 8736dc1: build for 10.8.0 (Anton Lavrevov)
10.7.1
- keep typed array line points in toObject() and toJSON() #2073 (Bao Nguyen)
- Transformer follows size changes of an attached group's children (Anton Lavrevov)
- 7cb8bb1: update CHANGELOG with new version (Anton Lavrevov)
- 48a8c8d: build for 10.7.1 (Anton Lavrevov)
10.7.0
- add Group.isolated() and shape-sized perfect-draw buffers (Anton Lavrevov)
- add Shape.selfRectFunc() for custom shape bounds (Anton Lavrevov)
- isolation surfaces inherit imageSmoothingQuality (Anton Lavrevov)
- apply prettier (Anton Lavrevov)
- remove the size-limit check (Anton Lavrevov)
- 3617366: update CHANGELOG with new version (Anton Lavrevov)
- ca62a92: build for 10.7.0 (Anton Lavrevov)
10.6.0
- resolve rendering, interaction, and serialization review issues (Anton Lavrevov)
- correct high-DPI filters, stroke bounds, and character styles (Anton Lavrevov)
- isolate pointer state across stages and input families (Anton Lavrevov)
- resolve simple review tasks and clean up docs and tests (Anton Lavrevov)
- detach node before invalidating tree-dependent caches (Anton Lavrevov)
- preserve explicit attribute values equal to computed defaults in toObject (Anton Lavrevov)
- complete drags started from pointer events (Anton Lavrevov)
- stop mutating caller configs in Text constructor and exports (Anton Lavrevov)
- measure text without kerning when it is drawn per character (Anton Lavrevov)
- stop only the requested drag in stopDrag (Anton Lavrevov)
- isolate mutable array attribute defaults between instances (Anton Lavrevov)
- include the underline in Text bounds (Anton Lavrevov)
- respect Tween callback teardown (Anton Lavrevov)
- invalidate transformer bounds when its own rotation changes (Anton Lavrevov)
- report the newly started touch in stage touchstart (Anton Lavrevov)
- report previous component values in compound change events (Anton Lavrevov)
- detach both layer canvases on remove (Anton Lavrevov)
- apply an explicit ltr text direction to the canvas (Anton Lavrevov)
- interpolate stroke gradient color stops (Anton Lavrevov)
- read rotateAnchorAngle as degrees during rotation drag (Anton Lavrevov)
- report the captured pointer id in capture events (Anton Lavrevov)
- round automatic cache and export extents to the far edge (Anton Lavrevov)
- clamp parsed CSS color components to their range (Anton Lavrevov)
- draw text decorations with the selected fill (Anton Lavrevov)
- keep Arrow head aligned when endpoints repeat (Anton Lavrevov)
- normalize supported Tween array transitions (Anton Lavrevov)
- average Pixelate blocks with alpha weighting (Anton Lavrevov)
- redraw Image when src is assigned after creation (Anton Lavrevov)
- release Image.fromURL load handlers after the first load (Anton Lavrevov)
- stop Label stacking listeners on re-added children (Anton Lavrevov)
- make a close command travel back to the start of the subpath (Anton Lavrevov)
- accumulate TextPath kerning along the path (Anton Lavrevov)
- compute exact bounds for path arc segments (Anton Lavrevov)
- exclude trailing letter spacing from TextPath layout (Anton Lavrevov)
- locate points on elliptical arcs by distance (Anton Lavrevov)
- normalize negative arc radii and draw arcs with ellipse (Anton Lavrevov)
- stabilize length of nearly straight quadratic curves (Anton Lavrevov)
- skip caching when the requested region has a negative size (Anton Lavrevov)
- do not listen for load on an image element that is already loaded (Anton Lavrevov)
- locate points on circular arcs with the closed-form angle (Anton Lavrevov)
- state the real reason the parsed color components are clamped (Anton Lavrevov)
- resolve an inherited text direction from the canvas context (Anton Lavrevov)
- clamp the computed export extent so the stage-size fallback still fires (Anton Lavrevov)
- let the Transformer follow text decoration bound changes (Anton Lavrevov)
- do not bound a zero-sweep arc by the whole ellipse (Anton Lavrevov)
- end the whole gesture in stopDrag, not only that node (Anton Lavrevov)
- keep getSelfRect off the text measurement path (Anton Lavrevov)
- record the review-task batch in the changelog and close the audit list (Anton Lavrevov)
- open the 10.6.0 changelog section and give 10.5.0 its own heading (Anton Lavrevov)
- simplify path processing, transform batching, and filter buffers (Anton Lavrevov)
- replace Sprite timing assertions with redraw behavior checks (Anton Lavrevov)
- cover toBlob keeping the callback of a reused config (Anton Lavrevov)
- compare path point lists with a tolerance instead of exact floats (Anton Lavrevov)
- 2babeee: Merge branch 'review-fixes/transformer' into review-fixes/all (Anton Lavrevov)
- 6628d9d: Merge branch 'review-fixes/node-factory' into review-fixes/all (Anton Lavrevov)
- 4f0db5d: Merge branch 'review-fixes/util-layer' into review-fixes/all (Anton Lavrevov)
- 6bd62d3: Merge branch 'review-fixes/text' into review-fixes/all (Anton Lavrevov)
- 157628d: Merge branch 'review-fixes/arrow' into review-fixes/all (Anton Lavrevov)
- 2d5dc95: Merge branch 'review-fixes/tween' into review-fixes/all (Anton Lavrevov)
- 8fc42c5: Merge branch 'review-fixes/pixelate' into review-fixes/all (Anton Lavrevov)
- 2d796a4: Merge branch 'review-fixes/image' into review-fixes/all (Anton Lavrevov)
- 57b65c8: Merge branch 'review-fixes/label' into review-fixes/all (Anton Lavrevov)
- dae1bdf: Merge branch 'redo/textpath' into review-fixes/all (Anton Lavrevov)
- reject null in the compound accessors that throw on it (Anton Lavrevov)
- 1199be0: Merge branch 'redo/types' into review-fixes/all (Anton Lavrevov)
- 444a46c: Merge branch 'repair/node' into review-fixes/all (Anton Lavrevov)
- 05eec26: Merge branch 'repair/text' into review-fixes/all (Anton Lavrevov)
- 446e01f: Merge branch 'repair/path' into review-fixes/all (Anton Lavrevov)
- df1827b: Merge branch 'repair/misc' into review-fixes/all (Anton Lavrevov)
- 894429d: Merge review-task fix batch: 35 backlog fixes and 12 review repairs (Anton Lavrevov)
- e759195: update CHANGELOG with new version (Anton Lavrevov)
- 5f2dcf7: build for 10.6.0 (Anton Lavrevov)
10.5.0
- Stage.eventBatchFunc() batches native input for framework integrations (Anton Lavrevov)
- touchcancel releases only the canceled pointers and fires a cancel event (Anton Lavrevov)
- toBlob() resolves with a Blob instead of unknown (Anton Lavrevov)
- keep the Node class JSDoc attached to the class (Anton Lavrevov)
- document Path width() and height() for the API reference (Anton Lavrevov)
- Transformer reuses unchanged shape bounds and skips equal anchor updates (Anton Lavrevov)
- 8225a78: update CHANGELOG with new version (Anton Lavrevov)
- 9008123: build for 10.5.0 (Anton Lavrevov)
10.4.0
- destroy event; Transformer, Tween, pointer captures and stage timers release destroyed nodes (Anton Lavrevov)
- size the buffer canvas of cache() and toCanvas() to the target, allocate it lazily and release it (Anton Lavrevov)
- memoize isCSSFiltersSupported() and release its probe canvas (Anton Lavrevov)
- stop the frame interval of a Sprite on destroy() (Anton Lavrevov)
- keep descendant caches on clearCache() and release the previous canvases on re-cache (Anton Lavrevov)
- setAbsolutePosition() under a zero-scale ancestor no longer writes NaN (Anton Lavrevov)
- negative radius and cornerRadius no longer throw and blank the layer (Anton Lavrevov)
- batchDraw() no longer freezes the layer after a throwing draw (Anton Lavrevov)
- Blur keeps the colour of semi-transparent pixels and survives large radii (Anton Lavrevov)
- Tween ownership bookkeeping (Anton Lavrevov)
- clamp a negative cornerRadius in drawRoundedRectPath (Anton Lavrevov)
- hasShadow() follows shadowOffsetX and shadowOffsetY changes (Anton Lavrevov)
- cache() and transform batching clean up after a throw (Anton Lavrevov)
- split text into graphemes with Intl.Segmenter (Anton Lavrevov)
- toObject() copies attributes instead of mutating them, accepts frozen values and skips methods named like custom attributes (Anton Lavrevov)
- drawHitFromCache() honours hitCanvasPixelRatio (Anton Lavrevov)
- Path arc bounds, SVGO arc flags, empty data, and segment-relative getPointAtLength (Anton Lavrevov)
- Transformer follows the grabbing pointer, guards zero-size boxes, and resolves its anchors directly (Anton Lavrevov)
- Tween of component attributes, of array attributes the node lacks, and to() no longer mutates its params (Anton Lavrevov)
- absolute getters and derived caches of nodes under a cached container, fire(type, null), non-finite child rects (Anton Lavrevov)
- Canvas size equals the truncated bitmap at a fractional pixel ratio and keeps its logical size; setSizeIfChanged() with NaN (Anton Lavrevov)
- drag with several pointers releases only the lifted pointer; startDrag() without an event ends on release (Anton Lavrevov)
- Transformer suppresses the hit graph of its own layers only (gate moved to Layer.shouldDrawHit), forwards getClientRect(config), honours top in getAbsoluteTransform() (Anton Lavrevov)
- RegularPolygon without sides, Sprite getSelfRect() and guards for a missing animation or frame (Anton Lavrevov)
- report a non-finite number at the core aggregation points instead of silently drawing nothing (Anton Lavrevov)
- Tag.getSelfRect() grows by exactly the pointer for a left or right pointer (Anton Lavrevov)
- eleven one-line bugs (Anton Lavrevov)
- layer.size() no longer resizes the layer canvas; getChildren() returns a copy (Anton Lavrevov)
- review follow-ups for the polishing batch (Anton Lavrevov)
- Transformer follows node changes made between pointer moves of a resize (Anton Lavrevov)
- JSDoc that contradicted the code, wrong names and types, examples that did not run (Anton Lavrevov)
- rewrite the unreleased changelog in the usual short style (Anton Lavrevov)
- keep a running grapheme index for charRenderFunc instead of recounting previous lines per character (Anton Lavrevov)
- upload filter chain result once and stop reallocating the filter canvas (Anton Lavrevov)
- release the per-layer canvases of a stage export and skip the client rect when the box is given (Anton Lavrevov)
- resize a canvas in one pass (Anton Lavrevov)
- drop the two Maps every node allocated (Anton Lavrevov)
- wrap fixed-width text in linear time (Anton Lavrevov)
- resolve edge pixels of the hit graph directly and bound the search (Anton Lavrevov)
- relayout listeners of Text and TextPath on the prototype, listener cache keyed by class (Anton Lavrevov)
- getClientRect() no longer scans the subtree at every nesting level (Anton Lavrevov)
- drag reads pointer positions once per stage, skips the redraw on a plain click, and resets the drag position per drag (Anton Lavrevov)
- hoisted component getter names, single-array Transform, direct drawImage, hoisted TypedArray (Anton Lavrevov)
- Animation keeps its running animations in a Set; an animation stopping itself no longer skips the next one; setLayers() copies its argument (Anton Lavrevov)
- hygiene (Anton Lavrevov)
- keep JSDoc in the published .d.ts files (Anton Lavrevov)
- size budget of 48 KB, CI runs size, import and type checks on Node 22 (Anton Lavrevov)
- release script runs the tests, drops the empty cdn-link commit and the hard-coded directory (Anton Lavrevov)
- named exports and prepublishOnly (Anton Lavrevov)
- drop the named exports and the separate UMD entry (Anton Lavrevov)
- remove dead Node internals and hoist the non-bubbling event list (Anton Lavrevov)
- build the browser tests from a clean Parcel cache (Anton Lavrevov)
- drop the unregistered fillLinearRadial* declarations, build ellipses with context.ellipse() (Anton Lavrevov)
- remove dead code (hit fill/stroke duplicates, lineDash fallbacks, trace branch, unused globals, addDeprecatedGetterSetter) (Anton Lavrevov)
- red/green/blue registered once with the shared component validator, alpha uses afterSetFilter (Anton Lavrevov)
- remove dead code; cloneObject() copies nested arrays and typed arrays; shadow probe releases its canvas (Anton Lavrevov)
- resolve every TODO comment in src and tests (Anton Lavrevov)
- remove dead code, dead files and unused devDependencies (Anton Lavrevov)
- ad94d9d: update CHANGELOG (Anton Lavrevov)
- f142b6e: update CHANGELOG (Anton Lavrevov)
- 7ee3232: update CHANGELOG (Anton Lavrevov)
- c9f3830: update CHANGELOG (Anton Lavrevov)
- 0f88c28: update CHANGELOG (Anton Lavrevov)
- declarations that contradicted the runtime or the docs (Anton Lavrevov)
- ac581a4: update CHANGELOG with new version (Anton Lavrevov)
- e51c16d: build for 10.4.0 (Anton Lavrevov)