Skip to content

v2.0.0-rc.0

Pre-release
Pre-release

Choose a tag to compare

@mmomtchev mmomtchev released this 28 Feb 17:33
· 97 commits to main since this release
  • TypeScript support
  • Object store (fixes #1)
  • Implement synchronous garbage-collection through basic finalizers - this pushes the minimum supported node-addon-api to 8.3.0 and it requires Node.js 18.20, 20.12, 21.6 or 22+ - check for NODE_API_EXPERIMENTAL_HAS_POST_FINALIZER macro to ensure that the feature is enabled
  • Automatic support for C++ iterators via built-in helpers
  • New Nobind::ReturnCopy return attribute allows to always copy the returned object
  • Fix #30, m.ext<T>(...) accepts only functions with T & as first parameter
  • Fix #34, getters of members of class type return dangling references