node-facenet
node-facenet copied to clipboard
Bump canvas from 2.6.1 to 2.8.0
Bumps canvas from 2.6.1 to 2.8.0.
Release notes
Sourced from canvas's releases.
v2.8.0
No release notes provided.
v2.7.0
Note: This is the first prebuild served from Automattic/node-canvas. Previous release prebuilds are served from https://github.com/node-gfx/node-canvas-prebuilt/releases.
Changelog
Sourced from canvas's changelog.
2.8.0
Changed
- Upgrade dtslint
- Upgrade node-pre-gyp to 1.0.0. Note that if you are using special node-pre-gyp features like
node_pre_gyp_accessKeyId, you may need to make changes to your installation procedure. See https://github.com/mapbox/node-pre-gyp/blob/master/CHANGELOG.md#100.- Add Node.js v16 to CI.
- The C++ class method
nBytes()now returns a size_t. (Because this is a C++ method only, this is not considered a breaking change.)- Export type NodeCanvasRenderingContext2D so you can pass the current context to functions (TypeScript).
Added
- Add support for
inverse()andinvertSelf()toDOMMatrix(#1648)- Add support for
context.getTransform()(#1769)- Add support for
context.setTransform(dommatrix)(#1769)Fixed
- Fix
actualBoundingBoxLeftandactualBoundingBoxRightreturned bymeasureTextto be the ink rect (#1776, fixes #1703).- Fix Pango logging "expect ugly output" on Windows (#1643)
- Fix benchmark for createPNGStream (#1672)
- Fix dangling reference in BackendOperationNotAvailable exception (#1740)
- Fix always-false comparison warning in Canvas.cc.
- Fix Node.js crash when throwing from an onload or onerror handler.
2.7.0
Changed
- Switch CI to Github Actions. (Adds Windows and macOS builds.)
- Switch prebuilds to GitHub actions in the Automattic/node-canvas repository. Previously these were in the node-gfx/node-canvas-prebuilt and triggered manually.
- Speed up
fillStyle=andstrokeStyle=Added
- Export
rsvgVersion.Fixed
- Fix BMP issues. (#1497)
- Update typings to support jpg and addPage on NodeCanvasRenderingContext2D (#1509)
- Fix assertion failure when using Visual Studio Code debugger to inspect Image prototype (#1534)
- Fix signed/unsigned comparison warning introduced in 2.6.0, and function cast warnings with GCC8+
- Fix to compile without JPEG support (#1593).
- Fix compile errors with cairo
- Fix Image#complete if the image failed to load.
- Upgrade node-pre-gyp to v0.15.0 to use latest version of needle to fix error when downloading prebuilds.
- Don't throw if
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.)
Commits
8707f3dv2.8.05b5140eAdd Node.js 16 to CI, remove 152bf76b5export type NodeCanvasRenderingContext2D0b49442Update changelog to reflect previous commitc166443Add ctx2d.setTransform(mat) overload2f84eeeAdd ctx2d.getTransform() functiond107c04Update changelog to reflect previous commit234e659Fix text actualBoundingBoxLeft and actualBoundingBoxRight measures by using i...e4f901cLoosen text measurement expectation.12e671dFix crash if exception thrown from onload/onerror- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually