@napi-rs/canvas
1.1.1 · 12 Nov 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 1.x1.1.1No known advisoryLatest line
- 0.x0.1.100No known advisoryTo 1.1.1
Latest releases
All 126 releases- 1.x · latest line
1.1.1
12 Nov 2026canvas: Keep the canvas usable while an async encode is pending
image: Draw a complete Buffer image before onload like Chrome
text: Let the font decide Turkish ligatures like Chrome
What's Changed
canvas: Keep the canvas usable while an async encode is pending
image: Draw a complete Buffer image before onload like Chrome
text: Let the font decide Turkish ligatures like Chrome
text: Add fontFeatureSettings, fontVariantLigatures/Numeric/Position, fontSizeAdjust and fontOpticalSizing
text: Floor every font size to 1/100 px like Chrome
text: Add the Blink shaper scaffold behind NAPI_RS_CANVAS_SHAPER
text: Shape canvas text with the Blink-style shaper core
text: Add Blink fallback stages and the macOS system fallback to the shaper
text: Add letter and word spacing to the Blink-style shaper
text: Add font-variant-caps to the Blink-style shaper
text: Add per-face size, opsz and ptem to the Blink-style shaper
text: Add chws and HanKerning to the Blink-style shaper
text: Add host language and per-script fonts to the Blink-style shaper
text: Cache the system-face check of the Blink shaper
text: Draw .notdef where the Blink shaper has no fallback source
text: Make the Blink shaper the default text path
text: A lang change re-sets the font like Blink
fonts: Free removed fonts (RSS stays flat)
text: Word spacing on a leading space follows desktop Chrome
fonts: A name registered over an installed family works like a FontFace
text: Resolve letterSpacing and wordSpacing units like Chrome
fonts: Spellings of a family are one family, and the face added last wins
fonts: A name given to a file loadFontsFromDir loaded is its own FontFace
text: Take characters the font list lacks from installed fonts
svg: SVG text falls back per character through the font list, as Chrome does
svg: Synthetic bold and italic in SVG text
1.1.0
30 Oct 2026build: Bind the addon's own symbols on Linux so Electron's cxx runtime cannot replace them
text: Draw text the same on every OS by default, add setTextRenderer
path: Draw full-sweep arc() and ellipse() for every start angle
Highlights
Portable text rendering by default
Text now defaults to the
portablerenderer, using FreeType on macOS, Linux, and Windows to make rendering andmeasureTextresults consistent across operating systems when the same fonts are registered.Behavior change: default text output, measurements, and system-font resolution can differ from v1.0.12/v1.0.13. To restore the previous Chrome-like, platform-specific behavior, call:
const { setTextRenderer } = require('@napi-rs/canvas') setTextRenderer('system')Use
getTextRenderer()to inspect the active mode. Installed fonts and fallback for characters missing from registered fonts can still vary by OS and machine.What's Changed
build: Bind the addon's own symbols on Linux so Electron's cxx runtime cannot replace them
text: Draw text the same on every OS by default, add setTextRenderer
path: Draw full-sweep arc() and ellipse() for every start angle
path: Draw a degenerate ellipse() as straight lines like Chrome
build: Compile Windows Skia with -ffp-contract=off like Chromium
path: follow-ups to #1408: rotate() path, arc() start == end, rotated ellipse, isPointInStroke state, one-point stroke prune
build: Compile skia-c with -ffp-contract=off like Chromium
ctx: Keep Blink's double CTM as the source of truth
ctx: Decide CTM invertibility from Blink's double CTM
ctx: Skip the stroke of every one-point path like Chrome
1.0.13
21 Oct 2026canvas: Wrap native methods, not previous wrappers, on re-evaluation
Dependency tracking · free for 3 projects
Know when your own dependencies move
@napi-rs/canvas shipped a new major in the last 12 months, among 33 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 12 Nov 2026. Releases and advisories last read 12 Nov 2026.