Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/drop-node18-cli-hooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/cli-hooks": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-cli-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/cli-test": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-logger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/logger": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-oauth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/oauth": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-socket-mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/socket-mode": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/types": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-web-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/web-api": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
5 changes: 5 additions & 0 deletions .changeset/drop-node18-webhook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slack/webhook": major
---

Drop Node.js 18 support. The minimum supported Node.js version is now 20.
1 change: 0 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- "ubuntu-latest"
- "windows-latest"
node-version:
- "18.x"
- "20.x"
- "22.x"
- "24.x"
Expand Down
122 changes: 106 additions & 16 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/cli-hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ section.

## Requirements

This package supports Node v18 and higher. It's highly recommended to use [the
This package supports Node v20 and higher. It's highly recommended to use [the
latest LTS version of Node][node].

An updated version of the Slack CLI is also encouraged while using this package.
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"src/start.js"
],
"engines": {
"node": ">= 18",
"npm": ">= 8.6.0"
"node": ">= 20",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔭 note(non-blocking): We might want to find the LTS version of this minimum? Perhaps not for 20 but in future updates this might guarantee more stable app code:

This release marks the transition of Node.js 24.x into Long Term Support (LTS).

🔗 https://nodejs.org/en/blog/release/v24.11.0

"npm": ">=9.6.4"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/cli-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"dist/**/*"
],
"engines": {
"node": ">=18.15.5"
"node": ">=20",
"npm": ">=9.6.4"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The `@slack/logger` package is intended to be used as a simple logging interface

## Requirements

This package supports Node v18 and higher. It's highly recommended to use [the latest LTS version of
This package supports Node v20 and higher. It's highly recommended to use [the latest LTS version of
node](https://github.com/nodejs/Release#release-schedule), and the documentation is written using syntax and features
from that version.

Expand Down
6 changes: 3 additions & 3 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dist/**/*"
],
"engines": {
"node": ">= 18",
"npm": ">= 8.6.0"
"node": ">= 20",
"npm": ">=9.6.4"
},
"repository": {
"type": "git",
Expand All @@ -37,6 +37,6 @@
"test:coverage": "npm run build && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=test-results.xml --import tsx --test src/index.test.ts"
},
"dependencies": {
"@types/node": ">=18"
"@types/node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/oauth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ const installer = new InstallProvider({

### Requirements

This package supports Node v18 and higher. It's highly recommended to use [the latest LTS version of
This package supports Node v20 and higher. It's highly recommended to use [the latest LTS version of
node](https://github.com/nodejs/Release#release-schedule), and the documentation is written using syntax and features
from that version.

Expand Down
6 changes: 3 additions & 3 deletions packages/oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"dist/**/*"
],
"engines": {
"node": ">=18",
"npm": ">=8.6.0"
"node": ">=20",
"npm": ">=9.6.4"
},
"repository": {
"type": "git",
Expand All @@ -43,7 +43,7 @@
"@slack/logger": "^4.0.1",
"@slack/web-api": "^7.15.0",
"@types/jsonwebtoken": "^9",
"@types/node": ">=18",
"@types/node": ">=20",
"jsonwebtoken": "^9"
},
"devDependencies": {
Expand Down
Loading