|
| 1 | +## [0.36.0] 17th December 2024 |
| 2 | + |
| 3 | +#### How to migrate from onMigration to onInitStateChanged |
| 4 | + |
| 5 | +**Before:** |
| 6 | +```dart |
| 7 | +Client('Name', onMigration: () { |
| 8 | + print('Migrating now....'); |
| 9 | +}); |
| 10 | +``` |
| 11 | + |
| 12 | +**After:** |
| 13 | + |
| 14 | +```dart |
| 15 | +Client('Name', onInitStateChanged: (state) { |
| 16 | + if (state == InitState.migratingDatabase) { |
| 17 | + print('Migrating now....'); |
| 18 | + } |
| 19 | +}); |
| 20 | +``` |
| 21 | + |
| 22 | +- chore: Make parse version error less sound (Krille) |
| 23 | +- feat: (BREAKING) Replace onMigration with advanced callback onInitStateChanged (Krille) |
| 24 | +- feat: Add deleteFile() endpoint to database (Krille) |
| 25 | +- feat: support filtering events when requesting events history or future (Johannes Nevels) |
| 26 | +- fix: BREAKING! missed initial updates for stream listener callbacks in P2P & mesh calls (Karthikeyan S) |
| 27 | +- fix: clear legacy db on logout properly (Karthikeyan S) |
| 28 | +- fix: don't reset wellknown cache on initialization (Konrad Pozniak) |
| 29 | +- fix: rejecting a call doesn't send m.call.reject event (Karthikeyan S) |
| 30 | +- fix: throw error on failed reaction send (Mohammad Reza Moradi) |
| 31 | +- refactor: BREAKING Store room states as triple keys (Krille) |
| 32 | +- refactor: Clarify Room.join() behavior and make sure DM link is purged if room not found (Krille) |
| 33 | +- refactor: Do not set default timeout for initialSync (Krille) |
| 34 | +- refactor: Do not set the deprecated dont_notify action in push rules (Krille) |
| 35 | +- refactor: Fix new lints from flutter 3.27 (Krille) |
| 36 | +- refactor: Remove unnecessary roomId parameter from decryptRoomEvent method (Krille) |
| 37 | + |
1 | 38 | ## [0.35.0] 11th November 2024
|
2 | 39 | Fixes a minor performance leak where the app re-requests the member list of all encrypted rooms.
|
3 | 40 | For this the parameter `cache` in `Room.requestParticipants()` is now also
|
|
0 commit comments