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
+18
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Changelog
2
2
3
+
## 1.0.0-Beta.6
4
+
5
+
* BREAKING CHANGE: `watch` queries are now throwable and therefore will need to be accompanied by a `try` e.g.
6
+
7
+
```swift
8
+
try database.watch()
9
+
```
10
+
11
+
* BREAKING CHANGE: `transaction` functions are now throwable and therefore will need to be accompanied by a `try` e.g.
12
+
13
+
```swift
14
+
tryawait database.writeTransaction { transaction in
15
+
try transaction.execute(...)
16
+
}
17
+
```
18
+
* Allow `execute` errors to be handled
19
+
*`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.
20
+
3
21
## 1.0.0-Beta.5
4
22
5
23
* Implement improvements to errors originating in Kotlin so that they can be handled in Swift
0 commit comments