Skip to content

Update dependency @supabase/supabase-js to v2.103.3#8301

Merged
pubkey merged 4 commits intomasterfrom
renovate/supabase-supabase-js-2.x
Apr 27, 2026
Merged

Update dependency @supabase/supabase-js to v2.103.3#8301
pubkey merged 4 commits intomasterfrom
renovate/supabase-supabase-js-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 7, 2026

This PR contains the following updates:

Package Change Age Confidence
@supabase/supabase-js (source) 2.100.02.103.3 age confidence

Release Notes

supabase/supabase-js (@​supabase/supabase-js)

v2.103.3

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.103.2

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.103.1

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.103.0

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.102.1

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.102.0

Compare Source

🚀 Features
  • supabase: export PostgrestFilterBuilder and StorageApiError from supabase-js (#​2222)
  • postgrest: add automatic retries for transient errors (#​2072)
❤️ Thank You

v2.101.1

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.101.0

Compare Source

This was a version bump only for @​supabase/supabase-js to align it with other projects, there were no code changes.

v2.100.1

Compare Source

🩹 Fixes
  • postgrest: narrow tstyche testFileMatch to only type test files (#​2193)
❤️ Thank You

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/supabase-supabase-js-2.x branch 9 times, most recently from fe6736e to bdbf439 Compare April 8, 2026 17:59
@renovate renovate Bot changed the title chore(deps): update dependency @supabase/supabase-js to v2.101.1 Update dependency @supabase/supabase-js to v2.101.1 Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/supabase-supabase-js-2.x branch 20 times, most recently from 6f07814 to 96c4b6e Compare April 11, 2026 19:06
@renovate renovate Bot force-pushed the renovate/supabase-supabase-js-2.x branch 9 times, most recently from ea79a48 to 12b4113 Compare April 14, 2026 11:21
@renovate renovate Bot changed the title Update dependency @supabase/supabase-js to v2.102.0 Update dependency @supabase/supabase-js to v2.102.1 Apr 14, 2026
@renovate renovate Bot force-pushed the renovate/supabase-supabase-js-2.x branch 10 times, most recently from 8fa1a4c to 26daa1e Compare April 16, 2026 10:11
@renovate renovate Bot changed the title Update dependency @supabase/supabase-js to v2.102.1 Update dependency @supabase/supabase-js to v2.103.0 Apr 16, 2026
@pubkey
Copy link
Copy Markdown
Owner

pubkey commented Apr 27, 2026

@copilot the CI for this fails, please inspect the logs and fix.

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

@copilot the CI for this fails, please inspect the logs and fix.

The CI was failing due to a TypeScript type error in src/plugins/replication-supabase/index.ts. The new @supabase/supabase-js v2.103.3 has stricter and more deeply nested conditional types for the .eq() filter method, which caused TypeScript to fail with "Type instantiation is excessively deep and possibly infinite" when resolving the chain's return type.

Fixed in commit e1ff889 by casting options.client to any in the fetchById function, which bypasses the overly complex Supabase generic type recursion for that specific query chain.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 27, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@pubkey
Copy link
Copy Markdown
Owner

pubkey commented Apr 27, 2026

@copilot supabase sync test still fails:

12 passing (11s)
1 failing

  1. replication-supabase.test.ts
    base test suite
    live replication
    two collections:
    Error: Timeout of 10000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/rxdb/rxdb/test_tmp/replication-supabase.test.js)
    at listOnTimeout (node:internal/timers:605:17)
    at process.processTimers (node:internal/timers:541:7)

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

@copilot supabase sync test still fails:

...

Fixed in commit cc6a027.

Root cause: RealtimeClient.channel() in realtime-js v2.100.0+ returns the existing channel when the same topic is requested, rather than creating a new one. When two collections share the same supabase client and tableName, the second call to .channel('realtime:humans') returns the already-joined channel from the first replication. Then .on('postgres_changes', ...) on an already-joined channel throws ("cannot add postgres_changes callbacks after subscribe()" - added in v2.101.0). This error propagates out of the monkey-patched start() before startBefore() is called, leaving startPromise unresolved and causing awaitInitialReplication() to hang indefinitely (10s mocha timeout).

Fix: use options.replicationIdentifier as the channel name (unique per replication instance) instead of the shared 'realtime:' + tableName. Also switched cleanup from sub.unsubscribe() to options.client.removeChannel(sub) for proper channel teardown.

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.

2 participants