Skip to content

Commit af99197

Browse files
authored
Merge pull request #2006 from famedly/release/0-37-0
build: Bump changelog
2 parents e0c1c7b + 39d06f6 commit af99197

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

CHANGELOG.md

+52
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
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+
153
## [0.36.0] 17th December 2024
254

355
#### How to migrate from onMigration to onInitStateChanged

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: matrix
22
description: Matrix Dart SDK
3-
version: 0.36.0
3+
version: 0.37.0
44
homepage: https://famedly.com
55
repository: https://github.com/famedly/matrix-dart-sdk.git
66
issue_tracker: https://github.com/famedly/matrix-dart-sdk/issues

0 commit comments

Comments
 (0)