v2.0.0-rc.2
Pre-release
Pre-release
- TypeScript support
- Object store (fixes #1)
- Automatic async locking
- Implement synchronous garbage-collection through basic finalizers - this pushes the minimum supported
node-addon-apito 8.3.0 and it requires Node.js 18.20, 20.12, 21.6 or 22+ - check forNODE_API_EXPERIMENTAL_HAS_POST_FINALIZERmacro to ensure that the feature is enabled - Initial interaction with the garbage collector statistics - currently only for objects that do not grow once created (objects are reported to the GC with their initial size)
- Automatic support for C++ iterators via built-in helpers
- Shortcuts for defining both a sync and an async version methods in one call
- New
Nobind::ReturnCopyreturn attribute allows to always copy the returned object - Fix #30,
m.ext<T>(...)accepts only functions withT &as first parameter - Fix #34, getters of members of class type return dangling references