-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Expose upload/download errors, credential management, last synced value from core extension #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the core extension integration by updating the core release URL, exposing upload/download errors in the synchronization status, revising credential management, and loading the last synced time along with improved test coverage.
- Updated core extension download URL in Setup.cs.
- Expanded SyncStatus to include upload/download error details.
- Improved credentials management and error handling in Remote.cs and StreamingSyncImplementation.cs.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
Tools/Setup/Setup.cs | Updated the core extension URL to v0.3.14. |
Tests/PowerSync/PowerSync.Common.Tests/Client/PowerSyncDatabaseTests.cs | Renamed test class and added new query and error handling tests. |
PowerSync/PowerSync.Common/DB/Crud/SyncStatus.cs | Exposed new properties for upload/download errors and updated logging message. |
PowerSync/PowerSync.Common/Client/Sync/Stream/StreamingSyncImplementation.cs | Updated error handling and credential invalidation logic. |
PowerSync/PowerSync.Common/Client/Sync/Stream/Remote.cs | Revised credentials fetching, removed safety period check, and added unauthorized response handling. |
PowerSync/PowerSync.Common/Client/PowerSyncDatabase.cs | Updated last synced time retrieval to use a sync priority. |
PowerSync/PowerSync.Common/CHANGELOG.md | Documented all new changes for upcoming release. |
Co-authored-by: Copilot <[email protected]>
PowerSync/PowerSync.Common/Client/Sync/Stream/StreamingSyncImplementation.cs
Show resolved
Hide resolved
…ync-ja/powersync-dotnet into feat/api-catchup-effort-1
Working towards API parity with newly added features from other SDKs:
Edit: I am planning on moving the credential caching to the connector in a future PR.