Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Dec 13:57
· 6 commits to fork-release since this release
8970e6b

This release notably changes to using N-API. 🎉

Breaking

  • Dropped support for Node.js 16.x and below.

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. (Automattic#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. (Automattic#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. (Automattic#2229)
  • Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (Automattic#2229)
  • Remove unused private field backend in the Backend class. (Automattic#2229)
  • Add Node.js v20 to CI. (Automattic#2237)
  • Replaced dtslint with tsd (Automattic#2313)

Added

  • Added string tags to support class detection

Fixed