CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 23:37:00 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"9a64655a88036595345ea8cc9d913f75"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=IARSML2kTz%2FBHyaG5DSS1hHOMs2PAhTy4rYXwxNwHmmEMrSfx1%2Be19EUq6By21Gi0a2OoT5BphbtlobIsLB144VaGaG1B3twwXqhFAQsgyoAnW05kgyBnX1Q4%2FgqzjDftTD9tFxGblhO%2FxpPMQU7RPvCco7VS7wYBhFiQNOMdrTsT8TzPNW1QBejAlSwg5vYx2MIMMZ%2B9fzkeA54NPEFXoyfBMwFc8HcOTlX0v9d8zIVY3ShXiDe0h%2FNvud1Qcsdy9n1Y7aQ1pc%2F1eFCQBm15Q%3D%3D--waPMo%2FvxlLtwasEM--KGoBglSNM2Fv1T9aVzsU6Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2053259067.1753400220; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 23:37:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 23:37:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BBF4:69B36:15AD4:21E86:6882C39C
Releases Β· Automattic/node-canvas Β· GitHub
26 Jun 03:03
Loading
19 Jun 14:51
Loading
22 Jan 03:45
Loading
31 Dec 21:51
Loading
23 Dec 18:05
Loading
07 Dec 16:31
Loading
20 Jun 00:30
Loading
02 Apr 21:33
Loading
02 Apr 21:32
Loading
22 Dec 21:30
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Releases: Automattic/node-canvas
Releases Β· Automattic/node-canvas
v3.1.2
Compare
Assets 7
1 person reacted
v3.1.1
Compare
3.1.1
This release also introduces arm64 prebuilds for Linux!
Fixed
- Fix a crash when SVGs without width or height are loaded (#2486)
- Fix fetching prebuilds during installation on certain newer versions of Node (#2497)
- Fixed issue with fillText that was breaking subsequent fillText calls (#2171)
- Fix svg rendering when the image is resized (#2498)
- Fix measureText with direction rtl textAlign start/end
- Fix a crash in Node 24, due to external memory API change (#2514)
Assets 7
3 people reacted
v3.1.0
Compare
3.1.0
- Replaced
simple-get
withNode.js builtin
fetch
(#2309) ctx.font
has a new C++ parser and is 2x-400x faster. Please file an issue if you experience different results, as caching has been removed.- The restriction of registering fonts before a canvas is created has been removed. You can now register a font as late as right before the
fillText
call (#1921)
Added
- Support for accessibility and links in PDFs
ctx.direction
is implemented:'rtl'
or'ltr'
set the base direction of textctx.textAlign
'start'
and'end'
are now'right'
and'left'
whenctx.direction === 'rtl'
Fixed
Assets 6
3 people reacted
v3.0.1
Compare
3.0.1
Fixed
- Fixed accidental depenency on ambient DOM types
Assets 6
v3.0.0
Compare
3.0.0
This release notably changes to using N-API. π
Breaking
- Dropped support for Node.js 16.x and below.
Changed
- Migrated to N-API (by way of node-addon-api) and removed libuv and v8 dependencies
- Change from node-pre-gyp to prebuild-install
- Defer the initialization of the
op
variable to thedefault
switch case to avoid a compiler warning. (#2229) - Use a
default
switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229) - Migrate from librsvg's deprecated
rsvg_handle_get_dimensions()
andrsvg_handle_render_cairo()
functions to the newrsvg_handle_get_intrinsic_size_in_pixels()
andrsvg_handle_render_document()
respectively. (#2229) - Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#2229)
- Remove unused private field
backend
in theBackend
class. (#2229) - Add Node.js v20 to CI. (#2237)
- Replaced
dtslint
withtsd
(#2313) - Changed PNG consts to static properties of Canvas class
- Reverted improved font matching on Linux (#1572) because it doesn't work if fonts are installed. If you experience degraded font selection, please file an issue and use v3.0.0-rc3 in the meantime.
Added
- Added string tags to support class detection
- Throw Cairo errors in canvas.toBuffer()
Fixed
- Fix a case of use-after-free. (#2229)
- Fix usage of garbage value by filling the allocated memory entirely with zeros if it's not modified. (#2229)
- Fix a potential memory leak. (#2229)
- Fix the wrong type of setTransform
- Fix the improper parsing of rgb functions issue. (#2300)
- Fix issue related to improper parsing of leading and trailing whitespaces in CSS color. (#2301)
- RGB functions should support real numbers now instead of just integers. (#2339)
- Allow alternate or properly escaped quotes within font-family names
- Fix TextMetrics type to include alphabeticBaseline, emHeightAscent, and emHeightDescent properties
- Fix class properties should have defaults as standard js classes (#2390)
- Fixed Exif orientation in JPEG files being ignored (#1670)
- Align DOMMatrix/DOMPoint to spec by adding missing methods
Assets 6
15 people reacted
v3.0.0-rc3
Compare
This release notably changes to using N-API. π
Breaking
- Dropped support for Node.js 16.x and below.
Changed
- Migrated to N-API (by way of node-addon-api) and removed libuv and v8 dependencies
- Change from node-pre-gyp to prebuild-install
- Defer the initialization of the
op
variable to thedefault
switch case to avoid a compiler warning. (#2229) - Use a
default
switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229) - Migrate from librsvg's deprecated
rsvg_handle_get_dimensions()
andrsvg_handle_render_cairo()
functions to the newrsvg_handle_get_intrinsic_size_in_pixels()
andrsvg_handle_render_document()
respectively. (#2229) - Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#2229)
- Remove unused private field
backend
in theBackend
class. (#2229) - Add Node.js v20 to CI. (#2237)
- Replaced
dtslint
withtsd
(#2313) - Changed PNG consts to static properties of Canvas class
Added
- Added string tags to support class detection
- Throw Cairo errors in canvas.toBuffer()
Fixed
- Fix a case of use-after-free. (#2229)
- Fix usage of garbage value by filling the allocated memory entirely with zeros if it's not modified. (#2229)
- Fix a potential memory leak. (#2229)
- Fix the wrong type of setTransform
- Fix the improper parsing of rgb functions issue. (#2300)
- Fix issue related to improper parsing of leading and trailing whitespaces in CSS color. (#2301)
- RGB functions should support real numbers now instead of just integers. (#2339)
- Allow alternate or properly escaped quotes within font-family names
- Fix TextMetrics type to include alphabeticBaseline, emHeightAscent, and emHeightDescent properties
- Fix class properties should have defaults as standard js classes (#2390)
- Fixed Exif orientation in JPEG files being ignored (#1670)
Assets 6
3 people reacted
v3.0.0-rc2
Compare
Note
Prebuilds are currently only available for Linux (x64, glibc), macOS (x64) and Windows (x64). Please give this version a try and let us know if you run into issues!
npm install canvas@next
This release notably changes to using N-API. π
Breaking
- Dropped support for Node.js 16.x and below.
Changed
- Migrated to N-API (by way of node-addon-api) and removed libuv and v8 dependencies
- Change from node-pre-gyp to prebuild-install
- Defer the initialization of the
op
variable to thedefault
switch case to avoid a compiler warning. (#2229) - Use a
default
switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229) - Migrate from librsvg's deprecated
rsvg_handle_get_dimensions()
andrsvg_handle_render_cairo()
functions to the newrsvg_handle_get_intrinsic_size_in_pixels()
andrsvg_handle_render_document()
respectively. (#2229) - Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#2229)
- Remove unused private field
backend
in theBackend
class. (#2229) - Add Node.js v20 to CI. (#2237)
- Replaced
dtslint
withtsd
(#2313)
Added
- Added string tags to support class detection
Fixed
Assets 5
27 people reacted
v2.11.2
Compare
Note: this is the first version with prebuilds for Node.js v20.
Fixed
- Building on Windows in CI (and maybe other Windows configurations?) (#2216)
Assets 42
5 people reacted
v2.11.1
Compare
Fixed
- Add missing property
canvas
to theCanvasRenderingContext2D
type - Fixed glyph positions getting rounded, resulting text having a slight
letter-spacing
effect - Fixed
ctx.font
not being restored correctly afterctx.restore()
(#1946)
Assets 20
v2.11.0
Compare
Fixed
- Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
Assets 38
5 people reacted
Previous Next
You canβt perform that action at this time.