Skip to content

Commit

Permalink
Merge pull request #1760 from murgatroid99/native_node_16_support
Browse files Browse the repository at this point in the history
Native: build Node 16 binaries
  • Loading branch information
murgatroid99 committed Apr 30, 2021
2 parents 1fb9a3f + 8b9185b commit 64e699c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: All Simple Native Builds
strategy:
matrix:
node: ['4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14']
node: ['4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '16']
arch: [ia32, x64]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14']
node: ['4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '16']
env:
ARCH: x64
VERSION: ${{matrix.node}}.0.0
Expand All @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14']
node: ['4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '16']
arch: [arm, arm64, s390x]
env:
ARCH: ${{matrix.arch}}
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-native-core/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![npm](https://img.shields.io/npm/v/grpc.svg)](https://www.npmjs.com/package/grpc)
# Node.js gRPC Library

**This library is now only receiving bug fixes and runtime compatibility updates. In April 2021 it will be deprecated and will no longer receive any updates. We recommend using [`@grpc/grpc-js`](https://www.npmjs.com/package/@grpc/grpc-js) instead.**
**As of April 2021 this library is deprecated and will no longer receive any updates. We recommend using [`@grpc/grpc-js`](https://www.npmjs.com/package/@grpc/grpc-js) instead.**

## PREREQUISITES
- `node`: This requires `node` to be installed, version `4.0` or above. If you instead have the `nodejs` executable on Debian, you should install the [`nodejs-legacy`](https://packages.debian.org/sid/nodejs-legacy) package.
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-native-core/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
'GPR_BACKWARDS_COMPATIBILITY_MODE',
'GRPC_ARES=1',
'GRPC_UV',
'GRPC_NODE_VERSION="1.24.7"',
'GRPC_NODE_VERSION="1.24.8"',
'CARES_STATICLIB',
'CARES_SYMBOL_HIDING'
],
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-native-core/build.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
settings:
'#': It's possible to have node_version here as a key to override the core's version.
node_version: 1.24.7
node_version: 1.24.8
4 changes: 2 additions & 2 deletions packages/grpc-native-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grpc",
"version": "1.24.7",
"version": "1.24.8",
"author": "Google Inc.",
"description": "gRPC Library for Node",
"homepage": "https://grpc.io/",
Expand All @@ -26,11 +26,11 @@
"prepack": "git submodule update --init --recursive && npm install"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.4",
"@types/bytebuffer": "^5.0.40",
"lodash.camelcase": "^4.3.0",
"lodash.clone": "^4.5.0",
"nan": "^2.13.2",
"node-pre-gyp": "^0.16.0",
"protobufjs": "^5.0.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-native-core/templates/package.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"prepack": "git submodule update --init --recursive && npm install"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.4",
"@types/bytebuffer": "^5.0.40",
"lodash.camelcase": "^4.3.0",
"lodash.clone": "^4.5.0",
"nan": "^2.13.2",
"node-pre-gyp": "^0.16.0",
"protobufjs": "^5.0.3"
},
"devDependencies": {
Expand Down

0 comments on commit 64e699c

Please sign in to comment.