Releases: vrza/node-blake2
v5.0.0: Support Node.js worker threads
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.
v4.1.1: Include neon sources in npm package
Supported node versions: 8, 10, 12, 14, 16, 17
Changes
- Hotfix for v4.1.0, that was published to npm registry without
neon/
sources.
v4.1.0: Architecture-specific builds
Supported node versions: 8, 10, 12, 14, 16, 17
Changes
- Architecture-specific builds (added support for non-x86_64, non-x86 platforms)
- "sse" variant built on x86_64 and x86 platforms (as in previous versions of node-blake2)
- "neon" variant built on arm64 platforms (added support for building the implementation that uses NEON/ASIMD ARM instruction set on Apple M1 and other aarch64 platforms)
- "ref" variant built on all other platforms (generic implementation, simple and portable)
- Upgrade nan to 2.15.0 (latest)
- Migrated CI from Travis to GitHub Actions
v4.0.2: Explicit support for node 15
Supported node versions: 8, 10, 12, 14, 15
Changes
- Add node 15 environment to CI configuration
- Upgrade nan to 2.14.2 (latest)
- Upgrade mocha to 7.2.0 (latest version that supports node 8)
v4.0.1: Explicit support for node 14
Supported node versions: 8, 10, 12, 14
Changes
- Explicit support for node 14 (CI setup, no code changes)
- Upgrade nan to 2.14.1 (latest)
- Upgrade mocha to 7.1.2 (latest)
- Upgrade eslint to 6.7.2 (latest version that supports node 8)
v4.0.0: fix incorrect BLAKE2bp wrapper implementation
Note on breaking change
In BLAKE2bp initalization, instead of passing digestLength as specified by the consumer, constant BLAKE2B_OUTBYTES = 64 was always passed, and then first digestLength bytes were taken from the resulting 64-bit digest.
@jbowes added support for specifying digest length in this commit:
4d73876#diff-672b939c4bdf28c42fc7ba5da56105dbR108
but forgot to update init for BLAKE2bp, and rigged the unit test to expect the incorrect output value.
This fix warrants a major version bump (v4.0.0), as it breaks backwards compatibility with blake2bp digests shorter than 64 bytes that were created with previous versions of node-blake2. I.e. all BLAKE2bp digests shorter than 64 bytes created with older versions of this package are computed incorrectly.
Other variants (BLAKE2s, BLAKE2sp, BLAKE2b) are not affected.
Changes
- Fix incorrect BLAKE2bp wrapper implementation
- Update BLAKE2 source to BLAKE2/BLAKE2@997fa5b
- Test build on Windows and update build instructions
v3.0.1
v3.0.0: support node 12
Changes
-
Add support for node 12
-
Drop support for node 6 and 7
-
Bump minimum node engine requirement to 8.0
-
Drop ubuntu-toolchain-r-test PPA repo and g++-4.8 from CI
-
Upgrade eslint to 6.3.0
v2.0.2: support node 10
Changes
- Upgrade nan dependency to 2.14.0, to support linking against node 10