Skip to content

Commit

Permalink
Drop support for Node.js 16
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Haines <haines@cerbos.dev>
  • Loading branch information
haines committed Sep 12, 2023
1 parent f7a01af commit 9bbbe4e
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 204 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"extractVersion": "^v(?<version>.*)$"
},
{
"matchPackageNames": ["@types/node", "node-fetch", "long", "protobufjs"],
"matchPackageNames": ["@types/node", "long", "protobufjs"],
"matchUpdateTypes": ["major"],
"enabled": false
},
Expand Down
146 changes: 15 additions & 131 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"devDependencies": {
"@microsoft/api-documenter": "7.22.33",
"@microsoft/api-extractor": "7.36.4",
"@tsconfig/node16": "16.1.1",
"@types/node": "16.18.46",
"@tsconfig/node18": "18.2.1",
"@types/node": "18.17.15",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"concurrently": "8.2.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [Unreleased]

No notable changes.
### Removed

- Support for Node.js 16, which is now [end-of-life](https://github.com/nodejs/release#end-of-life-releases) ([#669](https://github.com/cerbos/cerbos-sdk-javascript/pull/669))

## [0.13.0] - 2023-08-16

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Cerbos <help@cerbos.dev> (https://cerbos.dev)",
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions packages/files/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Bump dependency on [yaml](https://github.com/eemeli/yaml) to 2.3.2 ([#658](https://github.com/cerbos/cerbos-sdk-javascript/pull/658))

### Removed

- Support for Node.js 16, which is now [end-of-life](https://github.com/nodejs/release#end-of-life-releases) ([#669](https://github.com/cerbos/cerbos-sdk-javascript/pull/669))

## [0.1.1] - 2023-08-16

### Changed
Expand Down
8 changes: 1 addition & 7 deletions packages/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,14 @@ Load Cerbos policies from YAML or JSON files.

## Prerequisites

- Node.js 16+
- Node.js 18+

## Installation

```console
$ npm install @cerbos/files
```

or

```console
$ yarn add @cerbos/files
```

## Example usage

```typescript
Expand Down
2 changes: 1 addition & 1 deletion packages/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Cerbos <help@cerbos.dev> (https://cerbos.dev)",
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions packages/grpc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
- Bump dependency on [@grpc/grpc-js](https://github.com/grpc/grpc-node) to 1.9.1 ([#654](https://github.com/cerbos/cerbos-sdk-javascript/pull/654))
- Bump dependency on [protobufjs](https://github.com/protobufjs/protobuf.js) to 7.2.5 ([#651](https://github.com/cerbos/cerbos-sdk-javascript/pull/651))

### Removed

- Support for Node.js 16, which is now [end-of-life](https://github.com/nodejs/release#end-of-life-releases) ([#669](https://github.com/cerbos/cerbos-sdk-javascript/pull/669))

## [0.13.0] - 2023-08-16

### Added
Expand Down
8 changes: 1 addition & 7 deletions packages/grpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,14 @@ Client library for interacting with the Cerbos policy decision point over gRPC f
## Prerequisites

- Cerbos 0.16+
- Node.js 16+
- Node.js 18+

## Installation

```console
$ npm install @cerbos/grpc
```

or

```console
$ yarn add @cerbos/grpc
```

## Example usage

```typescript
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Cerbos <help@cerbos.dev> (https://cerbos.dev)",
"license": "Apache-2.0",
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
Loading

0 comments on commit 9bbbe4e

Please sign in to comment.