You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added the ability to specify a custom logging implementation
9
+
- Added the ability to specify a custom logging implementation
10
+
6
11
```swift
7
12
let db =PowerSyncDatabase(
8
13
schema: Schema(
@@ -19,69 +24,70 @@
19
24
logger: DefaultLogger(minSeverity: .debug)
20
25
)
21
26
```
22
-
* added `.close()` method on `PowerSyncDatabaseProtocol`
23
-
* Update `powersync-kotlin` dependency to version `1.0.0-BETA29`, which fixes these issues:
24
-
* Fix potential race condition between jobs in `connect()` and `disconnect()`.
25
-
* Fix race condition causing data received during uploads not to be applied.
26
-
* Fixed issue where automatic driver migrations would fail with the error:
27
+
28
+
- added `.close()` method on `PowerSyncDatabaseProtocol`
29
+
- Update `powersync-kotlin` dependency to version `1.0.0-BETA29`, which fixes these issues:
30
+
- Fix potential race condition between jobs in `connect()` and `disconnect()`.
31
+
- Fix race condition causing data received during uploads not to be applied.
32
+
- Fixed issue where automatic driver migrations would fail with the error:
33
+
27
34
```
28
35
Sqlite operation failure database is locked attempted to run migration and failed. closing connection
29
36
```
30
37
31
38
## 1.0.0-Beta.9
32
39
33
-
* Update PowerSync SQLite core extension to 0.3.12.
34
-
* Added queuing protection and warnings when connecting multiple PowerSync clients to the same database file.
35
-
* Improved concurrent SQLite connection support. A single write connection and multiple read connections are used for concurrent read queries.
36
-
* Internally improved the linking of SQLite.
37
-
* Enabled Full Text Search support.
38
-
* Added the ability to update the schema for existing PowerSync clients.
39
-
* Fixed bug where local only, insert only and view name overrides were not applied for schema tables.
40
+
- Update PowerSync SQLite core extension to 0.3.12.
41
+
- Added queuing protection and warnings when connecting multiple PowerSync clients to the same database file.
42
+
- Improved concurrent SQLite connection support. A single write connection and multiple read connections are used for concurrent read queries.
43
+
- Internally improved the linking of SQLite.
44
+
- Enabled Full Text Search support.
45
+
- Added the ability to update the schema for existing PowerSync clients.
46
+
- Fixed bug where local only, insert only and view name overrides were not applied for schema tables.
40
47
41
48
## 1.0.0-Beta.8
42
49
43
-
* Improved watch query internals. Added the ability to throttle watched queries.
44
-
* Added support for sync bucket priorities.
50
+
- Improved watch query internals. Added the ability to throttle watched queries.
51
+
- Added support for sync bucket priorities.
45
52
46
53
## 1.0.0-Beta.7
47
54
48
-
* Fixed an issue where throwing exceptions in the query `mapper` could cause a runtime crash.
49
-
* Internally improved type casting.
55
+
- Fixed an issue where throwing exceptions in the query `mapper` could cause a runtime crash.
56
+
- Internally improved type casting.
50
57
51
58
## 1.0.0-Beta.6
52
59
53
-
* BREAKING CHANGE: `watch` queries are now throwable and therefore will need to be accompanied by a `try` e.g.
60
+
- BREAKING CHANGE: `watch` queries are now throwable and therefore will need to be accompanied by a `try` e.g.
54
61
55
62
```swift
56
63
try database.watch()
57
64
```
58
65
59
-
* BREAKING CHANGE: `transaction` functions are now throwable and therefore will need to be accompanied by a `try` e.g.
66
+
- BREAKING CHANGE: `transaction` functions are now throwable and therefore will need to be accompanied by a `try` e.g.
60
67
61
68
```swift
62
69
tryawait database.writeTransaction { transaction in
63
70
try transaction.execute(...)
64
71
}
65
72
```
66
-
* Allow `execute` errors to be handled
67
-
*`userId` is now set to `nil` by default and therefore it is no longer required to be set to `nil` when instantiating `PowerSyncCredentials` and can therefore be left out.
68
73
69
-
## 1.0.0-Beta.5
74
+
- Allow `execute` errors to be handled
75
+
-`userId` is now set to `nil` by default and therefore it is no longer required to be set to `nil` when instantiating `PowerSyncCredentials` and can therefore be left out.
70
76
71
-
* Implement improvements to errors originating in Kotlin so that they can be handled in Swift
72
-
* Improve `__fetchCredentials`to log the error but not cause an app crash on error
77
+
## 1.0.0-Beta.5
73
78
79
+
- Implement improvements to errors originating in Kotlin so that they can be handled in Swift
80
+
- Improve `__fetchCredentials`to log the error but not cause an app crash on error
74
81
75
82
## 1.0.0-Beta.4
76
83
77
-
* Allow cursor to use column name to get value by including the following functions that accept a column name parameter:
* BREAKING CHANGE: This should not affect anyone but made `KotlinPowerSyncCredentials`, `KotlinPowerSyncDatabase` and `KotlinPowerSyncBackendConnector` private as these should never have been public.
80
-
84
+
- Allow cursor to use column name to get value by including the following functions that accept a column name parameter:
- BREAKING CHANGE: This should not affect anyone but made `KotlinPowerSyncCredentials`, `KotlinPowerSyncDatabase` and `KotlinPowerSyncBackendConnector` private as these should never have been public.
81
87
82
88
## 1.0.0-Beta.3
83
89
84
-
* BREAKING CHANGE: Update underlying powersync-kotlin package to BETA18.0 which requires transactions to become synchronous as opposed to asynchronous.
90
+
- BREAKING CHANGE: Update underlying powersync-kotlin package to BETA18.0 which requires transactions to become synchronous as opposed to asynchronous.
85
91
```swift
86
92
tryawait database.writeTransaction { transaction in
87
93
tryawait transaction.execute(
@@ -102,8 +108,8 @@ try await database.writeTransaction { transaction in
0 commit comments