Open
Conversation
✅ Deploy Preview for gestalten-in-code ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.4.0→^3.0.0Release Notes
Automattic/node-canvas (canvas)
v3.2.3Compare Source
==================
Fixed
v3.2.2Compare Source
==================
Fixed
ctx.directionnot affected byctx.saveandctx.restorev3.2.1Compare Source
==================
roundRect()shape incorrect when radii were large relative to rectangle size (#2400)v3.2.0Compare Source
==================
Added
ctx.langto set the ISO language code for textv3.1.2Compare Source
==================
Fixed
v3.1.1Compare Source
==================
Fixed
v3.1.0Compare Source
==================
Changed
simple-getwithNode.js builtinfetch(#2309)ctx.fonthas a new C++ parser and is 2x-400x faster. Please file an issue if you experience different results, as caching has been removed.fillTextcall (#1921)Added
ctx.directionis implemented:'rtl'or'ltr'set the base direction of textctx.textAlign'start'and'end'are now'right'and'left'whenctx.direction === 'rtl'Fixed
getImageDatawhen the rectangle is entirely outside the canvas. (#2024)getImageDatacropping the resultingImageDatawhen the given rectangle is partly outside the canvas. (#1849)v3.0.1Compare Source
==================
Fixed
v3.0.0Compare Source
==================
This release notably changes to using N-API. 🎉
Breaking
Changed
opvariable to thedefaultswitch case to avoid a compiler warning. (#2229)defaultswitch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229)rsvg_handle_get_dimensions()andrsvg_handle_render_cairo()functions to the newrsvg_handle_get_intrinsic_size_in_pixels()andrsvg_handle_render_document()respectively. (#2229)backendin theBackendclass. (#2229)dtslintwithtsd(#2313)Added
Fixed
v2.11.2Compare Source
==================
Fixed
v2.11.1Compare Source
==================
Fixed
canvasto theCanvasRenderingContext2Dtypeletter-spacingeffectctx.fontnot being restored correctly afterctx.restore()(#1946)v2.11.0Compare Source
==================
Fixed
v2.10.2Compare Source
==================
Fixed
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.(#2025)textBaselineandtextAlignwere not saved/restored bysave()/restore(). (#1936)Changed
save()/restore().save()/restore()no longer have a maximum depth (previously 64 states).v2.10.1Compare Source
==================
Fixed
actualBoundingBoxLeftandactualBoundingBoxRightwhentextAlign='center'or'right'(#1909)rgba(r,g,b,0)with alpha to 0 should parse as transparent, not opaque. (#2110)v2.10.0Compare Source
==================
Added
pangoVersionctx.roundRect()Fixed
rgba(r,g,b)with no alpha should parse as opaque, not transparent. (#2029)PngConfig.filterstypes. (#2072)createPattern()always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)context.arc(). (#2055)context.arc()geometry logic for full ellipses. (#1808, (#1736))deregisterAllFontsto the Typescript declaration file (#2096)User-Agentheader when requesting remote images (#2099)v2.9.3Compare Source
==================
Fixed
registerFontmultiple times with the same family name (#2041)v2.9.2Compare Source
==================
Fixed
npm rebuildwill now re-fetch prebuilt binaries to avoidNODE_MODULE_VERSIONmismatch errors. (#1982)v2.9.1Compare Source
==================
Fixed
toupper.getImageDataorputImageDatais called on a PDF or SVG canvas (#1853)v2.9.0Compare Source
==================
Changed
DOMPoint()constructor to check for parameter nullability.DOMMatrix.jsto use string literals for non-special cases.Added
deregisterAllFontsmethod to free up memory and reduce font conflicts.Fixed
/opt/homebrew/libv2.8.0Compare Source
==================
Changed
features like
node_pre_gyp_accessKeyId, you may need to make changes to yourinstallation procedure. See https://github.com/mapbox/node-pre-gyp/blob/master/CHANGELOG.md#100.
nBytes()now returns a size_t. (Because this is a C++method only, this is not considered a breaking change.)
Added
inverse()andinvertSelf()toDOMMatrix(#1648)context.getTransform()(#1769)context.setTransform(dommatrix)(#1769)Fixed
actualBoundingBoxLeftandactualBoundingBoxRightreturned bymeasureTextto be the ink rect (#1776, fixes #1703).v2.7.0Compare Source
==================
Changed
Previously these were in the node-gfx/node-canvas-prebuilt
and triggered manually.
fillStyle=andstrokeStyle=Added
rsvgVersion.setTransformmethod is no longer missingFixed
fillStyleorstrokeStyleis set to an object, but that object is not a Gradient or Pattern. (This behavior was non-standard: invalid inputs are supposed to be ignored.)v2.6.1Compare Source
==================
Fixed
maxWidthinfillTextandstrokeTextif it is undefinedunderlying arraybuffer was incorrectly sized.)
v2.6.0Compare Source
==================
Changed
toBuffer('raw').Added
Fixed
fillStyleorstrokeStylewas set to a
CanvasPatternorCanvasGradient(#1357).toBuffer('raw')with large canvases (#1158).toBuffer('raw')in readme. (#1416)SetandCall. (#1415)Getversion fromNaninstead ofv8. (#1415)v2.5.0Compare Source
==================
Added
Fixed
v2.4.1Compare Source
==================
Fixed
canvas.toDataURL()v2.4.0Compare Source
==================
Added
resolutionoption forcanvas.toBuffer("image/png")andcanvas.createPNGStream(). This was documented since 2.0.0 but not working.Fixed
canvas.createPDFStream()v2.3.1Compare Source
==================
Fixed
canvas.toBuffer()for JPEGs (#1350)v2.3.0Compare Source
==================
Added
Fixed
canvas.toBuffer()(#1202, #1296)ctx.font=(#1202)v2.2.0Compare Source
==================
Added
Fixed
v2.1.0Compare Source
==================
Added
v2.0.1Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.