Automattic/node-canvas
### [`v2.10.2`](https://togithub.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#2102)
[Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.10.1...v2.10.2)
\==================
##### Fixed
- Fix `Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.` ([#2025](https://togithub.com/Automattic/node-canvas/issues/2025))
- `textBaseline` and `textAlign` were not saved/restored by `save()`/`restore()`. ([#1936](https://togithub.com/Automattic/node-canvas/issues/2029))
- 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`](https://togithub.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#2101)
[Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.10.0...v2.10.1)
\==================
##### Fixed
- Fix `actualBoundingBoxLeft` and `actualBoundingBoxRight` when `textAlign='center'` or `'right'` ([#1909](https://togithub.com/Automattic/node-canvas/issues/1909))
- Fix `rgba(r,g,b,0)` with alpha to 0 should parse as transparent, not opaque. ([#2110](https://togithub.com/Automattic/node-canvas/pull/2110))
### [`v2.10.0`](https://togithub.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#2100)
[Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.9.3...v2.10.0)
\==================
##### Added
- Export `pangoVersion`
- [`ctx.roundRect()`](https://developer.chrome.com/blog/canvas2d/#round-rect)
##### Fixed
- `rgba(r,g,b)` with no alpha should parse as opaque, not transparent. ([#2029](https://togithub.com/Automattic/node-canvas/issues/2029))
- Typo in `PngConfig.filters` types. ([#2072](https://togithub.com/Automattic/node-canvas/issues/2072))
- `createPattern()` always used "repeat" mode; now supports "repeat-x" and "repeat-y". ([#2066](https://togithub.com/Automattic/node-canvas/issues/2066))
- Crashes and hangs when using non-finite values in `context.arc()`. ([#2055](https://togithub.com/Automattic/node-canvas/issues/2055))
- Incorrect `context.arc()` geometry logic for full ellipses. ([#1808](https://togithub.com/Automattic/node-canvas/issues/1808), ([#1736](https://togithub.com/Automattic/node-canvas/issues/1736)))
- Added missing `deregisterAllFonts` to the Typescript declaration file ([#2096](https://togithub.com/Automattic/node-canvas/pull/2096))
- Add `User-Agent` header when requesting remote images ([#2099](https://togithub.com/Automattic/node-canvas/issues/2099))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.9.3
->2.10.2
Release Notes
Automattic/node-canvas
### [`v2.10.2`](https://togithub.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#2102) [Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.10.1...v2.10.2) \================== ##### Fixed - Fix `Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.` ([#2025](https://togithub.com/Automattic/node-canvas/issues/2025)) - `textBaseline` and `textAlign` were not saved/restored by `save()`/`restore()`. ([#1936](https://togithub.com/Automattic/node-canvas/issues/2029)) - 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`](https://togithub.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#2101) [Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.10.0...v2.10.1) \================== ##### Fixed - Fix `actualBoundingBoxLeft` and `actualBoundingBoxRight` when `textAlign='center'` or `'right'` ([#1909](https://togithub.com/Automattic/node-canvas/issues/1909)) - Fix `rgba(r,g,b,0)` with alpha to 0 should parse as transparent, not opaque. ([#2110](https://togithub.com/Automattic/node-canvas/pull/2110)) ### [`v2.10.0`](https://togithub.com/Automattic/node-canvas/blob/HEAD/CHANGELOG.md#2100) [Compare Source](https://togithub.com/Automattic/node-canvas/compare/v2.9.3...v2.10.0) \================== ##### Added - Export `pangoVersion` - [`ctx.roundRect()`](https://developer.chrome.com/blog/canvas2d/#round-rect) ##### Fixed - `rgba(r,g,b)` with no alpha should parse as opaque, not transparent. ([#2029](https://togithub.com/Automattic/node-canvas/issues/2029)) - Typo in `PngConfig.filters` types. ([#2072](https://togithub.com/Automattic/node-canvas/issues/2072)) - `createPattern()` always used "repeat" mode; now supports "repeat-x" and "repeat-y". ([#2066](https://togithub.com/Automattic/node-canvas/issues/2066)) - Crashes and hangs when using non-finite values in `context.arc()`. ([#2055](https://togithub.com/Automattic/node-canvas/issues/2055)) - Incorrect `context.arc()` geometry logic for full ellipses. ([#1808](https://togithub.com/Automattic/node-canvas/issues/1808), ([#1736](https://togithub.com/Automattic/node-canvas/issues/1736))) - Added missing `deregisterAllFonts` to the Typescript declaration file ([#2096](https://togithub.com/Automattic/node-canvas/pull/2096)) - Add `User-Agent` header when requesting remote images ([#2099](https://togithub.com/Automattic/node-canvas/issues/2099))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Mend Renovate. View repository job log here.