Skip to content

Conversation

Chriztiaan
Copy link
Contributor

@Chriztiaan Chriztiaan commented May 16, 2025

Improved credentials management and error handling. Credentials are invalidated when they expire or become invalid based on responses from the PowerSync service. The frequency of credential fetching has been reduced as a result of this work.

For web we need to communicate over the comlink from the worker to the main tab that invalidation needs to happen.

Follows a similar pattern applied to PowerSync Dart.

Alternative approach to #528

Copy link

changeset-bot bot commented May 16, 2025

🦋 Changeset detected

Latest commit: 413ad7d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@powersync/web Minor
@powersync/common Minor
@powersync/diagnostics-app Patch
@powersync/node Patch
@powersync/op-sqlite Patch
@powersync/react-native Patch
@powersync/tanstack-react-query Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Chriztiaan Chriztiaan marked this pull request as ready for review May 16, 2025 12:50
@Chriztiaan Chriztiaan requested a review from stevensJourney May 16, 2025 12:50
@Chriztiaan
Copy link
Contributor Author

I have had the dev release of this work tested by @Omnicpie. Feedback was positive.

Copy link
Collaborator

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Chriztiaan Chriztiaan merged commit 0565a0a into main May 22, 2025
6 checks passed
@Chriztiaan Chriztiaan deleted the feat/fetch-credentials-on-error branch May 22, 2025 14:50
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.

3 participants