Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Node 22 and drop support for Node 18 #1282

Merged
merged 3 commits into from
Aug 22, 2024
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
3 changes: 2 additions & 1 deletion .github/CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ All of major releases are supported for at least 18 months.

| Release | Status | Active Start | Maintenance Start | End-of-life | Node versions | TS min version |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| 4.x | *Active* | 2023-09-06 | | | 18, 20 | 4.9 |
| 5.x | *Active* | TODO | | | 20, 22 | 4.9 |
| 4.x | *Maintenance* | 2023-09-06 | TODO | TODO | 18, 20 | 4.9 |
| 3.x | *End-of-Life* | 2022-10-28 | 2023-09-06 | 2024-03-06 | 16, 18 | 4.7 |
| 2.x | *End-of-Life* | 2020-12-03 | 2022-10-28 | 2023-04-30 | 10, 12, 14 | 4.0 |
| 1.x | *End-of-Life* | 2019-07-11 | 2020-12-03 | 2021-05-31 | 8, 10 | 3.5 |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18, 20]
node-version: [20, 22]

services:
mongodb:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
- name: Test Build
run: |
cd docs
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.x'
- name: Add key to allow access to repository
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18, 20]
node-version: [20, 22]

env:
SETTINGS_AWS_ACCESS_KEY_ID: ${{ secrets.SETTINGS_AWS_ACCESS_KEY_ID }}
Expand All @@ -29,8 +29,6 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use npm version 9.6
run: npm install -g [email protected]
- name: Install project and package dependencies
run: npm install
- name: Build packages
Expand Down
4 changes: 4 additions & 0 deletions docs/blog/version-5.0-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Version 5.0 of [Foal](https://foalts.org/) is out!

<!--truncate-->

## Supported versions of Node

- Support for Node 18 has been dropped and support for Node 22 has been added.

## Removal of depreacted components

- The deprecated hook `@Log` has been removed. To replace it, you can use the `Logger` service in a custom `@Hook`.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/tutorials/simple-todo-list/1-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In this tutorial you will learn how to create a basic web application with FoalT

> **Requirements:**
>
> [Node.js](https://nodejs.org/en/) 18 or greater
> [Node.js](https://nodejs.org/en/) 20 or greater

## Create a New Project

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ En este tutorial aprenderá a crear una aplicación web básica con FoalTS. La a

> **Requisitos:**
>
> [Node.js](https://nodejs.org/en/) 18 o superior
> [Node.js](https://nodejs.org/en/) 20 o superior

## Crear un Nuevo Proyecto

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Dans ce tutoriel, vous apprendrez comment créer une application web de base ave

> **Configuration requise:**
>
> [Node.js](https://nodejs.org/en/) 18 ou supérieur
> [Node.js](https://nodejs.org/en/) 20 ou supérieur

## Créer un Nouveau Projet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pada tutorial kali ini kita akan coba membuat aplikasi web dengan Foal. Aplikasi

> **Yang diperlukan:**
>
> [Node.js](https://nodejs.org/en/) versi 18 ke atas
> [Node.js](https://nodejs.org/en/) versi 20 ke atas

## Memulai Proyek Baru

Expand Down
Loading
Loading