Repository navigation
feat: Connector split - #19
Merged
Merged
Conversation
#14 added Persister.ping and its tests without the changes from #15 and #16, which were merged first: - permissionErrorsRetryable() in the Supabase function dropped ping, so calling ping() on the wrapped persister threw. - The MongoDB ping test mock lacked listCollections, which createMongoPersister has called at startup since #16. - The rls.test.ts persister mocks lacked ping and failed type-checking. Forward ping in the wrapper, complete the mocks, and test that ping reaches the wrapped persister. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chriztiaan
marked this pull request as ready for review
November 16, 2026 11:40
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The SDK isn't guaranteed to cache tokens from an Authenticator, so the docs now tell apps to cache the token and clear it in invalidateCredentials(), including for Supabase and Clerk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ckritzinger
previously approved these changes
Nov 16, 2026
ckritzinger
left a comment
Collaborator
There was a problem hiding this comment.
Nice. The split plays really nicely with the reference client.
Thanks for all the collateral construction.
Collaborator
Author
|
Blocking till Connector Split announcement. |
simolus3
previously approved these changes
Nov 16, 2026
Collaborator
Author
|
Todo: Add changelog/entries. |
…hangelog Match the names used in the PowerSync docs: - PowersyncConnector is now PowerSyncUploader, in PowerSyncUploader.ts and PowerSyncUploader.singlefile.ts. The old single-file path re-exports it until 0.0.3, because the docs link to it. - The OpenAPI spec is now powersync-reference-write-endpoint.openapi.yaml, and WriteAPIClient is now WriteEndpointClient. - READMEs, docs, comments and CI job names say uploader and write endpoint. - The Supabase Auth sections link to the docs' Supabase authenticator instead of keeping a copy. Add CHANGELOG.md with manually set versions: 0.0.1 is the previous state of main, and this branch introduces 0.0.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The docs now link to PowerSyncUploader.singlefile.ts and ship together with this change, so the PowersyncConnector.singlefile.ts re-export isn't needed. backend/package.json matches the changelog's 0.0.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chriztiaan
dismissed stale reviews from simolus3 and ckritzinger
via
November 30, 2026 13:52
2dccdb0
Cache a token from your backend; return a token that the auth provider's SDK stores and refreshes, and refresh it in invalidateCredentials(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benitav
approved these changes
Dec 1, 2026
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.
The reference connector now uses the split connector API from powersync-js#1149: an
Authenticatorand a mutation uploader, in place of a singlePowerSyncBackendConnector.Added some drive-by fixes and CI based testing.
Noteworthy changes in
example-client/src.AI Disclosure
Used Claude Opus 5.5 to help make the updates.