Skip to content

chore: update @supabase/supabase-js to v2.111.0 - #277

Merged
mandarini merged 2 commits into
mainfrom
gha/auto-update-supabase-js-v2.111.0
Jul 28, 2026
Merged

chore: update @supabase/supabase-js to v2.111.0#277
mandarini merged 2 commits into
mainfrom
gha/auto-update-supabase-js-v2.111.0

Conversation

@supabase-libs-pr-manager

@supabase-libs-pr-manager supabase-libs-pr-manager Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR updates @supabase/supabase-js to v2.111.0.

Source: supabase-js-stable-release


Test update included

supabase-js 2.111.0 (supabase/supabase-js#2569) stores PKCE verifiers in per-flow slots, so a flow start now writes three storage keys instead of one: the per-flow slot, the flow index, and the legacy fixed -code-verifier key. Our server storage adapter flushes each of these immediately (by design — slot keys deliberately end in -code-verifier), so setAll now fires 3 times per flow start instead of 1.

The PKCE verifier test asserted that internal flush count and snapshotted the exact cookies, so we updated it: expect 3 setAll calls, normalize the random flow id in slot cookie names, and regenerate the snapshots. Test-only change — no source changes needed, the adapter was already prepared in #275.

Why this isn't a breaking change in supabase-js: the writes are purely additive — the legacy key is still written with the same format, and exchangeCodeForSession without a flow id reads it exactly as before. The new slot-only lookup only kicks in when a flow id is explicitly passed or the opt-in experimental.appendPkceFlowIdToRedirects flag is enabled.


Release Notes

v2.111.0

2.111.0 (2026-07-28)

🚀 Features

  • auth: store PKCE verifiers in per-flow slots to survive overlapping flows (#2569)

❤️ Thank You

This PR was created automatically.

@supabase-libs-pr-manager
supabase-libs-pr-manager Bot requested review from a team as code owners July 28, 2026 15:57
…2.111.0

Since supabase-js 2.111.0 a PKCE flow start writes three storage keys
(per-flow verifier slot, flow index, legacy fixed verifier key), each
flushed immediately by the server storage adapter. Update the flush
count and normalize the random flow id in snapshot cookie names.
@mandarini
mandarini force-pushed the gha/auto-update-supabase-js-v2.111.0 branch from eaaee66 to 7280f9a Compare July 28, 2026 16:07
@mandarini
mandarini merged commit e17f546 into main Jul 28, 2026
3 checks passed
@mandarini
mandarini deleted the gha/auto-update-supabase-js-v2.111.0 branch July 28, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant