|
| 1 | +## 0.37.0 |
| 2 | + |
| 3 | +Bigger release with a lot of refactorings under the hood. Those do not necessarily make the SDK more performant but more robust and type safe. |
| 4 | + |
| 5 | +There are multiple breaking changes: |
| 6 | + |
| 7 | +- The SDK now uses spec v1.13 |
| 8 | +- Rename timeCreated to latestEventReceivedTime in Room |
| 9 | +- Push Notification helper class make all fields optional and migrate `dynamics` to `Object?` |
| 10 | +- Remove deprecated Hive Database |
| 11 | + |
| 12 | +Also `Client.onEvent` has been deprecated in favor of: |
| 13 | + |
| 14 | +```dart |
| 15 | +Client.onTimelineEvent // For timeline events (after decryption) |
| 16 | +Client.onHistoryEvent // Same for timeline events when fetching history |
| 17 | +Client.onNotification // Events which would trigger a notification like messages or room invites (after decryption) |
| 18 | +``` |
| 19 | + |
| 20 | +If you are using `Client.onEvent` to filter for state events, please from now on use `Client.onSync` and filter the state events out of it (as they are unencrypted anyway). Same with "Account Data" or ephemeral events. |
| 21 | +For notifications the usage should now be much easier as `Client.onNotification` already filters out events which should not |
| 22 | +trigger a notification. |
| 23 | + |
| 24 | +#### All changes: |
| 25 | + |
| 26 | +- feat: support push rule conditions event_property_is & event_property_contains (Karthikeyan S) |
| 27 | +- build: Add timeouts to all ci jobs (Krille) |
| 28 | +- build: Update dev dependencies and remove unused dependencies (Krille) |
| 29 | +- chore: (BREAKING CHANGE) spec v1.13 autogen (td) |
| 30 | +- chore: Add tests for converting event types (Krille) |
| 31 | +- chore: add transactionId getter to Event class (Karthikeyan S) |
| 32 | +- chore: BREAKING rename timeCreated to latestEventReceivedTime in Room (Karthikeyan S) |
| 33 | +- chore: Dispose all clients in test (Krille) |
| 34 | +- chore: Follow up store unable to decrypt information correctly (Krille) |
| 35 | +- fix: Add missing redacts parameter when transforming to Event type (Krille) |
| 36 | +- fix: Also load room account data in getSingleRoom() (Krille) |
| 37 | +- fix: clear cache when clearing DB in MatrixSdkDatabase (Karthikeyan S) |
| 38 | +- fix: Coverage CI job is timing out (Krille) |
| 39 | +- fix: No roomId in BasicRoomEvent stores roomaccountdata silently wrong (Krille) |
| 40 | +- fix: Use MB and KB instead of MiB and KiB for file sizes (Krille) |
| 41 | +- refactor: (BREAKING) Push Notification helper class make all fields optional and migrate dynamics to Object? (Krille) |
| 42 | +- refactor: (BREAKING) Remove deprecated Hive Database (Krille) |
| 43 | +- refactor: Do not handle ephemerals as EventUpdates (Krille) |
| 44 | +- refactor: Do not unnecessarily serialize and deserialize json for every account data object (Krille) |
| 45 | +- refactor: Do not use eventupdate type for verification requests (Krille) |
| 46 | +- refactor: Handle Room Account Data outside of Room Event Updates (Krille) |
| 47 | +- refactor: Remove BasicRoomEvent type (Krille) |
| 48 | +- refactor: Replace enhanced enum with native dart enum (Krille) |
| 49 | +- refactor: Update rooms by event not event update (Krille) |
| 50 | +- refactor: Use Event instead of EventUpdate for pending decryption event queue and for decrypt events in general (Krille) |
| 51 | +- refactor: Use Event instead of EventUpdate for storing in db (Krille) |
| 52 | + |
1 | 53 | ## [0.36.0] 17th December 2024
|
2 | 54 |
|
3 | 55 | #### How to migrate from onMigration to onInitStateChanged
|
|
0 commit comments