Automattic/node-canvas
### [`v2.8.0`](https://togithub.com/Automattic/node-canvas/blob/master/CHANGELOG.md#280)
[Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.7.0...v2.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()` and `invertSelf()` to `DOMMatrix` ([#1648](https://togithub.com/Automattic/node-canvas/issues/1648))
- Add support for `context.getTransform()` ([#1769](https://togithub.com/Automattic/node-canvas/pull/1769))
- Add support for `context.setTransform(dommatrix)` ([#1769](https://togithub.com/Automattic/node-canvas/pull/1769))
##### Fixed
- Fix `actualBoundingBoxLeft` and `actualBoundingBoxRight` returned by `measureText` to be the ink rect ([#1776](https://togithub.com/Automattic/node-canvas/pull/1776), fixes [#1703](https://togithub.com/Automattic/node-canvas/issues/1703)).
- Fix Pango logging "expect ugly output" on Windows ([#1643](https://togithub.com/Automattic/node-canvas/issues/1643))
- Fix benchmark for createPNGStream ([#1672](https://togithub.com/Automattic/node-canvas/issues/1672))
- Fix dangling reference in BackendOperationNotAvailable exception ([#1740](https://togithub.com/Automattic/node-canvas/issues/1740))
- Fix always-false comparison warning in Canvas.cc.
- Fix Node.js crash when throwing from an onload or onerror handler.
### [`v2.7.0`](https://togithub.com/Automattic/node-canvas/blob/master/CHANGELOG.md#270)
[Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.6.1...v2.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](https://togithub.com/node-gfx/node-canvas-prebuilt)
and triggered manually.
- Speed up `fillStyle=` and `strokeStyle=`
##### Added
- Export `rsvgVersion`.
##### Fixed
- Fix BMP issues. ([#1497](https://togithub.com/Automattic/node-canvas/issues/1497))
- Update typings to support jpg and addPage on NodeCanvasRenderingContext2D ([#1509](https://togithub.com/Automattic/node-canvas/issues/1509))
- Fix assertion failure when using Visual Studio Code debugger to inspect Image prototype ([#1534](https://togithub.com/Automattic/node-canvas/issues/1534))
- Fix signed/unsigned comparison warning introduced in 2.6.0, and function cast warnings with GCC8+
- Fix to compile without JPEG support ([#1593](https://togithub.com/Automattic/node-canvas/issues/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 `fillStyle` or `strokeStyle` is 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.)
Configuration
š Schedule: "before 3am on the first day of the month" (UTC).
š¦ Automerge: Enabled.
ā»ļø 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.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
^2.6.1
->^2.8.0
Release Notes
Automattic/node-canvas
### [`v2.8.0`](https://togithub.com/Automattic/node-canvas/blob/master/CHANGELOG.md#280) [Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.7.0...v2.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()` and `invertSelf()` to `DOMMatrix` ([#1648](https://togithub.com/Automattic/node-canvas/issues/1648)) - Add support for `context.getTransform()` ([#1769](https://togithub.com/Automattic/node-canvas/pull/1769)) - Add support for `context.setTransform(dommatrix)` ([#1769](https://togithub.com/Automattic/node-canvas/pull/1769)) ##### Fixed - Fix `actualBoundingBoxLeft` and `actualBoundingBoxRight` returned by `measureText` to be the ink rect ([#1776](https://togithub.com/Automattic/node-canvas/pull/1776), fixes [#1703](https://togithub.com/Automattic/node-canvas/issues/1703)). - Fix Pango logging "expect ugly output" on Windows ([#1643](https://togithub.com/Automattic/node-canvas/issues/1643)) - Fix benchmark for createPNGStream ([#1672](https://togithub.com/Automattic/node-canvas/issues/1672)) - Fix dangling reference in BackendOperationNotAvailable exception ([#1740](https://togithub.com/Automattic/node-canvas/issues/1740)) - Fix always-false comparison warning in Canvas.cc. - Fix Node.js crash when throwing from an onload or onerror handler. ### [`v2.7.0`](https://togithub.com/Automattic/node-canvas/blob/master/CHANGELOG.md#270) [Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.6.1...v2.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](https://togithub.com/node-gfx/node-canvas-prebuilt) and triggered manually. - Speed up `fillStyle=` and `strokeStyle=` ##### Added - Export `rsvgVersion`. ##### Fixed - Fix BMP issues. ([#1497](https://togithub.com/Automattic/node-canvas/issues/1497)) - Update typings to support jpg and addPage on NodeCanvasRenderingContext2D ([#1509](https://togithub.com/Automattic/node-canvas/issues/1509)) - Fix assertion failure when using Visual Studio Code debugger to inspect Image prototype ([#1534](https://togithub.com/Automattic/node-canvas/issues/1534)) - Fix signed/unsigned comparison warning introduced in 2.6.0, and function cast warnings with GCC8+ - Fix to compile without JPEG support ([#1593](https://togithub.com/Automattic/node-canvas/issues/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 `fillStyle` or `strokeStyle` is 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.)Configuration
š Schedule: "before 3am on the first day of the month" (UTC).
š¦ Automerge: Enabled.
ā»ļø 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 has been generated by WhiteSource Renovate. View repository job log here.