Skip to content

Commit d0679a6

Browse files
Princesseuhematipico
authored andcommitted
Remove support for Node 16 (#7780)
1 parent 4d160fa commit d0679a6

68 files changed

Lines changed: 129 additions & 95 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/afraid-dots-whisper.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
'@astrojs/cloudflare': major
3+
'@astrojs/partytown': major
4+
'@astrojs/tailwind': major
5+
'@astrojs/netlify': major
6+
'@astrojs/sitemap': major
7+
'@astrojs/preact': major
8+
'@astrojs/svelte': major
9+
'@astrojs/vercel': major
10+
'@astrojs/react': major
11+
'@astrojs/solid-js': major
12+
'@astrojs/deno': major
13+
'@astrojs/node': major
14+
'@astrojs/lit': major
15+
'@astrojs/vue': major
16+
'create-astro': major
17+
'@astrojs/prism': major
18+
'@astrojs/rss': major
19+
'@astrojs/telemetry': major
20+
'@astrojs/webapi': major
21+
'astro': major
22+
'@astrojs/turbolinks': minor
23+
'@astrojs/alpinejs': minor
24+
'@astrojs/prefetch': minor
25+
'@astrojs/markdoc': minor
26+
'@astrojs/underscore-redirects': minor
27+
'@astrojs/image': minor
28+
'@astrojs/mdx': minor
29+
'@astrojs/internal-helpers': minor
30+
---
31+
32+
Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.

.github/ISSUE_TEMPLATE/---01-bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body:
1010
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible.
1111
1212
✅ I am using the **latest version of Astro** and all plugins.
13-
✅ I am using a version of Node that supports ESM (`v14.18.0+`, or `v16.12.0+`)
13+
✅ I am using a version of Node that Astro supports (`>=18.14.1`)
1414
- type: input
1515
id: astro-version
1616
attributes:

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Node
3535
uses: actions/setup-node@v3
3636
with:
37-
node-version: 16
37+
node-version: 18
3838
cache: "pnpm"
3939

4040
- name: Install dependencies

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
OS: [ubuntu-latest, windows-latest]
41-
NODE_VERSION: [16]
41+
NODE_VERSION: [18]
4242
fail-fast: true
4343
steps:
4444
# Disable crlf so all OS can share the same Turbo cache
@@ -85,7 +85,7 @@ jobs:
8585
- name: Setup Node
8686
uses: actions/setup-node@v3
8787
with:
88-
node-version: 16
88+
node-version: 18
8989
cache: "pnpm"
9090

9191
- name: Install dependencies
@@ -108,12 +108,12 @@ jobs:
108108
strategy:
109109
matrix:
110110
OS: [ubuntu-latest]
111-
NODE_VERSION: [16, 18]
111+
NODE_VERSION: [18, 20]
112112
include:
113113
- os: macos-latest
114-
NODE_VERSION: 16
114+
NODE_VERSION: 18
115115
- os: windows-latest
116-
NODE_VERSION: 16
116+
NODE_VERSION: 18
117117
fail-fast: false
118118
env:
119119
NODE_VERSION: ${{ matrix.NODE_VERSION }}
@@ -155,7 +155,7 @@ jobs:
155155
strategy:
156156
matrix:
157157
OS: [ubuntu-latest, windows-latest]
158-
NODE_VERSION: [16]
158+
NODE_VERSION: [18]
159159
fail-fast: false
160160
env:
161161
NODE_VERSION: ${{ matrix.NODE_VERSION }}
@@ -192,7 +192,7 @@ jobs:
192192
strategy:
193193
matrix:
194194
OS: [ubuntu-latest, windows-latest]
195-
NODE_VERSION: [16]
195+
NODE_VERSION: [18]
196196
env:
197197
NODE_VERSION: ${{ matrix.NODE_VERSION }}
198198
steps:

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Node
3939
uses: actions/setup-node@v3
4040
with:
41-
node-version: 16
41+
node-version: 18
4242
cache: "pnpm"
4343

4444
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Node
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: 16
33+
node-version: 18
3434
cache: "pnpm"
3535

3636
- name: Install dependencies

.github/workflows/scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Node
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 16
40+
node-version: 18
4141
cache: "pnpm"
4242

4343
- name: Install dependencies

.github/workflows/snapshot-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup Node
5959
uses: actions/setup-node@v3
6060
with:
61-
node-version: 16
61+
node-version: 18
6262
registry-url: "https://registry.npmjs.org"
6363
cache: "pnpm"
6464

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.19.0
1+
18.14.1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We welcome contributions of any size and skill level. As an open source project,
1010
### Prerequisites
1111

1212
```shell
13-
node: "^>=16.12.0"
13+
node: "^>=18.14.1"
1414
pnpm: "^8.6.2"
1515
# otherwise, your build will fail
1616
```

0 commit comments

Comments
 (0)