From f9875e292930a733433d5d07ec3a0071fc96d56d Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Tue, 8 Feb 2022 08:34:56 +0100 Subject: [PATCH] chore: Bump version --- CHANGELOG.md | 3 +++ pubspec.yaml | 2 +- test/timeline_test.dart | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c198d28..dc7cd3e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [0.8.4] - 08nd Feb 2022 +- fix: Call onChange correctly on redacted aggregation events + ## [0.8.3] - 07nd Feb 2022 - fix: Remove onHistoryReceived which was broken anyway - fix: Remove aggregation event doesnt trigger onChange diff --git a/pubspec.yaml b/pubspec.yaml index 776cbca7..0f9afb7c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: matrix description: Matrix Dart SDK -version: 0.8.3 +version: 0.8.4 homepage: https://famedly.com repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git diff --git a/test/timeline_test.dart b/test/timeline_test.dart index 56f0ef74..44fadf88 100644 --- a/test/timeline_test.dart +++ b/test/timeline_test.dart @@ -146,7 +146,7 @@ void main() { expect(updateCount, 3); expect(insertList, [0, 0, 0]); expect(insertList.length, timeline.events.length); - expect(changeList, [1]); + expect(changeList, [2]); expect(removeList, []); expect(timeline.events.length, 3); expect(timeline.events[2].redacted, true); @@ -215,7 +215,7 @@ void main() { expect(updateCount, 13); expect(insertList, [0, 0, 0, 0, 0, 0, 1, 2]); expect(insertList.length, timeline.events.length); - expect(changeList, [1, 0, 0, 0, 1, 2]); + expect(changeList, [2, 0, 0, 0, 1, 2]); expect(removeList, []); expect(timeline.events[0].status, EventStatus.error); expect(timeline.events[1].status, EventStatus.error); @@ -230,7 +230,7 @@ void main() { expect(updateCount, 14); expect(insertList, [0, 0, 0, 0, 0, 0, 1, 2]); - expect(changeList, [1, 0, 0, 0, 1, 2]); + expect(changeList, [2, 0, 0, 0, 1, 2]); expect(removeList, [0]); expect(timeline.events.length, 7); expect(timeline.events[0].status, EventStatus.error); @@ -277,7 +277,7 @@ void main() { expect(updateCount, 17); expect(insertList, [0, 0, 0, 0, 0, 0, 1, 2, 0]); - expect(changeList, [1, 0, 0, 0, 1, 2, 0, 0]); + expect(changeList, [2, 0, 0, 0, 1, 2, 0, 0]); expect(removeList, [0]); expect(timeline.events.length, 1); expect(timeline.events[0].status, EventStatus.sent);