|
| 1 | +## 1.2.0 |
| 2 | + |
| 3 | +This release improves the default log output and errors to better assist in debugging. |
| 4 | + |
| 5 | +Breaking changes: |
| 6 | + |
| 7 | +- `PowerSyncCredentials` constructor is no longer const, and the `endpoint` URL is validated in the constructor. |
| 8 | +- Different error and exception classes are now used by the library, including `CredentialsException`, `SyncResponseException` and `PowerSyncProtocolException`, instead of more generic `AssertionError` and `HttpException`. |
| 9 | + |
| 10 | +Other changes: |
| 11 | + |
| 12 | +- The library now logs to the console in debug builds by default. To get the old behavior, use `logger: attachedLogger` in the `PowerSyncDatabase` constructor. |
| 13 | +- Log messages have been improved to better explain the sync process and errors. |
| 14 | + |
1 | 15 | ## 1.1.1 |
2 | 16 |
|
3 | | -- Fix error occasionally occurring when calling powersync.connect() right when opening the database. |
4 | | -- Update getting started docs |
| 17 | +- Fix error occasionally occurring when calling `powersync.connect()` right when opening the database. |
| 18 | +- Update getting started docs. |
5 | 19 |
|
6 | 20 | ## 1.1.0 |
7 | 21 |
|
|
25 | 39 | - Improve HTTP error messages. |
26 | 40 | - Enable SQLite recursive triggers. |
27 | 41 | - Support overriding view names. |
28 | | -- *Breaking change:* Validate schema definitions for duplicates. |
| 42 | +- _Breaking change:_ Validate schema definitions for duplicates. |
29 | 43 | Remove `id` column and indexes from any tables in the schema if present. |
30 | 44 |
|
31 | 45 | ## 0.4.1 |
@@ -79,9 +93,9 @@ Breaking changes: |
79 | 93 |
|
80 | 94 | - `TableUpdate` renamed to `UpdateNotification`. |
81 | 95 | - `PowerSyncDatabase.connectionFactory()` renamed to `PowerSyncDatabase.isolateConnectionFactory()`, |
82 | | - and should only be used to pass the connection to a different isolate. |
| 96 | + and should only be used to pass the connection to a different isolate. |
83 | 97 | - All tables apart from `ps_crud` are dropped and re-created when upgrading to this version. |
84 | | - This will not result in any data loss, but a full re-sync is required. |
| 98 | + This will not result in any data loss, but a full re-sync is required. |
85 | 99 |
|
86 | 100 | Fixes: |
87 | 101 |
|
|
0 commit comments