Releases: powersync-ja/powersync-swift
Releases · powersync-ja/powersync-swift
PowerSync 1.0.0-Beta.13
- Update
powersync-kotlindependency to version1.0.0-BETA32, which includes:- Removed unnecessary
User-Idheader from internal PowerSync service requests. - Fix
getNextCrudTransaction()only returning a single item.
- Removed unnecessary
PowerSync 1.0.0-Beta.12
- Added attachment sync helpers
- Added support for cancellations in watched queries
PowerSync v1.0.0-Beta.11
Fix deadlock when calling connect() immediately after opening database.
PowerSync v1.0.0-Beta.10
- Added the ability to specify a custom logging implementation
let db = PowerSyncDatabase(
schema: Schema(
tables: [
Table(
name: "users",
columns: [
.text("name"),
.text("email")
]
)
]
),
logger: DefaultLogger(minSeverity: .debug)
)- added
.close()method onPowerSyncDatabaseProtocol - Update
powersync-kotlindependency to version1.0.0-BETA29, which fixes these issues:- Fix potential race condition between jobs in
connect()anddisconnect(). - Fix race condition causing data received during uploads not to be applied.
- Fixed issue where automatic driver migrations would fail with the error:
- Fix potential race condition between jobs in
Sqlite operation failure database is locked attempted to run migration and failed. closing connection
PowerSync v1.0.0-Beta.9
- Update PowerSync SQLite core extension to 0.3.12.
- Added queuing protection and warnings when connecting multiple PowerSync clients to the same database file.
- Improved concurrent SQLite connection support. A single write connection and multiple read connections are used for concurrent read queries.
- Internally improved the linking of SQLite.
- Enabled Full Text Search support.
- Added the ability to update the schema for existing PowerSync clients.
- Fixed bug where local only, insert only and view name overrides were not applied for schema tables.
PowerSync v1.0.0-Beta.8
- Improved watch query internals. Added the ability to throttle watched queries.
- Added support for sync bucket priorities.
- Fixed uploading and downloading sync status indicators.
PowerSync v1.0.0-Beta.7
- Fixed an issue where throwing exceptions in the query
mappercould cause a runtime crash. - Internally improved type casting.
PowerSync v1.0.0-Beta.6
- BREAKING CHANGE:
watchqueries are now throwable and therefore will need to be accompanied by atrye.g.
try database.watch()- BREAKING CHANGE:
transactionfunctions are now throwable and therefore will need to be accompanied by atrye.g.
try await database.writeTransaction { transaction in
try transaction.execute(...)
}- Allow
executeerrors to be handled userIdis now set tonilby default and therefore it is no longer required to be set tonilwhen instantiatingPowerSyncCredentialsand can therefore be left out.
PowerSync v1.0.0-Beta.5
-
Implement improvements to errors originating in Kotlin so that they can be handled in Swift
-
Improve
__fetchCredentialsto log the error but not cause an app crash on error
PowerSync v1.0.0-Beta.4
-
Allow cursor to use column name to get value by including the following functions that accept a column name parameter:
getBoolean,getBooleanOptional,getString,getStringOptional,getLong,getLongOptional,getDouble,getDoubleOptional -
BREAKING CHANGE: This should not affect anyone but made
KotlinPowerSyncCredentials,KotlinPowerSyncDatabaseandKotlinPowerSyncBackendConnectoras these should never have been public.