Release 5.0.0
SemVer major release to pull changes since the last release. The main motivations for the release are:
- Drop the support for Node.js v12.x.
- Marked methods of wrapper classes
const
. - Enabled wrapping
Napi
namespace with custom namespace. - Added an override to
Napi::Function::Call
to call it with a c-style array
ofNapi::Value
's. - Improved the test framework. Added the possibility to run subsets of tests
more easily. - Added test for
Napi::AsyncContext
class. - Fixed ramdom failure on test for
Napi::ThreadSafeFunction
e
Napi::TypedThreadSafeFunction
class. - Fixed compilation problem on debian 8 system.
- Added test for
Napi::Object::Set()
method. - Added some clarifications for
Napi::ClassPropertyDescriptor
. - Added clarification about weak reference for
Napi::ObjectWrap
. - Some minor fixes all over the documentation.
- Fixed
eslint
configuration. - Fixed CI configuration for Windows.
- Enabled pre-commit
ClangFormat
on Windows.
What's Changed
- Testing CI run by @JckXia in #1132
- Add test case for Object Set using uint32 as key by @meixg in #1130
- src: do not use non-static class member for constant value by @addaleax in #1134
- Add Function::Call Napi::Value override by @rgerd in #1026
- src: enable wrapping Napi namespace with custom namespace by @addaleax in #1135
- doc: mention Napi::Env arg for Finalization callbacks by @extremeheat in #1139
- lint: set sourceType to 'script' by @addaleax in #1141
- build: run Windows CI only on nondeprecated build configurations by @RaisinTen in #1152
- doc: clarify ObjectWrap weak ref behavior by @mildsunrise in #1155
- doc: added some comments to ClassPropertyDescriptor. by @NickNaso in #1149
- Add test coverage for async contexts by @JckXia in #1164
New Contributors
- @meixg made their first contribution in #1130
- @rgerd made their first contribution in #1026
- @extremeheat made their first contribution in #1139
Full Changelog: v4.3.0...v5.0.0