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 support for cancellations in watched queries
7
+
3
8
# 1.0.0-beta.11
4
9
5
-
* Fix deadlock when `connect()` is called immediately after opening a database.
10
+
- Fix deadlock when `connect()` is called immediately after opening a database.
6
11
7
12
# 1.0.0-Beta.10
8
13
9
-
* Added the ability to specify a custom logging implementation
14
+
- Added the ability to specify a custom logging implementation
15
+
10
16
```swift
11
17
let db =PowerSyncDatabase(
12
18
schema: Schema(
@@ -23,69 +29,70 @@
23
29
logger: DefaultLogger(minSeverity: .debug)
24
30
)
25
31
```
26
-
* added `.close()` method on `PowerSyncDatabaseProtocol`
27
-
* Update `powersync-kotlin` dependency to version `1.0.0-BETA29`, which fixes these issues:
28
-
* Fix potential race condition between jobs in `connect()` and `disconnect()`.
29
-
* Fix race condition causing data received during uploads not to be applied.
30
-
* Fixed issue where automatic driver migrations would fail with the error:
32
+
33
+
- added `.close()` method on `PowerSyncDatabaseProtocol`
34
+
- Update `powersync-kotlin` dependency to version `1.0.0-BETA29`, which fixes these issues:
35
+
- Fix potential race condition between jobs in `connect()` and `disconnect()`.
36
+
- Fix race condition causing data received during uploads not to be applied.
37
+
- Fixed issue where automatic driver migrations would fail with the error:
38
+
31
39
```
32
40
Sqlite operation failure database is locked attempted to run migration and failed. closing connection
33
41
```
34
42
35
43
## 1.0.0-Beta.9
36
44
37
-
* Update PowerSync SQLite core extension to 0.3.12.
38
-
* Added queuing protection and warnings when connecting multiple PowerSync clients to the same database file.
39
-
* Improved concurrent SQLite connection support. A single write connection and multiple read connections are used for concurrent read queries.
40
-
* Internally improved the linking of SQLite.
41
-
* Enabled Full Text Search support.
42
-
* Added the ability to update the schema for existing PowerSync clients.
43
-
* Fixed bug where local only, insert only and view name overrides were not applied for schema tables.
45
+
- Update PowerSync SQLite core extension to 0.3.12.
46
+
- Added queuing protection and warnings when connecting multiple PowerSync clients to the same database file.
47
+
- Improved concurrent SQLite connection support. A single write connection and multiple read connections are used for concurrent read queries.
48
+
- Internally improved the linking of SQLite.
49
+
- Enabled Full Text Search support.
50
+
- Added the ability to update the schema for existing PowerSync clients.
51
+
- Fixed bug where local only, insert only and view name overrides were not applied for schema tables.
44
52
45
53
## 1.0.0-Beta.8
46
54
47
-
* Improved watch query internals. Added the ability to throttle watched queries.
48
-
* Added support for sync bucket priorities.
55
+
- Improved watch query internals. Added the ability to throttle watched queries.
56
+
- Added support for sync bucket priorities.
49
57
50
58
## 1.0.0-Beta.7
51
59
52
-
* Fixed an issue where throwing exceptions in the query `mapper` could cause a runtime crash.
53
-
* Internally improved type casting.
60
+
- Fixed an issue where throwing exceptions in the query `mapper` could cause a runtime crash.
61
+
- Internally improved type casting.
54
62
55
63
## 1.0.0-Beta.6
56
64
57
-
* BREAKING CHANGE: `watch` queries are now throwable and therefore will need to be accompanied by a `try` e.g.
65
+
- BREAKING CHANGE: `watch` queries are now throwable and therefore will need to be accompanied by a `try` e.g.
58
66
59
67
```swift
60
68
try database.watch()
61
69
```
62
70
63
-
* BREAKING CHANGE: `transaction` functions are now throwable and therefore will need to be accompanied by a `try` e.g.
71
+
- BREAKING CHANGE: `transaction` functions are now throwable and therefore will need to be accompanied by a `try` e.g.
64
72
65
73
```swift
66
74
tryawait database.writeTransaction { transaction in
67
75
try transaction.execute(...)
68
76
}
69
77
```
70
-
* Allow `execute` errors to be handled
71
-
*`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.
72
78
73
-
## 1.0.0-Beta.5
79
+
- Allow `execute` errors to be handled
80
+
-`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.
74
81
75
-
* Implement improvements to errors originating in Kotlin so that they can be handled in Swift
76
-
* Improve `__fetchCredentials`to log the error but not cause an app crash on error
82
+
## 1.0.0-Beta.5
77
83
84
+
- Implement improvements to errors originating in Kotlin so that they can be handled in Swift
85
+
- Improve `__fetchCredentials`to log the error but not cause an app crash on error
78
86
79
87
## 1.0.0-Beta.4
80
88
81
-
* 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.
84
-
89
+
- 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.
85
92
86
93
## 1.0.0-Beta.3
87
94
88
-
* BREAKING CHANGE: Update underlying powersync-kotlin package to BETA18.0 which requires transactions to become synchronous as opposed to asynchronous.
95
+
- BREAKING CHANGE: Update underlying powersync-kotlin package to BETA18.0 which requires transactions to become synchronous as opposed to asynchronous.
89
96
```swift
90
97
tryawait database.writeTransaction { transaction in
91
98
tryawait transaction.execute(
@@ -106,8 +113,8 @@ try await database.writeTransaction { transaction in
0 commit comments