Skip to content

Commit

Permalink
Support Node.js v14 (#654)
Browse files Browse the repository at this point in the history
This is the version which is going to turn into LTS in October 2020.
It's the current stable release. LTS is recommended for general use,
but some packages already deliver the stable version (e.g., Homebrew).

There are probably some deprecations that we need to take care of, but
otherwise we can squeese this support claim into the release window
for JsThemis 0.13 and WasmThemis 0.13.
  • Loading branch information
ilammy committed Jun 11, 2020
1 parent 6539216 commit e3e59da
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
19 changes: 16 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ jobs:
nvm install v8
nvm install v10
nvm install v12
nvm install v14
# Install Emscripten toolchain for Wasm support
# See https://emscripten.org/docs/getting_started/downloads.html
- restore_cache:
Expand Down Expand Up @@ -510,7 +511,7 @@ jobs:
# Run JsThemis tests
make test_js
- run:
name: Test with Node.js v8 (maintenance)
name: Test with Node.js v8
when: always
command: |
# Activate Node.js v8
Expand All @@ -522,7 +523,7 @@ jobs:
# Run WasmThemis tests
make BUILD_PATH=build-wasm test_wasm
- run:
name: Test with Node.js v10 (LTS)
name: Test with Node.js v10
when: always
command: |
# Activate Node.js v10
Expand All @@ -534,7 +535,7 @@ jobs:
# Run WasmThemis tests
make BUILD_PATH=build-wasm test_wasm
- run:
name: Test with Node.js v12 (stable)
name: Test with Node.js v12
when: always
command: |
# Activate Node.js v12
Expand All @@ -545,6 +546,18 @@ jobs:
make test_js
# Run WasmThemis tests
make BUILD_PATH=build-wasm test_wasm
- run:
name: Test with Node.js v14
when: always
command: |
# Activate Node.js v14
nvm use v14
echo "node --version: $(node --version)"
echo "npm --version: $(npm --version)"
# Run JsThemis tests
make test_js
# Run WasmThemis tests
make BUILD_PATH=build-wasm test_wasm
- save_cache:
key: emscripten
paths:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
strategy:
matrix:
node-version:
- 8.x # old LTS
- 10.x # current LTS
- 12.x # current stable
- 8.x # legacy
- 10.x # old LTS
- 12.x # current LTS
- 14.x # current stable
fail-fast: false
steps:
- name: Install system dependencies
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
strategy:
matrix:
node-version:
- 8.x # old LTS
- 10.x # current LTS
- 12.x # current stable
- 8.x # legacy
- 10.x # old LTS
- 12.x # current LTS
- 14.x # current stable
fail-fast: false
steps:
- name: Install system dependencies
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@ _Code:_
- `SecureCell` now allows `null` to explicitly specify omitted encryption context ([#620](https://github.com/cossacklabs/themis/pull/620)).
- `SecureMessage` now allows `null` for omitted keys in sign/verify mode ([#620](https://github.com/cossacklabs/themis/pull/620)).
- Fixed a crash when an exception is thrown from `SecureSession` callback ([#620](https://github.com/cossacklabs/themis/pull/620)).
- Node.js v14 is now supported
([#654](https://github.com/cossacklabs/themis/issues/654)).

- Passphrase API support in Secure Cell ([#621](https://github.com/cossacklabs/themis/pull/621)).

Expand Down Expand Up @@ -652,6 +654,8 @@ _Code:_
- New class `SymmetricKey` can be used to generate symmetric keys for Secure Cell ([#561](https://github.com/cossacklabs/themis/pull/561)).
- Updated embedded BoringSSL to the latest version
([#643](https://github.com/cossacklabs/themis/pull/643)).
- Node.js v14 is now supported
([#654](https://github.com/cossacklabs/themis/issues/654)).

- Passphrase API support in Secure Cell ([#616](https://github.com/cossacklabs/themis/pull/616)).

Expand Down

0 comments on commit e3e59da

Please sign in to comment.