PowerSync 1.5.0
-
Fix null values in CRUD entries being reported as strings in #69
-
Added support for Swift 6 strict concurrency checking in #70
- Accepted query parameter types have been updated from
[Any]to[Sendable]. This should cover all supported query parameter types. - Query and lock methods' return
Resultgeneric types now should extendSendable. - Deprecated default
open class PowerSyncBackendConnector. Devs should preferably implement thePowerSyncBackendConnectorProtocol
- Accepted query parameter types have been updated from
-
Potential Breaking Change: Attachment helpers have been updated to better support Swift 6 strict concurrency checking.
Actorisolation is improved, but developers who customize or extendAttachmentQueuewill need to update their implementations. The default instantiation ofAttachmentQueueremains unchanged.
AttachmentQueueProtocolnow defines the basic requirements for an attachment queue, with most base functionality provided via an extension. Custom implementations should extendAttachmentQueueProtocol. -
Added
PowerSyncDynamicproduct to package. Importing this product should restore XCode preview functionality in #71 -
[Internal] Instantiate Kotlin Kermit logger directly in #67
-
[Internal] Improved connection context error handling in #69