chore: Bump version
This commit is contained in:
parent
780d7daf38
commit
c82ae911db
|
|
@ -1,3 +1,9 @@
|
|||
## [0.8.1] - 03nd Feb 2022
|
||||
- refactor: Implement on history received in timeline
|
||||
- fix: null-safety issues with widgets
|
||||
- fix: Trigger onChange for index on aggregation event update
|
||||
- feat: implement to get a room's widgets
|
||||
|
||||
## [0.8.0] - 25nd Jan 2022
|
||||
- BREAKING CHANGE: high-level hadling of image sizes
|
||||
- feat: expose Timeline.onChange to Room.getTimeline
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: matrix
|
||||
description: Matrix Dart SDK
|
||||
version: 0.8.0
|
||||
version: 0.8.1
|
||||
homepage: https://famedly.com
|
||||
repository: https://gitlab.com/famedly/company/frontend/famedlysdk.git
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ void main() {
|
|||
final insertList = <int>[];
|
||||
final changeList = <int>[];
|
||||
final removeList = <int>[];
|
||||
final historyRequestList = <int>[];
|
||||
var olmEnabled = true;
|
||||
|
||||
late Client client;
|
||||
|
|
@ -59,6 +60,7 @@ void main() {
|
|||
onInsert: insertList.add,
|
||||
onChange: changeList.add,
|
||||
onRemove: removeList.add,
|
||||
onHistoryReceived: historyRequestList.add,
|
||||
);
|
||||
});
|
||||
|
||||
|
|
@ -291,7 +293,8 @@ void main() {
|
|||
await Future.delayed(Duration(milliseconds: 50));
|
||||
|
||||
expect(updateCount, 20);
|
||||
expect(insertList, [0, 0, 0, 0, 0, 1, 2, 0, 0, 1, 2]);
|
||||
expect(insertList, [0, 0, 0, 0, 0, 1, 2, 0]);
|
||||
expect(historyRequestList, []);
|
||||
expect(timeline.events.length, 3);
|
||||
expect(timeline.events[0].eventId, '3143273582443PhrSn:example.org');
|
||||
expect(timeline.events[1].eventId, '2143273582443PhrSn:example.org');
|
||||
|
|
|
|||
Loading…
Reference in New Issue