Skip to content

v5.0.0: Support Node.js worker threads

Latest
Compare
Choose a tag to compare
@vrza vrza released this 25 Feb 09:18
· 6 commits to master since this release

Supported Node.js versions: 12, 14, 16, 18, 20.
Node.js 8 and 10 are not tested anymore but should work.

Changes

  • Added support for running this add-on in Node.js worker threads.
  • Major version bumped to v5.0.0: worker threads are available in Node.js 12 and later, so Node.js 8 and 10 were dropped from CI to simplify the testing workflow -- they have reached their upstream support end-of-life, as well, in Dec 2019 and Apr 2021, respectively. v5.0.0 still works fine wtih Node.js 8 and 10, with the caveat that tests using worker threads will fail.
  • Minor code improvements.
  • Updated dependencies to latest versions.