Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency node-addon-api to v7 #1706

Merged
merged 1 commit into from Dec 29, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
node-addon-api ^4.2.0 -> ^7.0.0 age adoption passing confidence

Release Notes

nodejs/node-addon-api (node-addon-api)

v7.0.0

Compare Source

Notable changes
API
  • Drop support for Node.js v14.x and v19.x.
  • Ensure native receiver exists when calling instance methods and properties.
  • Fix issue when creating Napi::Error instances that wrap primitives values.
TEST
  • Added tests for Napi::AsyncProgressQueueWorker<T> class.
  • Added tests for Napi::AsyncProgressWorker<T> class.
Documentation
  • Added documentation for Napi::Value::IsBigInt().
Commits

v6.1.0

Compare Source

Notable changes
API
  • Enforce type checks on Napi::Value::As().
  • Added Napi::TypeTaggable class.
  • Defined NAPI_HAS_THREADS to make TSFN available on Emscripten.
  • Defined NODE_API_NO_EXTERNAL_BUFFERS_ALLOWED and
    Napi::Buffer::NewOrCopy() to handle the support for external buffers.
TEST
  • Added tests for Napi::Reference<T> class.
  • Added tests for copy/move semantics.
  • Added tests for Napi::RangeError and Napi::TypeError class.
  • Fixed inconsistent failure executing test suite.
  • Added tests for Napi::ObjectReference<T> class.
  • Added tests for Napi::ObjectWrap<T> class.
Documentation
  • Added documentation for Napi::TypeTaggable.
  • Some minor fixes all over the documentation.
Commits

v6.0.0

Compare Source

Notable changes
API
  • Added Napi::Object::TypeTag() and Napi::Object::CheckTypeTag() methods.
  • Made operator napi_callback_info explicit.
TEST
  • Some minor fixes all over the test suite.
  • Added tests related to Napi::Object::TypeTag() and Napi::Object::CheckTypeTag() methods.
  • Added tests related to Napi::CallbackScope.
  • Added tests related to Napi::EscapableHandleScope.
  • Added tests related to Napi::Maybe<T>.
  • Added tests related to Napi::ThreadSafeFuntion.
  • Changed some tests related to Napi::AsyncWorker.
Documentation
  • Added documentation for Napi::Object::TypeTag() and Napi::Object::CheckTypeTag() methods.
  • Added documentation about how to run a specific unit test.
TOOL
  • Added x86 architecture to the CI matrix.
Commits

v5.1.0

Compare Source

Notable changes
API
  • Fixed memory leak in Napi::AsyncProgressWorkerBase.
  • Added api to get callback_info from Napi::CallBackInfo.
  • Fixed erros and warning in VS 2017.
  • Made Npi::Env::CleanupHook public.
  • Removed Napi::TypedArray::unknown_array_type.
TEST
  • Some minor fixes all over the test suite.
  • Added tests related to Napi::Env.
  • Added tests related to Napi::TypedArray.
  • Added tests related to Napi::AsyncWorker.
  • Added tests related to Napi::TypedThreadSafeFunction.
  • Added tests related to Napi::Value.
  • Added test related to Napi::Promise.
Documentation
  • Some minor fixes all over the documentation.
  • Added Napi::HandleScope example.
  • Added documentation about how to run a specific unit test.
TOOL
  • Added Windows with VS 2022 and Node.JS 19.x to the CI matrix.
  • Fixed stale workflow.
  • Updated Node.js versions on CI component.
  • Added condition for Window to find eslint.
Commits

v5.0.0

Compare Source

Notable changes:
API
  • 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
    of Napi::Value's.
  • Some other minor fixes.
TEST
  • 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.
Documentation
  • Added some clarifications for Napi::ClassPropertyDescriptor.
  • Added clarification about weak reference for Napi::ObjectWrap.
  • Some minor fixes all over the documentation.
TOOL
  • Fixed eslint configuration.
  • Fixed CI configuration for Windows.
  • Enabled pre-commit ClangFormat on Windows.
Commits
  • [f32db917f3] - Add test coverage for async contexts (#​1164) (Jack)
  • [24455f88af] - src: check for tsfn in conditional_variable wait (Kevin Eady) #​1168
  • [40ed7ce409] - src: fix regression introduced by #​874 (Michael Dawson)
  • [9bea434326] - doc: added some comments to ClassPropertyDescriptor. (#​1149) (Nicola Del Gobbo)
  • [57c212e15f] - buld: Enable running pre-commit ClangFormat on Win (Vladimir Morozov)
  • [8c46a9501a] - doc: clarify ObjectWrap weak ref behavior (#​1155) (Alba Mendez)
  • [01274966d5] - build: run Windows CI only on nondeprecated build configurations (#​1152) (Darshan Sen)
  • [b8449e17e0] - src: mark methods of wrapper classes const (Nikolai Vavilov) #​874
  • [5e2c1f24f8] - lint: set sourceType to 'script' (#​1141) (Anna Henningsen)
  • [da8af20152] - doc: mention Napi::Env arg for Finalization callback (#​1139) (extremeheat)
  • [5b51864a39] - src: enable wrapping Napi namespace with custom namespace (#​1135) (Anna Henningsen)
  • [c54aeef5fd] - Add Function::Call Napi::Value override (#​1026) (rgerd)
  • [e906b5a7ce] - test: fix compilation problem on debian 8 (NickNaso) #​1138
  • [5790c55784] - src: do not use non-static class member for constant value (#​1134) (Anna Henningsen)
  • [b7659db945] - Merge pull request #​1130 from meixg/main (Jack)
  • [a840d51d21] - Add test case for Object Set using uint32 as key (meixg)
  • [2c88a7ec4c] - Merge pull request #​1132 from JckXia/test-wfl-run (Jack)
  • [d3a5ed3869] - Revert "window CI to running on 2019" (JckXia)
  • [cee899ade5] - src: allow customization of ObjectWrap behavior (Aaron Meriwether) #​1125
  • [91879b4082] - remove window-latest to debug (JckXia)
  • [1593ef46ee] - Testing CI run (JckXia)
  • [744c8d2410] - test: enhance the test framework (Deepak Rajamohan)

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/node-addon-api-7.x branch 2 times, most recently from 020f560 to 1da3788 Compare December 24, 2023 09:06
@renovate renovate bot force-pushed the renovate/node-addon-api-7.x branch from 1da3788 to b604a05 Compare December 29, 2023 08:17
@daniellockyer daniellockyer merged commit f792f69 into master Dec 29, 2023
6 checks passed
@daniellockyer daniellockyer deleted the renovate/node-addon-api-7.x branch December 29, 2023 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant