Skip to content

Commit ee35d75

Browse files
authored
Set min supported Node.js to v16, major version bump (#70)
* Increase minimum supported Node.js to v16 Node.js 12 reached end-of-life 2022-04-30 Node.js 14 reached end-of-life 2023-04-30 * Bump version to 3.0.0 * Include Node.js v20 in test matrix
1 parent 5262ac4 commit ee35d75

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
node-version: [12.x, 14.x, 16.x, 18.x]
15+
node-version: [16.x, 18.x, 20.x]
1616
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1717

1818
steps:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Breaking change: Removed support for end-of-life versions of Node.js. A minimum of Node.js 16 is now required.
13+
1014
## [2.1.1] - 2022-12-13
1115

1216
### Added

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudamqp/amqp-client",
3-
"version": "2.1.1",
3+
"version": "3.0.0",
44
"description": "AMQP 0-9-1 client, both for browsers (WebSocket) and node (TCP Socket)",
55
"type": "module",
66
"main": "lib/cjs/index.js",
@@ -17,7 +17,7 @@
1717
"require": "./lib/cjs/index.js"
1818
},
1919
"engines": {
20-
"node": ">=12.0.0"
20+
"node": ">=16.0.0"
2121
},
2222
"scripts": {
2323
"docs": "typedoc src/index.ts",

src/amqp-base-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { AMQPError } from './amqp-error.js'
33
import { AMQPMessage } from './amqp-message.js'
44
import { AMQPView } from './amqp-view.js'
55

6-
const VERSION = '2.1.1'
6+
const VERSION = '3.0.0'
77

88
/**
99
* Base class for AMQPClients.

0 commit comments

Comments
 (0)