Packages

@napi-rs/canvas

1.2.0 · 21 Nov 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @napi-rs/canvas From 0.1.100 to 1.2.0

16 releases in betweenevery note read

The note of 1.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 0.1.100yours
  2. 1.0.0major
  3. 14 releases
  4. 1.2.0target
?
changes to make
0
advisories fixed
29
new
57
fixes

Release by release

  1. 1.2.0

    21 Nov 20263 new
    • New

      Supports CSS values, ranges ('100 900', 'oblique 10deg 20deg', '75% 125%'), calc(), and 'auto'. Invalid descriptors return null without registering; non-object descriptors throw a TypeError.

    • New

      Variable fonts clamp wght/slnt/wdth to declared descriptor ranges, use the ital axis for italic when available, and apply variation coordinates in SVG <text>.

    • New

      Static (non-variable) font-stretch matching now follows CSS Fonts Level 4 (Width > Style > Weight priority and exact matches for expanded widths).

  2. 1.1.1

    12 Nov 202612 new · 14 fixes
    • New

      text: Add fontFeatureSettings, fontVariantLigatures/Numeric/Position, fontSizeAdjust and fontOpticalSizing

    • New

      text: Add the Blink shaper scaffold behind NAPI_RS_CANVAS_SHAPER

    • New

      text: Shape canvas text with the Blink-style shaper core

    • New

      text: Add Blink fallback stages and the macOS system fallback to the shaper

  3. 1.1.0

    30 Oct 20261 new · 9 fixes
    • New

      text: Draw text the same on every OS by default, add setTextRenderer

    • Fixed

      build: Bind the addon's own symbols on Linux so Electron's cxx runtime cannot replace them

    • Fixed

      path: Draw full-sweep arc() and ellipse() for every start angle

    • Fixed

      path: Draw a degenerate ellipse() as straight lines like Chrome

  4. 1.0.13

    21 Oct 20261 fix
    • Fixed

      canvas: Wrap native methods, not previous wrappers, on re-evaluation

  5. 1.0.12

    20 Oct 20267 new · 19 fixes
    • New

      skia: Build Skia with Chrome's CPU raster defines and blitters

    • New

      color: CSS Color 4/5 at every canvas color site, like Chrome

    • New

      canvas: Rasterize text like Chrome with CoreText and Fontations

    • New

      canvas: float16 canvas storage and float ImageData formats

  6. 1.0.11

    10 Oct 20261 new · 1 fix
    • New

      Emit CycloneDX SBOMs for platform packages

    • Fixed

      Start a new subpath for each Path2D.addPath call

  7. 1.0.10

    1 Oct 20261 new · 2 fixes
    • New

      chrome/m156

    • Fixed

      use-after-free when ctx.restore() revives a GC'd CanvasPattern

    • Fixed

      Release deferred recording on reads and cap recorded memory

  8. 1.0.9

    9 Sep 20261 new · 1 fix
    • New

      chrome/m154

    • Fixed

      Invalidate FontCollection typeface cache on font registration

50 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.