Skip to content

Latest commit

 

History

History
189 lines (142 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

189 lines (142 loc) · 10.8 KB

Node v19.9.0\n

affected files:

Node v19.8.0\n

affected files:

Node v19.5.0\n

affected files:

Node v19.2.0\n

affected files:

Node v19.1.0\n

affected files:

Node v18.10.0

affected files:

Node v17.2.0

affected files:

upstream changelog:

Node v15.12.0

affected files:

upstream changelog:

Node v15.9.0

affected files:

upstream changelog:

  • 061939d2f6 node-api: allow retrieval of add-on file name

Node v15.0.1

affected files:

upstream changelog:

  • 19f14517c7 n-api: support for object freeze/seal
  • ff38165820 src: allow N-API addon in AddLinkedBinding()
  • 31b3202d59 n-api: create N-API version 7
  • c9506a8f3e n-api: add more property defaults
  • 0848f56cb3 n-api: re-implement async env cleanup hooks
  • 22cbbcf9d9 n-api,src: provide asynchronous cleanup hooks
  • cc7ec889e8 n-api: support type-tagging objects
  • b327d335ff n-api: add version to wasm registration
  • b4ede54a7d napi: add wasm32 guards
  • b18d8dde84 Revert "n-api: detect deadlocks in thread-safe function"
  • d26ca06c16 n-api: detect deadlocks in thread-safe function
  • d3d5eca657 Revert "n-api: detect deadlocks in thread-safe function"
  • aeb7084fe6 n-api: detect deadlocks in thread-safe function

Node v14.14.0

affected files:

upstream changelog:

  • c995242068 n-api: support for object freeze/seal

Node v14.13.0

affected files:

upstream changelog:

  • 0d8eaa3942 src: allow N-API addon in AddLinkedBinding()

v0.8.0 N-API version 7

Node.js v 14.12.0 introduced N-API version 7. So N-API version 7 is the default, but v6 (and v5) may be selected via feature-flag.

Node v14.12.0

affected files:

upstream changelog:

v0.7.0 key_filter and property_attributes are now bitfields

These enums are supposed to be combined using |, but the "rustified" enum configuration doesn't allow it. Bindgen has a bitfield enum style which does allow |-ing values.

N-API currently includes two enums used as bitfields: napi_key_filter and napi_property_attributes.

Node v14.11.0

affected files:

upstream changelog:

  • 3c32fe09e9 n-api: re-implement async env cleanup hooks

v0.6.0 breaking change — size_t is now usize

bindgen switched the default output for parameters with the size_t C type to u32/u64 depending on the target platform. Per rust-lang/rust-bindgen#1671, the old behaviour where size_t would just output usize is not technically correct, because the C standard has a slightly different definition for size_t.

It should be correct for all platforms that Node.js supports though. bindgen added a toggle to opt back in to the old behaviour. Since bindgen had been doing this for years without issue, I think we're safe.

Node v14.8.0

affected files:

upstream changelog:

  • 8630f34776 n-api,src: provide asynchronous cleanup hooks
  • 8cc9e5eb52 n-api: support type-tagging objects

Node v14.5.0

affected files:

upstream changelog:

  • ac41bf03fa n-api: add version to wasm registration
  • 9148e01e76 napi: add wasm32 guards
  • f4cfe94d90 Revert "n-api: detect deadlocks in thread-safe function"

Node v14.1.0

affected files:

upstream changelog:

  • 861eb39307 n-api: detect deadlocks in thread-safe function