DATE:
AUTHOR:
PowerSync Product Team
.NET SDK

PowerSync .NET SDK: v1.0.1

DATE:
AUTHOR: PowerSync Product Team

We are pleased to announce the Version 1.0.1 release of the PowerSync .NET client SDK, the first stable release of PowerSync.Common.

Visit the full SDK reference to get started, for implementation details, and code snippets.

See the full changelog below.

Have any questions or feedback? Chat with us and the PowerSync community on Discord.

Changelog

v1.0.1 - 2026-11-23

  • [BREAKING] GetAll, Get, GetOptional, and Watch no longer use Dapper or return dynamic. Use a SqlMapper<T> delegate, implement IFromRow<T>, or read the untyped QueryResult/IQueryRow result directly. GetAll<T> and Watch<T> now return List<T> instead of T[], and column names match case-insensitively, like SQLite identifiers. (PR #107)

  • [BREAKING] The SDK now targets .NET 8, 9, and 10, matching our supported platforms policy. It drops support for netstandard2.0, net6.0, and other targets older than .NET 8. (PR #79)

  • [BREAKING] PowerSync.Common now bundles and loads its native SQLite core extension on Android, iOS, and MacCatalyst directly, so it fully replaces PowerSync.Maui. PowerSync.Maui is deprecated. Replace PowerSync.Maui.SQLite.MAUISQLiteDBOpenFactory and MAUISQLiteAdapter with PowerSync.Common.MDSQLite.MDSQLiteDBOpenFactory and MDSQLiteAdapter, then remove the PowerSync.Maui package reference. (PR #94)

  • [BREAKING] Operation IDs are now long instead of string. This changes the return types of PowerSyncDatabase.GetNextCrudTransaction(), GetCrudBatch(), and ICustomCheckpointRequestConnector.PostCheckpointRequest, used in PowerSyncBackendConnector.UploadData. (PR #89)

  • [BREAKING] DBAdapterEvents.TablesUpdatedEvent.TablesUpdated is now a HashSet<string> of table names instead of an INotification. This removes the INotification and IBatchedUpdateNotification types and only affects code that subscribes to OnTablesUpdated directly. Update hooks are now registered through the core SQLite extension instead of manually. (PR #110)

  • [ADDED] RawTable lets you sync into tables you created yourself, outside PowerSync's managed schema. See Raw Tables. (PR #104)

  • [ADDED] IAuthenticator and IMutationUploader split IPowerSyncBackendConnector into separate credential and upload concerns, which you can implement and pass independently. New Connect() overloads let you connect in download-only or upload-only mode. (PR #106)

  • [ADDED] The PowerSync.Common.SourceGenerators package adds a [GenerateSqlMapper] attribute that generates an IFromRow<T> implementation for a partial class, easing the move off Dapper. It ships as an alpha preview. (PR #108)

  • [ADDED] DisconnectAndClear(soft: true) clears your synced tables but keeps the internal sync checkpoint, so the next Connect() resumes without a full re-download. (PR #101)

  • [IMPROVED] Updated the bundled PowerSync SQLite core extension to v0.5.4, which improves sync client error recovery. (PR #106)

  • [FIXED] CheckpointRequest.WaitForSync() failed with a "disconnected" error instead of the sync error when a sync iteration failed. The download error is now reported before the status changes to disconnected. (PR #107)

  • [FIXED] PowerSyncDatabase.OnChange returned the view name instead of the underlying raw table name. It now returns the raw table name, matching the PowerSync JS SDK. (PR #89)

v0.1.5 - 2026-09-10

  • [ADDED] RequestCheckpoint() on PowerSyncDatabase for catching up with the server on demand: request a checkpoint, then wait until the local database has caught up to it, including your pending uploads. Opt in with CheckpointMode.Requests() in PowerSyncConnectionOptions while the feature is in alpha; see Sync Catch-Up. (PR #97, PR #99)

  • [FIXED] Updated the bundled PowerSync SQLite core extension to v0.5.3, fixing a tx_id mismatch for insert-only tables and improving error messages to include the underlying SQL statement. (PR #98)

v0.1.4 - 2026-08-06

  • [IMPROVED] Updated the bundled PowerSync SQLite core extension to v0.5.2. (PR #83)

  • [FIXED] Race condition that produced No iteration is active errors when a sync iteration ended. (PR #82)

  • [INTERNAL] Moved watched query handling out of PowerSyncDatabase into a dedicated WatchManager. Watch and OnChange are now thin wrappers over it. (PR #80)

v0.1.3 - 2026-08-04

  • [ADDED] Support for loading custom SQLite extensions on PowerSync-managed connections via MDSQLiteOptions.Extensions. A new LoadPowerSyncExtension flag lets you skip loading the default core extension, useful on platforms that place the powersync library in a nonstandard location. (PR #72)

  • [FIXED] The sync client reconnecting immediately after an error instead of waiting for the retry backoff, causing reconnection loops. (PR #70)

  • [FIXED] A race condition where updates made while FlushUpdates was running could be dropped instead of persisted. (PR #76)

v0.1.2 - 2026-05-07

  • [ADDED] Attachment APIs: AttachmentQueue manages offline-first file attachment sync (upload, download, delete, archive), mirroring the implementation in our other SDKs. Register a watched query and supply local and remote storage adapters; the queue handles the full lifecycle automatically. See the docs. (PR #68)

  • [ADDED] Mac Catalyst support. The SDK now targets net9.0-maccatalyst and the setup script downloads the Mac Catalyst xcframework automatically. (PR #64)

  • [IMPROVED] Fewer warnings on dotnet build. (PR #65)

  • [FIXED] Runtime resolution of the SQLite core extension on net9.0-android and net9.0-ios now works correctly. The SDK was missing those platform-specific target frameworks. (PR #60)

v0.1.1 - 2026-04-07

  • [ADDED] Windows ARM64 support. The SDK now downloads and uses the aarch64 Windows binary, enabling PowerSync on Windows ARM devices. Also updates the SQLite core extension to v0.4.12, which skips creating ps_crud entries when clearing raw tables. (PR #55)

v0.1.0 - 2026-03-26

  • Initial Beta Release.

Powered by LaunchNotes