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
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,19 @@
4
4
5
5
- Improved the stability of watched queries. Watched queries were previously susceptible to runtime crashes if an exception was thrown in the update stream. Errors are now gracefully handled.
6
6
7
-
- Removed references to the PowerSync Kotlin SDK from all public API protocols. Dedicated Swift protocols are now defined. These protocols align better with Swift primitives.
7
+
- Added `readLock` and `writeLock` APIs. These methods allow obtaining a SQLite connection context without starting a transaction.
8
+
9
+
- Removed references to the PowerSync Kotlin SDK from all public API protocols. Dedicated Swift protocols are now defined. These protocols align better with Swift primitives. See the `BRAKING CHANGES` section for more details. Updated protocols include:
10
+
11
+
-`ConnectionContext` - The context provided by `readLock` and `writeLock`
12
+
-`Transaction` - The context provided by `readTransaction` and `writeTransaction`
13
+
-`CrudBatch` - Response from `getCrudBatch`
14
+
-`CrudTransaction` Response from `getNextCrudTransaction`
15
+
-`CrudEntry` - Crud entries for `CrudBatch` and `CrudTransaction`
16
+
-`UpdateType` - Operation type for `CrudEntry`s
17
+
-`SqlCursor` - Cursor used to map SQLite results to typed result sets
18
+
-`JsonParam` - JSON parameters used to declare client parameters in the `connect` method
19
+
-`JsonValue` - Individual JSON field types for `JsonParam`
8
20
9
21
- Database and transaction/lock level query `execute` methods now have `@discardableResult` annotation.
0 commit comments