Skip to content

Commit 94a277b

Browse files
authored
chore!: drop support for Node.js v8 and v10 (#885)
* chore!: drop support for `Node.js` v8 and v10 * chore: update CI and docs engines
1 parent 89518c0 commit 94a277b

File tree

11 files changed

+12
-112
lines changed

11 files changed

+12
-112
lines changed

.github/workflows/ci_compatibility-nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
node-version: ['08', '10', '12', '14', '16', '18', '20', '22', '23']
14+
node-version: ['12', '14', '16', '18', '20', '22', '23']
1515
name: Node.js ${{ matrix.node-version }}
1616
steps:
1717
- name: ➕ Actions - Checkout

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"lib"
2525
],
2626
"engines": {
27-
"node": ">=8.17.0",
28-
"bun": ">=1.0.0",
29-
"deno": ">=1.30.0",
30-
"typescript": ">=4.7.2"
27+
"node": ">=12.x.x",
28+
"bun": ">=1.x.x",
29+
"deno": ">=1.x.x",
30+
"typescript": ">=5.x.x"
3131
},
3232
"scripts": {
3333
"test": "npm run test:parallel && npm run test:sequential",

test/__docker__/docker-compose.yml

-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
version: '3.9'
22

33
services:
4-
node-08:
5-
container_name: 'node-08'
6-
build:
7-
context: ../../
8-
dockerfile: ./test/__docker__/node/08.Dockerfile
9-
environment:
10-
NODE_ENV: build
11-
12-
node-10:
13-
container_name: 'node-10'
14-
build:
15-
context: ../../
16-
dockerfile: ./test/__docker__/node/10.Dockerfile
17-
environment:
18-
NODE_ENV: build
19-
204
node-12:
215
container_name: 'node-12'
226
build:

test/__docker__/node/08.Dockerfile

-10
This file was deleted.

test/__docker__/node/10.Dockerfile

-10
This file was deleted.

test/compatibility/by-docker-compose/node-08.test.ts

-32
This file was deleted.

test/compatibility/by-docker-compose/node-10.test.ts

-32
This file was deleted.

website/docs/philosophy.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Why? Because it follows the same principle as **Poku**: zero configurations for
261261
262262
Several projects still use or support legacy versions. The requirement for legacy versions isn't a strict rule and can change with major releases due to specific features that may require polyfills and impact performance directly.
263263

264-
That's why the limit chosen was **Node.js** version `8.x.x`.
264+
That's why the limit chosen was **Node.js** version `12.x.x`.
265265

266266
### Current Polyfills
267267

website/i18n/pt-BR/docusaurus-plugin-content-docs/current/philosophy.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Por que? Porque segue o mesmo princípio do **Poku**: zero configurações para
261261
262262
Vários projetos ainda utilizam ou oferecem suporte a versões legadas. O requisito para versões legadas não é uma regra rígida e pode mudar com as versões major devido a recursos específicos que podem exigir polyfills e afetar diretamente o desempenho.
263263

264-
Por isso, o limite escolhido foi a versão `8.x.x` do **Node.js**.
264+
Por isso, o limite escolhido foi a versão `12.x.x` do **Node.js**.
265265

266266
### Polyfills atuais
267267

website/src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const Home = () => {
254254
</p>
255255
<p>
256256
It's intended to be fully compatible from{' '}
257-
<strong>Node.js</strong> <code>v8.x</code>,{' '}
257+
<strong>Node.js</strong> <code>v12.x</code>,{' '}
258258
<strong>Deno</strong> <code>v1.x</code>, and{' '}
259259
<strong>Bun</strong> <code>v1.x</code> onwards.
260260
</p>

0 commit comments

Comments
 (0)