Repository navigation
feat(repo): drop Node.js 20 support - #2482
Merged
Merged
Conversation
@supabase/auth-js
@supabase/functions-js
@supabase/postgrest-js
@supabase/realtime-js
@supabase/storage-js
@supabase/supabase-js
commit: |
Tr00d
previously approved these changes
Jun 30, 2026
spydon
previously approved these changes
Jun 30, 2026
grdsdev
approved these changes
Jun 30, 2026
spydon
approved these changes
Jun 30, 2026
Contributor
Author
|
@spydon left them there just in case someone needs the Node 18 versions |
This was referenced Jun 30, 2026
mandarini
pushed a commit
to supabase/ssr
that referenced
this pull request
Jun 30, 2026
This PR updates `@supabase/supabase-js` to v2.110.0. **Source**: supabase-js-stable-release --- ## Release Notes ## v2.110.0 ## 2.110.0 (2026-06-30) ### 🚀 Features - **repo:** drop Node.js 20 support ([#2482](supabase/supabase-js#2482)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini ## v2.109.0 ## 2.109.0 (2026-06-30) ### 🚀 Features - **auth:** add custom_claims_allowlist to custom providers admin API ([#2473](supabase/supabase-js#2473)) - **realtime:** add postgres_changes filter builder, new operators and select ([#2463](supabase/supabase-js#2463)) - **storage:** expose purgeCache for buckets and single objects ([#2429](supabase/supabase-js#2429)) ### 🩹 Fixes - **functions:** honor a caller's Content-Type override regardless of casing ([#2455](supabase/supabase-js#2455)) - **realtime:** pin @supabase/phoenix and browser test CDN deps ([#2457](supabase/supabase-js#2457)) - **realtime:** add replication connection system message option ([#2470](supabase/supabase-js#2470)) - **storage:** keep sortBy defaults when list() is given a partial sortBy ([#2454](supabase/supabase-js#2454)) ### ❤️ Thank You - Anubhav Anand @i-anubhav-anand - Cemal Kılıç @cemalkilic - Claude Opus 4.8 (1M context) - Filipe Cabaço @filipecabaco - Katerina Skroumpelou @mandarini - Lenny - Rodrigo Mansueli @mansueli ## v2.108.2 ## 2.108.2 (2026-06-15) ### 🩹 Fixes - **auth:** preserve valid session on refresh failure and cooldown repeat failures ([#2436](supabase/supabase-js#2436)) - **realtime:** clarify httpSend() 404 error and server migration note ([#2444](supabase/supabase-js#2444)) - **release:** pin Deno and bound JSR publish to survive stranded-task hangs ([#2439](supabase/supabase-js#2439)) - **release:** restore JSR publish flags and enable for beta ([#2440](supabase/supabase-js#2440)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini ## v2.108.1 ## 2.108.1 (2026-06-09) ### 🩹 Fixes - **ci:** forward DOGFOOD_APP_CLIENT_ID to dogfood workflow ([#2434](supabase/supabase-js#2434)) - **postgrest:** then typing ([#2349](supabase/supabase-js#2349)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini - Vaibhav @7ttp This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
mandarini
pushed a commit
to supabase/supabase
that referenced
this pull request
Jul 7, 2026
This PR updates @supabase/*-js libraries to version 2.110.1. **Source**: supabase-js-stable-release **Changes**: - Updated @supabase/supabase-js to 2.110.1 - Updated @supabase/auth-js to 2.110.1 - Updated @supabase/realtime-js to 2.110.1 - Updated @supabase/postgest-js to 2.110.1 - Refreshed pnpm-lock.yaml --- ## Release Notes ## v2.110.1 ## 2.110.1 (2026-07-07) ### 🩹 Fixes - **auth:** defer init-time notifications until initializePromise resolves ([#2498](supabase/supabase-js#2498)) - **realtime:** suppress disconnected status from onHeartbeat consumers ([#2496](supabase/supabase-js#2496)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini ## v2.110.0 ## 2.110.0 (2026-06-30) ### 🚀 Features - **repo:** drop Node.js 20 support ([#2482](supabase/supabase-js#2482)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini ## v2.109.0 ## 2.109.0 (2026-06-30) ### 🚀 Features - **auth:** add custom_claims_allowlist to custom providers admin API ([#2473](supabase/supabase-js#2473)) - **realtime:** add postgres_changes filter builder, new operators and select ([#2463](supabase/supabase-js#2463)) - **storage:** expose purgeCache for buckets and single objects ([#2429](supabase/supabase-js#2429)) ### 🩹 Fixes - **functions:** honor a caller's Content-Type override regardless of casing ([#2455](supabase/supabase-js#2455)) - **realtime:** pin @supabase/phoenix and browser test CDN deps ([#2457](supabase/supabase-js#2457)) - **realtime:** add replication connection system message option ([#2470](supabase/supabase-js#2470)) - **storage:** keep sortBy defaults when list() is given a partial sortBy ([#2454](supabase/supabase-js#2454)) ### ❤️ Thank You - Anubhav Anand @i-anubhav-anand - Cemal Kılıç @cemalkilic - Claude Opus 4.8 (1M context) - Filipe Cabaço @filipecabaco - Katerina Skroumpelou @mandarini - Lenny - Rodrigo Mansueli @mansueli This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Drops support for Node.js 20 across all packages in the monorepo. Node.js 20 reached end-of-life on April 30, 2026, so per the repository Support Policy it is dropped in a minor release and is not treated as a breaking change (same precedent as the Node.js 18 drop in
2.79.0).What changed?
engines.nodefrom>=20.0.0to>=22.0.0in every package:supabase-js,auth-js,realtime-js,postgrest-js,storage-js,functions-js, andshared/tracing.README.mdandpackages/core/supabase-js/README.md, mirroring the existing Node.js 18 notice. It links the deprecation discussion, names2.110.0as the release that drops support, and2.109.0as the last version that supported Node.js 20.realtime-jsthat only existed for runtimes without a nativeglobalThis.WebSocket:'ws'member from theWebSocketEnvironment.typeunion and the correspondingenv.type === 'ws'branch inisWebSocketSupported().detectEnvironment(). With native WebSocket guaranteed on Node 22+, reaching the Node branch now returns a single generic "native WebSocket not found" result instead of branching on the major version and suggesting thewspackage.connect()special-case error message inRealtimeClient.tsthat instructed users to installws; it now uniformly throwsWebSocket not available: ....isNodeHigherThan18guard in theauth-jsasymmetric JWT docker tests, so thecrypto.subtleassertions always run.realtime-jstests to match: dropped the Node 16/18/20 detection cases and thews-package support case, and adjusted the remaining assertions to the new generic messages.Why was this change needed?
Node.js 20 is end-of-life and no longer receives security or critical fixes. Supporting unsupported runtimes carries risk, and keeping the
wsfallback paths and version-parsing logic around added dead code now that the minimum supported version (22) ships native WebSocket.Screenshots/Examples
N/A
Breaking changes
Per the Support Policy, dropping an end-of-life Node.js version in a minor release is not considered a breaking change. The public API is unchanged.
Checklist
<type>(<scope>): <description>pnpm nx formatto ensure consistent code formattingAdditional notes
packages/shared/tracingwas also on>=20.0.0and is bumped here for consistency, in addition to the six packages named in the issue..nvmrcwere already on Node 22 (PR chore(ci): upgrade Node.js from 20 to 22 in workflows and .nvmrc #2221), so no CI changes were needed.