Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Bump changelog #2006

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
## 0.37.0

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.

There are multiple breaking changes:

- The SDK now uses spec v1.13
- Rename timeCreated to latestEventReceivedTime in Room
- Push Notification helper class make all fields optional and migrate `dynamics` to `Object?`
- Remove deprecated Hive Database

Also `Client.onEvent` has been deprecated in favor of:

```dart
Client.onTimelineEvent // For timeline events (after decryption)
Client.onHistoryEvent // Same for timeline events when fetching history
Client.onNotification // Events which would trigger a notification like messages or room invites (after decryption)
```

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.
For notifications the usage should now be much easier as `Client.onNotification` already filters out events which should not
trigger a notification.

#### All changes:

- feat: support push rule conditions event_property_is & event_property_contains (Karthikeyan S)
- build: Add timeouts to all ci jobs (Krille)
- build: Update dev dependencies and remove unused dependencies (Krille)
- chore: (BREAKING CHANGE) spec v1.13 autogen (td)
- chore: Add tests for converting event types (Krille)
- chore: add transactionId getter to Event class (Karthikeyan S)
- chore: BREAKING rename timeCreated to latestEventReceivedTime in Room (Karthikeyan S)
- chore: Dispose all clients in test (Krille)
- chore: Follow up store unable to decrypt information correctly (Krille)
- fix: Add missing redacts parameter when transforming to Event type (Krille)
- fix: Also load room account data in getSingleRoom() (Krille)
- fix: clear cache when clearing DB in MatrixSdkDatabase (Karthikeyan S)
- fix: Coverage CI job is timing out (Krille)
- fix: No roomId in BasicRoomEvent stores roomaccountdata silently wrong (Krille)
- fix: Use MB and KB instead of MiB and KiB for file sizes (Krille)
- refactor: (BREAKING) Push Notification helper class make all fields optional and migrate dynamics to Object? (Krille)
- refactor: (BREAKING) Remove deprecated Hive Database (Krille)
- refactor: Do not handle ephemerals as EventUpdates (Krille)
- refactor: Do not unnecessarily serialize and deserialize json for every account data object (Krille)
- refactor: Do not use eventupdate type for verification requests (Krille)
- refactor: Handle Room Account Data outside of Room Event Updates (Krille)
- refactor: Remove BasicRoomEvent type (Krille)
- refactor: Replace enhanced enum with native dart enum (Krille)
- refactor: Update rooms by event not event update (Krille)
- refactor: Use Event instead of EventUpdate for pending decryption event queue and for decrypt events in general (Krille)
- refactor: Use Event instead of EventUpdate for storing in db (Krille)

## [0.36.0] 17th December 2024

#### How to migrate from onMigration to onInitStateChanged
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: matrix
description: Matrix Dart SDK
version: 0.36.0
version: 0.37.0
homepage: https://famedly.com
repository: https://github.com/famedly/matrix-dart-sdk.git
issue_tracker: https://github.com/famedly/matrix-dart-sdk/issues
Expand Down
Loading