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
55 changes: 26 additions & 29 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
strategy:
fail-fast: false
matrix:
# Etherpad requires Node >= 24 (see package.json engines.node).
node: ${{ fromJSON('[24]') }}
# Etherpad requires Node >= 24 (see package.json engines.node). Test the
# floor (24) and the current Active LTS (26).
node: ${{ fromJSON('[24, 26]') }}
steps:
-
name: Checkout repository
Expand Down Expand Up @@ -83,7 +84,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ${{ fromJSON('[24]') }}
node: ${{ fromJSON('[24, 26]') }}
steps:
-
name: Checkout repository
Expand Down Expand Up @@ -152,19 +153,16 @@ jobs:
strategy:
fail-fast: false
matrix:
# Etherpad requires Node >= 24 (see package.json engines.node).
# Windows pins Node 24.16.0, not the runner-default 24.15.0. Node 24.15.0's
# bundled libuv (1.51.0) has a stack buffer overrun in the Windows TCP-connect
# path (uv__tcp_connect), proven by a /GS __fastfail full-memory dump under the
# backend suite's heavy localhost connection churn -- the long-standing Windows
# backend silent-ELIFECYCLE flake (memory corruption, so no JS/Node
# observability). Bisect: 24.15.0 crashes (4/4 on 127.0.0.1), 24.16.0
# (libuv 1.52.1) is clean (0/8). Stays on the 24 LTS line. Pin explicitly
# because setup-node's default check-latest:false reuses the runner's
# pre-cached 24.15.0 for a bare "24".
# Tracking: https://github.com/nodejs/node/issues/63620 — drop this pin
# back to plain "24" once the fix is across the supported 24.x baseline.
node: ${{ fromJSON('["24.16.0"]') }}
# Etherpad requires Node >= 24 (see package.json engines.node). Test the
# floor (24) and the current Active LTS (26).
# Windows needs libuv >= 1.52.1 (Node >= 24.16.0). Node 24.15.0's
# bundled libuv 1.51.0 has a stack buffer overrun in the Windows
# TCP-connect path (uv__tcp_connect) that the backend suite's localhost
# connection churn hits as a silent ELIFECYCLE crash
# (nodejs/node#63620, fixed in 24.16.0). The runner image can still
# pre-cache 24.15.0 for a bare "24", so this job sets check-latest: true
# to always resolve the newest 24.x / 26.x release instead of pinning.
node: ${{ fromJSON('[24, 26]') }}
name: Windows without plugins
runs-on: windows-latest
steps:
Expand All @@ -186,6 +184,7 @@ jobs:
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: pnpm
-
name: Install all dependencies and symlink for ep_etherpad-lite
Expand Down Expand Up @@ -217,19 +216,16 @@ jobs:
strategy:
fail-fast: false
matrix:
# Etherpad requires Node >= 24 (see package.json engines.node).
# Windows pins Node 24.16.0, not the runner-default 24.15.0. Node 24.15.0's
# bundled libuv (1.51.0) has a stack buffer overrun in the Windows TCP-connect
# path (uv__tcp_connect), proven by a /GS __fastfail full-memory dump under the
# backend suite's heavy localhost connection churn -- the long-standing Windows
# backend silent-ELIFECYCLE flake (memory corruption, so no JS/Node
# observability). Bisect: 24.15.0 crashes (4/4 on 127.0.0.1), 24.16.0
# (libuv 1.52.1) is clean (0/8). Stays on the 24 LTS line. Pin explicitly
# because setup-node's default check-latest:false reuses the runner's
# pre-cached 24.15.0 for a bare "24".
# Tracking: https://github.com/nodejs/node/issues/63620 — drop this pin
# back to plain "24" once the fix is across the supported 24.x baseline.
node: ${{ fromJSON('["24.16.0"]') }}
# Etherpad requires Node >= 24 (see package.json engines.node). Test the
# floor (24) and the current Active LTS (26).
# Windows needs libuv >= 1.52.1 (Node >= 24.16.0). Node 24.15.0's
# bundled libuv 1.51.0 has a stack buffer overrun in the Windows
# TCP-connect path (uv__tcp_connect) that the backend suite's localhost
# connection churn hits as a silent ELIFECYCLE crash
# (nodejs/node#63620, fixed in 24.16.0). The runner image can still
# pre-cache 24.15.0 for a bare "24", so this job sets check-latest: true
# to always resolve the newest 24.x / 26.x release instead of pinning.
node: ${{ fromJSON('[24, 26]') }}
name: Windows with Plugins
runs-on: windows-latest

Expand All @@ -252,6 +248,7 @@ jobs:
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: pnpm
- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
- name: Setup Pages
if: github.event_name == 'push'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: '24'
node-version: '26'
cache: pnpm

- name: Resolve version
Expand Down Expand Up @@ -143,11 +143,11 @@ jobs:
# `Depends: nodejs (>= 24)`. Add NodeSource's apt repo
# explicitly (key + sources.list) instead of `curl | sudo bash`
# so we don't execute network-fetched code as root.
NODE_MAJOR=24
NODE_MAJOR=26
# GitHub runner images often ship a NodeSource node_20.x list
# preinstalled (sometimes as a .sources deb822 file). Wipe any
# existing nodesource entries so the only Node candidate apt sees
# is our node_24.x repo. Otherwise `apt-get install -y nodejs`
# is our node_${NODE_MAJOR}.x repo. Otherwise `apt-get install -y nodejs`
# picks the higher-version 20.x build that's already cached and
# `dpkg -i` then fails on `Depends: nodejs (>= 24)`.
sudo rm -f /etc/apt/sources.list.d/nodesource.list \
Expand All @@ -159,7 +159,7 @@ jobs:
| sudo gpg --dearmor --yes -o "${KEYRING}"
echo "deb [signed-by=${KEYRING}] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" \
| sudo tee /etc/apt/sources.list.d/nodesource.list
# Pin nodejs to the 24.x line so neither Ubuntu's noble-updates
# Pin nodejs to the ${NODE_MAJOR}.x line so neither Ubuntu's noble-updates
# 20.x nor any leftover NodeSource cache can win the resolver.
printf 'Package: nodejs\nPin: version %s.*\nPin-Priority: 1001\n' "${NODE_MAJOR}" \
| sudo tee /etc/apt/preferences.d/nodesource >/dev/null
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/downstream-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm

- name: Install dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/frontend-admin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
strategy:
fail-fast: false
matrix:
# Etherpad requires Node >= 24 (see package.json engines.node).
node: ${{ fromJSON('[24]') }}
# Etherpad requires Node >= 24 (see package.json engines.node). Test the
# floor (24) and the current Active LTS (26).
node: ${{ fromJSON('[24, 26]') }}

steps:
-
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
-
name: Install all dependencies and symlink for ep_etherpad-lite
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
- name: Install all dependencies and symlink for ep_etherpad-lite
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
- name: Install all dependencies and symlink for ep_etherpad-lite
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
- name: Install all dependencies and symlink for ep_etherpad-lite
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/handleRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
- name: Install all dependencies and symlink for ep_etherpad-lite
run: pnpm install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/installer-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'

- name: Pre-install pnpm (avoid sudo prompt in the installer)
run: npm install -g pnpm
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:

- uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'

- name: Pre-install pnpm
run: npm install -g pnpm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
-
name: Install all dependencies and symlink for ep_etherpad-lite
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
-
name: Install etherpad-load-test
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
-
name: Install all dependencies and symlink for ep_etherpad-lite
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perform-type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
- name: Install all dependencies and symlink for ep_etherpad-lite
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rate-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm

-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'
cache: pnpm
cache-dependency-path: etherpad/pnpm-lock.yaml
- name: Install dependencies ether.github.com
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releaseEtherpad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
- uses: actions/setup-node@v7
with:
# OIDC trusted publishing needs npm >= 11.5.1, which requires
# Node >= 22.9.0. Node 24 satisfies that and matches the rest of CI.
node-version: 24
# Node >= 22.9.0. Node 26 (Active LTS) satisfies that and matches the rest of CI.
node-version: '26'
registry-url: https://registry.npmjs.org/
- name: Upgrade npm to >=11.5.1 (required for trusted publishing)
run: npm install -g npm@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 24
node-version: '26'

- name: Install bin dependencies
working-directory: ./bin
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/upgrade-from-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
strategy:
fail-fast: false
matrix:
# Etherpad requires Node >= 24 (see package.json engines.node).
node: ${{ fromJSON('[24]') }}
# Etherpad requires Node >= 24 (see package.json engines.node). Test the
# floor (24) and the current Active LTS (26).
node: ${{ fromJSON('[24, 26]') }}
steps:
-
name: Check out latest release
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Welcome to the Etherpad project. This guide provides essential context and instr
Etherpad is a real-time collaborative editor designed to be lightweight, scalable, and highly extensible via plugins.

## Technical Stack
- **Runtime:** Node.js >= 22.12.0
- **Runtime:** Node.js >= 24 (26 LTS recommended; CI tests 24 and 26)
- **Package Manager:** pnpm (>= 11.0.0)
- **Languages:** TypeScript (primary for new code), JavaScript (legacy), CSS, HTML
- **Backend:** Express.js 5, Socket.io 4
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ For more than a decade, Etherpad has quietly underpinned the documents that matt

### Quick install (one-liner)

The fastest way to get Etherpad running. Requires `git` and Node.js >= 24.
The fastest way to get Etherpad running. Requires `git` and Node.js >= 24 (26 LTS recommended).

**macOS / Linux / WSL:**

Expand Down Expand Up @@ -158,11 +158,11 @@ volumes:

### Requirements

[Node.js](https://nodejs.org/) >= 24.
[Node.js](https://nodejs.org/) >= 24. Node.js 26 (current LTS) is recommended. CI tests 24 and 26.

### Windows, macOS, Linux

1. Download the latest Node.js runtime from [nodejs.org](https://nodejs.org/).
1. Download the latest Node.js LTS runtime (26) from [nodejs.org](https://nodejs.org/).
2. Install pnpm: `npm install -g pnpm` (Administrator privileges may be required).
3. Clone the repository: `git clone -b master`
4. Run `pnpm i`
Expand Down
44 changes: 0 additions & 44 deletions bin/buildDebian.sh

This file was deleted.

Loading
Loading