From a5b379bbc241d2731c2a4f8d4410f71f123dd1ee Mon Sep 17 00:00:00 2001 From: Zach Bjornson Date: Wed, 4 Oct 2023 10:55:18 -0700 Subject: [PATCH] v3.0.0 --- CHANGELOG.md | 11 ++++++++++- package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97b2c2661..420079d7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index a240125ff..828d377b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "canvas", "description": "Canvas graphics API backed by Cairo", - "version": "2.11.2", + "version": "3.0.0", "author": "TJ Holowaychuk ", "main": "index.js", "browser": "browser.js",