@napi-rs/canvas
1.2.0 · 21 Nov 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @napi-rs/canvas From 0.1.100 to 1.1.1
15 releases in betweenevery note read
Release by release
- 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
- New
- 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
- New
- Fixed
canvas: Wrap native methods, not previous wrappers, on re-evaluation
- Fixed
- 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
- New
- New
Emit CycloneDX SBOMs for platform packages
- Fixed
Start a new subpath for each Path2D.addPath call
- New
- 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
- New
- New
chrome/m154
- Fixed
Invalidate FontCollection typeface cache on font registration
- New
- Fixed
Capture call-time snapshot in async encode APIs
- Fixed
Snapshot canvas source in drawImage to avoid per-call pixel copy
- Fixed
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.