@napi-rs/canvas
1.1.0 · 30 Oct 2026MIT47.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @napi-rs/canvas From 0.1.69 to 1.1.0
45 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- 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
- new
Fast getImageData readback with runtime-dispatched SIMD unpremultiply
- fixed
putImageData no longer inherits transform/clip after getImageData
- new
132 internal lines (docs, tests, tooling) left out.