zuly
zuly copied to clipboard
Bump canvas from 2.9.1 to 2.11.0
Bumps canvas from 2.9.1 to 2.11.0.
Release notes
Sourced from canvas's releases.
v2.11.0
Fixed
- Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
v2.10.2
Fixed
- Fix
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.
(#2025)textBaseline
andtextAlign
were not saved/restored bysave()
/restore()
. (#1936)- Update nan to v2.17.0 to ensure Node.js v18+ support.
Changed
- Improve performance and memory usage of
save()
/restore()
.save()
/restore()
no longer have a maximum depth (previously 64 states).v2.10.1
Fixed
- Fix
actualBoundingBoxLeft
andactualBoundingBoxRight
whentextAlign='center'
or'right'
(#1909)- Fix
rgba(r,g,b,0)
with alpha to 0 should parse as transparent, not opaque. (#2110)v2.10.0
Added
- Export
pangoVersion
ctx.roundRect()
Fixed
rgba(r,g,b)
with no alpha should parse as opaque, not transparent. (#2029)- Typo in
PngConfig.filters
types. (#2072)createPattern()
always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)- Crashes and hangs when using non-finite values in
context.arc()
. (#2055)- Incorrect
context.arc()
geometry logic for full ellipses. (#1808, (#1736))- Added missing
deregisterAllFonts
to the Typescript declaration file (#2096)- Add
User-Agent
header when requesting remote images (#2099)v2.9.3
Fixed
- Wrong fonts used when calling
registerFont
multiple times with the same family name (#2041)v2.9.2
Fixed
Changelog
Sourced from canvas's changelog.
2.11.0
Fixed
- Replace triple-slash directive in types with own types to avoid polluting TS modules with globals (#1656)
2.10.2
Fixed
- Fix
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.
(#2025)textBaseline
andtextAlign
were not saved/restored bysave()
/restore()
. (#1936)- Update nan to v2.17.0 to ensure Node.js v18+ support.
Changed
- Improve performance and memory usage of
save()
/restore()
.save()
/restore()
no longer have a maximum depth (previously 64 states).2.10.1
Fixed
- Fix
actualBoundingBoxLeft
andactualBoundingBoxRight
whentextAlign='center'
or'right'
(#1909)- Fix
rgba(r,g,b,0)
with alpha to 0 should parse as transparent, not opaque. (#2110)2.10.0
Added
- Export
pangoVersion
ctx.roundRect()
Fixed
rgba(r,g,b)
with no alpha should parse as opaque, not transparent. (#2029)- Typo in
PngConfig.filters
types. (#2072)createPattern()
always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)- Crashes and hangs when using non-finite values in
context.arc()
. (#2055)- Incorrect
context.arc()
geometry logic for full ellipses. (#1808, (#1736))- Added missing
deregisterAllFonts
to the Typescript declaration file (#2096)- Add
User-Agent
header when requesting remote images (#2099)2.9.3
Fixed
- Wrong fonts used when calling
registerFont
multiple times with the same family name (#2041)2.9.2
Fixed
Commits
fc160f5
v2.11.040b4382
use tailored types instead of extending DOM672104c
v2.10.2cc32159
src: shorten receiver checksad18c6c
src: shorten copy assignment operator decl for Point2876b6e
Bugfix/Node.js 18 -> Assertion failed: (object->InternalFieldCount() > 0) (#2...0e6504a
remove save() limit, improve save/restore perf, fix some propsb3e7df3
v2.10.1bc75c6a
add line in CHANGELOG9374943
Parse rgba(r,g,b,0) correctly- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)