Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjornson committed Oct 4, 2023
1 parent 9b9be4f commit a5b379b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,22 @@ project adheres to [Semantic Versioning](http://semver.org/).
(Unreleased)
==================
### Changed
### Added
### Fixed

3.0.0
==================

This release notably changes to using N-API. 🎉

### Changed
* Migrated to N-API (by way of node-addon-api) and removed libuv and v8 dependencies
* Defer the initialization of the `op` variable to the `default` switch case to avoid a compiler warning. (#2229)
* Use a `default` switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229)
* Migrate from librsvg's deprecated `rsvg_handle_get_dimensions()` and `rsvg_handle_render_cairo()` functions to the new `rsvg_handle_get_intrinsic_size_in_pixels()` and `rsvg_handle_render_document()` respectively. (#2229)
* Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#2229)
* Remove unused private field `backend` in the `Backend` class. (#2229)
* Add Node.js v20 to CI. (#2237)
* Migrated to N-API (by way of node-addon-api) and removed libuv and v8 dependencies
### Added
* Added string tags to support class detection
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "canvas",
"description": "Canvas graphics API backed by Cairo",
"version": "2.11.2",
"version": "3.0.0",
"author": "TJ Holowaychuk <[email protected]>",
"main": "index.js",
"browser": "browser.js",
Expand Down

3 comments on commit a5b379b

@ljharb
Copy link

@ljharb ljharb commented on a5b379b Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version doesn’t seem published.

@zbjornson
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ljharb It's not, see #2232 (comment) for more info.

@ljharb
Copy link

@ljharb ljharb commented on a5b379b Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha; jsdom 23 unfortunately specifies v3 as a peer dep which means it can't be installed in a practical sense.

Please sign in to comment.