Skip to content

Commit

Permalink
chore: Drop support for Node.js 16 (#669)
Browse files Browse the repository at this point in the history
* Bump node from 20.5.1 to 20.6.1
* Bump npm from 9.8.1 to 10.1.0
* Drop support for Node.js 16
* Handle breaking change to `docker compose ps` output format
  docker/compose#10958
* Handle updated invalid argument error details in Cerbos 0.30

Signed-off-by: Andrew Haines <haines@cerbos.dev>
  • Loading branch information
haines authored Sep 12, 2023
1 parent bcfa554 commit 5b7636a
Show file tree
Hide file tree
Showing 31 changed files with 96 additions and 234 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
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.5.1
20.6.1
150 changes: 17 additions & 133 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"packages/*"
],
"engines": {
"node": "20.5.1",
"npm": "9.8.1"
"node": "20.6.1",
"npm": "10.1.0"
},
"scripts": {
"all:parallel": "concurrently --group --prefix=none",
Expand Down 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
Loading

0 comments on commit 5b7636a

Please sign in to comment.