This repository was archived by the owner on Feb 10, 2025. It is now read-only.
Update canvas: 2.8.0 → 2.11.2 (minor) #36
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.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ canvas (2.8.0 → 2.11.2) · Repo · Changelog
Release Notes
2.11.2
2.11.0
2.10.2
2.10.1 (from changelog)
2.10.0 (from changelog)
2.9.3 (from changelog)
2.9.2
2.9.1 (from changelog)
2.9.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 62 commits:
v2.11.2fix not compiling on certain windows versionsv2.11.1move ctx.font string to the state structfix incorrect text width with newer (1.43?) Pangofix macos CIAdd canvas property to CanvasRenderingContext2D typev2.11.0use tailored types instead of extending DOMv2.10.2src: shorten receiver checkssrc: shorten copy assignment operator decl for PointBugfix/Node.js 18 -> Assertion failed: (object->InternalFieldCount() > 0) (#2133)remove save() limit, improve save/restore perf, fix some propsv2.10.1add line in CHANGELOGParse rgba(r,g,b,0) correctlyFix actualBoundingBoxLeft/Right with center/right alignment (#2109)v2.10.0fix: add user agent to remote images requestAdd roundRect() supportAdds deregisterAllFonts to the typescript declaration file (#2096)un-skip 2d.path.arc.nonfinite; now fixedfix arc geometry calculationsfix crashes and hangs in arc()add WPT testsUse node-gyp 8.x for Win CIfix repeat-x/y support in createPattern()Fix FITLER/FILTER typo in index.d.tsParse rgba(r,g,b) correctlyUpdate instructions for OSX local buildexport pangoVersion to help debuggingv2.9.3improve multi-family output in font desc resolverv2.9.2Replace binary for rebuild cases (#1982)fix: resolved inconsistent exports in ESM (#2047)v2.9.1Fix CIAdd support for multi-byte font path on Windowsselect fonts via postscript name on Linuxreplace some remaining glib callsmake types compatible with typescript 4.6 (#1986)bug: fix process crash in getImageData for PDF/SVG canvasesAdd missing cctype include for toupperbug: stringify CanvasPattern, ImageData, CanvasGradient like browsersv2.9.0Update nanClean up isnan/isinf, use isfiniteRun standard --fixuse classes/const/let etcFix building on M1 macOSPoint to troubleshooting guide in issue templateRevert "export type NodeCanvasRenderingContext2D"Update has_lib.js to support Apple M1 with homebrew (#1872)Merge pull request #1623 from samizdatco/pattern-transformsrc: remove semicolons from DOMMatrix.jslib: use strings for non-special cases (#1820)tests(): add failing test for direction rtl and textAlign START/END (#1824)Add `deregisterAllFonts` method. (#1811)changelog: update changeloglib: check for parameter nullabilityDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands