Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Bump node-addon-api from 4.3.0 to 5.0.0 - #460

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/node-addon-api-5.0.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/node-addon-api-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 2, 2022

Copy link
Copy Markdown
Contributor

Bumps node-addon-api from 4.3.0 to 5.0.0.

Release notes

Sourced from node-addon-api's releases.

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 of Napi::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

New Contributors

Full Changelog: nodejs/node-addon-api@v4.3.0...v5.0.0

Changelog

Sourced from node-addon-api's changelog.

2022-05-02 Version 5.0.0, @​NickNaso

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)

... (truncated)

Commits
  • e469ee6 Prepare release v5.0.0.
  • f32db91 Add test coverage for async contexts (#1164)
  • 24455f8 src: check for tsfn in conditional_variable wait
  • 40ed7ce src: fix regression introduced by #874
  • 9bea434 doc: added some comments to ClassPropertyDescriptor. (#1149)
  • 57c212e buld:Enable running pre-commit ClangFormat on Win
  • 8c46a95 doc: clarify ObjectWrap weak ref behavior (#1155)
  • 0127496 build: run Windows CI only on nondeprecated build configurations (#1152)
  • b8449e1 src: mark methods of wrapper classes const
  • 5e2c1f2 lint: set sourceType to 'script' (#1141)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [node-addon-api](https://github.com/nodejs/node-addon-api) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/nodejs/node-addon-api/releases)
- [Changelog](https://github.com/nodejs/node-addon-api/blob/main/CHANGELOG.md)
- [Commits](nodejs/node-addon-api@v4.3.0...v5.0.0)

---
updated-dependencies:
- dependency-name: node-addon-api
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 2, 2022

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants