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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+54-25
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Changelog
2
2
3
+
## 1.0.0-BETA31
4
+
5
+
* Added helpers for Attachment syncing.
6
+
3
7
## 1.0.0-BETA30
4
8
5
9
* Fix a deadlock when calling `connect()` immediately after opening a database.
@@ -10,22 +14,31 @@
10
14
* Fix potential race condition between jobs in `connect()` and `disconnect()`.
11
15
*[JVM Windows] Fixed PowerSync Extension temporary file deletion error on process shutdown.
12
16
*[iOS] Fixed issue where automatic driver migrations would fail with the error:
17
+
13
18
```
14
19
Sqlite operation failure database is locked attempted to run migration and failed. closing connection
15
20
```
21
+
16
22
* Fix race condition causing data received during uploads not to be applied.
17
23
18
24
## 1.0.0-BETA28
19
25
20
26
* Update PowerSync SQLite core extension to 0.3.12.
21
-
* Added queing protection and warnings when connecting multiple PowerSync clients to the same database file.
22
-
* Improved concurrent SQLite connection support accross various platforms. All platforms now use a single write connection and multiple read connections for concurrent read queries.
23
-
* Added the ability to open a SQLite database given a custom `dbDirectory` path. This is currently not supported on iOS due to internal driver restrictions.
27
+
* Added queing protection and warnings when connecting multiple PowerSync clients to the same
28
+
database file.
29
+
* Improved concurrent SQLite connection support accross various platforms. All platforms now use a
30
+
single write connection and multiple read connections for concurrent read queries.
31
+
* Added the ability to open a SQLite database given a custom `dbDirectory` path. This is currently
32
+
not supported on iOS due to internal driver restrictions.
24
33
* Internaly improved the linking of SQLite for iOS.
25
34
* Enabled Full Text Search on iOS platforms.
26
35
* Added the ability to update the schema for existing PowerSync clients.
27
-
* Fixed bug where local only, insert only and view name overrides were not applied for schema tables.
28
-
* The Android SQLite driver now uses the [Xerial JDBC library](https://github.com/xerial/sqlite-jdbc). This removes the requirement for users to add the jitpack Maven repository to their projects.
36
+
* Fixed bug where local only, insert only and view name overrides were not applied for schema
37
+
tables.
38
+
* The Android SQLite driver now uses
39
+
the [Xerial JDBC library](https://github.com/xerial/sqlite-jdbc). This removes the requirement for
40
+
users to add the jitpack Maven repository to their projects.
41
+
29
42
```diff
30
43
// settings.gradle.kts example
31
44
repositories {
@@ -53,8 +66,10 @@ Sqlite operation failure database is locked attempted to run migration and faile
53
66
54
67
## 1.0.0-BETA24
55
68
56
-
* Improve internal handling of watch queries to avoid issues where updates are not being received due to transaction commits occurring after the query is run.
57
-
* Fix issue in JVM build where `columnNames` was throwing an error due to the index of the JDBC driver starting at 1 instead of 0 as in the other drivers/
69
+
* Improve internal handling of watch queries to avoid issues where updates are not being received
70
+
due to transaction commits occurring after the query is run.
71
+
* Fix issue in JVM build where `columnNames` was throwing an error due to the index of the JDBC
72
+
driver starting at 1 instead of 0 as in the other drivers/
58
73
* Throw and not just catch `CancellationExceptions` in `runWrappedSuspending`
59
74
60
75
## 1.0.0-BETA23
@@ -72,14 +87,18 @@ Sqlite operation failure database is locked attempted to run migration and faile
72
87
73
88
## 1.0.0-BETA20
74
89
75
-
* Add cursor optional functions: `getStringOptional`, `getLongOptional`, `getDoubleOptional`, `getBooleanOptional` and `getBytesOptional` when using the column name which allow for optional return types
`getBooleanOptional` and `getBytesOptional` when using the column name which allow for optional
92
+
return types
76
93
* Throw errors for invalid column on all cursor functions
77
-
*`getString`, `getLong`, `getBytes`, `getDouble` and `getBoolean` used with the column name will now throw an error for non-null values and expect a non optional return type
94
+
*`getString`, `getLong`, `getBytes`, `getDouble` and `getBoolean` used with the column name will
95
+
now throw an error for non-null values and expect a non optional return type
78
96
79
97
## 1.0.0-BETA19
80
98
81
99
* Allow cursor to get values by column name e.g. `getStringOptional("id")`
82
-
* BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom mapper then you must now change to `SqlCursor` exported by the PowerSync module.
100
+
* BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom
101
+
mapper then you must now change to `SqlCursor` exported by the PowerSync module.
83
102
84
103
Previously you would import it like this:
85
104
@@ -95,7 +114,8 @@ Sqlite operation failure database is locked attempted to run migration and faile
95
114
96
115
## 1.0.0-BETA18
97
116
98
-
* BREAKING CHANGE: Move from async sqldelight calls to synchronous calls. This will only affect `readTransaction` and `writeTransaction`where the callback function is no longer asynchronous.
117
+
* BREAKING CHANGE: Move from async sqldelight calls to synchronous calls. This will only affect
118
+
`readTransaction` and `writeTransaction`where the callback function is no longer asynchronous.
99
119
100
120
## 1.0.0-BETA17
101
121
@@ -104,7 +124,8 @@ Sqlite operation failure database is locked attempted to run migration and faile
104
124
## 1.0.0-BETA16
105
125
106
126
* Add `close` method to database methods
107
-
* Throw when error is a `CancellationError` and remove invalidation for all errors in `streamingSync` catch.
127
+
* Throw when error is a `CancellationError` and remove invalidation for all errors in
128
+
`streamingSync` catch.
108
129
109
130
## 1.0.0-BETA15
110
131
@@ -118,7 +139,8 @@ Sqlite operation failure database is locked attempted to run migration and faile
118
139
119
140
## 1.0.0-BETA13
120
141
121
-
* Move iOS database driver to use IO dispatcher which should avoid race conditions and improve performance.
142
+
* Move iOS database driver to use IO dispatcher which should avoid race conditions and improve
143
+
performance.
122
144
123
145
## 1.0.0-BETA12
124
146
@@ -135,7 +157,8 @@ Sqlite operation failure database is locked attempted to run migration and faile
135
157
## 1.0.0-BETA9
136
158
137
159
* Re-enable SKIE `SuspendInterop`
138
-
* Move transaction functions out of `PowerSyncTransactionFactory` to avoid threading issues in Swift SDK
160
+
* Move transaction functions out of `PowerSyncTransactionFactory` to avoid threading issues in Swift
161
+
SDK
139
162
140
163
## 1.0.0-BETA8
141
164
@@ -164,37 +187,43 @@ Sqlite operation failure database is locked attempted to run migration and faile
164
187
* Add `waitForFirstSync` function - which resolves after the initial sync is completed
165
188
* Upgrade to Kotlin 2.0.20 - should not cause any issues with users who are still on Kotlin 1.9
166
189
* Upgrade `powersync-sqlite-core` to 0.3.0 - improves incremental sync performance
167
-
* Add client sync parameters - which allows you specify sync parameters from the client https://docs.powersync.com/usage/sync-rules/advanced-topics/client-parameters-beta
190
+
* Add client sync parameters - which allows you specify sync parameters from the
0 commit comments