Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Update canvas: 2.8.0 → 2.9.1 (minor)#28

Closed
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/yarn/canvas-2.9.1
Closed

Update canvas: 2.8.0 → 2.9.1 (minor)#28
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/yarn/canvas-2.9.1

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Mar 20, 2022

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.9.1) · Repo · Changelog

Release Notes

2.9.1 (from changelog)

Fixed

  • Stringify CanvasGradient, CanvasPattern and ImageData like browsers do. (#1639, #1646)
  • Add missing include for toupper.
  • Throw an error instead of crashing the process if getImageData or putImageData is called on a PDF or SVG canvas (#1853)
  • Compatibility with Typescript 4.6
  • Near-perfect font matching on Linux (#1572)
  • Fix multi-byte font path support on Windows.

2.9.0 (from changelog)

Changed

  • Refactor functions to classes.
  • Changed DOMPoint() constructor to check for parameter nullability.
  • Changed DOMMatrix.js to use string literals for non-special cases.
  • Remove semicolons from Dommatrix.js.
  • Update nan to v2.15.0 to ensure Node.js v14+ support.
  • Clean up inf/nan macros and slightly speed up argument checking.

Added

  • Added deregisterAllFonts method to free up memory and reduce font conflicts.

Fixed

  • Support Apple M1 Homebrew install that puts canvas install library files in /opt/homebrew/lib

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 25 commits:


Depfu Status

Depfu 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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Mar 20, 2022
@github-actions github-actions bot removed the depfu label Mar 20, 2022
@depfu
Copy link
Contributor Author

depfu bot commented Jun 25, 2022

Closed in favor of #30.

@depfu depfu bot closed this Jun 25, 2022
@depfu depfu bot deleted the depfu/update/yarn/canvas-2.9.1 branch June 25, 2022 22:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants