Skip to content

Commit ba59018

Browse files
authored
Add node 14 support (#50)
* Add support for node 14 Node 10 is still supported, but subject to being dropped once it leaves maintenence mode * Bump running to 14 outside the matrix * Bump version * Fix typo, bump rust a bit?
1 parent 75780f2 commit ba59018

File tree

4 files changed

+52
-13
lines changed

4 files changed

+52
-13
lines changed

.travis.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: rust
22
rust:
3-
- 1.41.0
3+
- 1.48.0
44

55
services:
66
- docker
@@ -77,12 +77,42 @@ jobs:
7777
- rustup target add x86_64-pc-windows-msvc
7878
- source .travis_scripts/maybe-install-node.sh
7979
if: tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
80+
- name: "Linux - Node 14 - glibc"
81+
os: linux
82+
env:
83+
- TRAVIS_NODE_VERSION="14"
84+
- SKIP_DEPLOY=0
85+
if: tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
86+
- name: "Linux - Node 14 - musl"
87+
os: linux
88+
env:
89+
- SKIP_DEPLOY=0
90+
- IMAGE=14-alpine
91+
- INDOCKER="docker exec target"
92+
if: tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
93+
- name: "OSX - Node 14"
94+
os: osx
95+
env:
96+
- TRAVIS_NODE_VERSION="14"
97+
- SKIP_DEPLOY=0
98+
if: tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
99+
- name: "Windows - Node 14"
100+
os: windows
101+
env:
102+
# Stop Windows builds from hanging after completion https://travis-ci.community/t/timeout-after-build-finished-and-succeeded/1336
103+
- YARN_GPG=no
104+
- TRAVIS_NODE_VERSION="14"
105+
- SKIP_DEPLOY=0
106+
install:
107+
- rustup target add x86_64-pc-windows-msvc
108+
- source .travis_scripts/maybe-install-node.sh
109+
if: tag =~ /^\d+\.\d+\.\d+/ OR branch = main OR type = pull_request
80110
# Publish to npm only on release tag
81111
- stage: publish
82112
name: "Publish to npm"
83113
os: linux
84114
env:
85-
- TRAVIS_NODE_VERSION="10"
115+
- TRAVIS_NODE_VERSION="14"
86116
- SKIP_DEPLOY=1
87117

88118
# NPM_TOKEN

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1+
## 0.7.3
2+
3+
### Breaking Changes
4+
5+
None
6+
7+
### Changed
8+
9+
- Added support for Node 14.
10+
111
## 0.7.2
212

313
### Changed
414

5-
- Updated all JS and Rust library dependencies
15+
- Updated all JS and Rust library dependencies
616

717
## 0.7.1
818

919
### Changed
1020

11-
- Added support for Node 10/12 on Windows
21+
- Added support for Node 10/12 on Windows
1222

1323
## 0.7.0
1424

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ This library uses the [Neon Bindings](https://www.neon-bindings.com) toolchain t
99

1010
## Supported Platforms
1111

12-
| | Node 10 | Node 12 |
13-
| --------------------- | ------- | ------- |
14-
| Linux x64 - glibc |||
15-
| Linux x64 - musl-libc |||
16-
| OSX x64 |||
17-
| Windows x64 |||
18-
| Windows x64 |||
12+
| | Node 10 | Node 12 | Node 14 |
13+
| --------------------- | ------- | ------- | ------- |
14+
| Linux x64 - glibc ||||
15+
| Linux x64 - musl-libc ||||
16+
| OSX x64 ||||
17+
| Windows x64 ||||
1918

2019
## Install
2120

@@ -108,7 +107,7 @@ npm run compile
108107
or
109108

110109
```
111-
yarn run compile
110+
yarn compile
112111
```
113112

114113
This will produce an `index.node` file within the `native` directory. This file can then be included within a NodeJS file by simply requiring the file, e.g.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ironcorelabs/recrypt-node-binding",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "Bindings to allow the recrypt-rs library to work via NodeJS.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)