Release 5.1.0
SemVer minor release to pull changes since the last release. The main motivations for the release are:
- Fix memory leak in
Napi::AsyncProgressWorkerBase
. - Add api to get callback_info from
Napi::CallBackInfo
. - Fix erros and warning in VS 2017.
- Make
Napi::Env::CleanupHook
public. - Remove
Napi::TypedArray::unknown_array_type
. - Add tests related to
Napi::Env
. - Add tests related to
Napi::TypedArray
. - Add tests related to
Napi::AsyncWorker
. - Add tests related to
Napi::TypedThreadSafeFunction
. - Add tests related to
Napi::Value
. - Add test related to
Napi::Promise
. - Add
Napi::HandleScope
example. - Add documentation about how to run a specific unit test.
- Add Windows with VS 2022 and Node.JS 19.x to the CI matrix.
- Fix stale workflow.
- Update Node.js versions on CI component.
- Add condition for Windows to find eslint.
What's Changed
- Add condition for window to find eslint by @JckXia in #1176
- doc: fix broken
Napi::ThreadSafeFunction
link by @F3n67u in #1172 - test: Add promise unit test by @egg-bread in #1173
- Fix link to CMake.js documentation by @nullromo in #1180
- doc: fix typo in async_operations.md by @tniessen in #1189
- Update README.md by @Chinedug in #1187
- test: CallbackInfo NewTarget unit test by @petersandor in #1177
- Update Readme for filter conditions in unit tests by @deepakrkris in #1199
- Update CONTRIBUTING.md by @Chinedug in #1185
- Update CI component versions by @vmoroz in #1200
- test: Add test coverage for "TSFN::Ref()" by @JckXia in #1196
- test: remove update to process.config by @mhdawson in #1208
- doc: add HandleScope example by @KevinEady in #1210
- test: Add test case for canceling async worker tasks by @JckXia in #1202
- test: Add test cased for failed task cancellations by @JckXia in #1214
- chore: fix stale workflow by @richardlau in #1228
- test: Add test coverage to TSFN::New() overloads by @JckXia in #1201
- src: refactor call js wrapper by @JckXia in #1242
- chore: add Windows with VS 2022 and Node.JS 19.x to the CI matrix by @vmoroz in #1252
- Update contributors by @KevinEady in #1265
New Contributors
- @F3n67u made their first contribution in #1172
- @egg-bread made their first contribution in #1173
- @nullromo made their first contribution in #1180
- @Chinedug made their first contribution in #1187
- @petersandor made their first contribution in #1177
- @deepakrkris made their first contribution in #1199
- @vmoroz made their first contribution in #1200
- @richardlau made their first contribution in #1228
Full Changelog: v5.0.0...v5.1.0