Releases: VeryGoodOpenSource/mockingjay
Releases · VeryGoodOpenSource/mockingjay
v0.6.0
v0.5.0
- chore(deps): bump very_good_analysis from 4.0.0+1 to 5.1.0 (#56)
- chore: update Very Good Analysis to 5.1.0 (#57)
- chore: updated sdk constraints for example (#60)
- docs: update installation instructions readme (#61)
- fix!: Updates for Flutter 3.16.0/Dart 3.2 (#65)
Migration details
This breaking change now requires users to mock the canPop
method since it is being used internally by Flutter 3.16.0 (see flutter/flutter#132249).
final navigator = MockNavigator();
when(navigator.canPop).thenReturn(true); // New, previously not always required.
In addition, if you were verifying the canPop
calls you should now expect an additional call.
verify(() => navigator.canPop()).called(1); // New, previously not always required.
await tester.tap(find.byType(TextButton));
verify(() => navigator.canPop()).called(1)
v0.4.0
- feat: support for
mocktail ^1.0.0
- feat: support for
flutter 3.13.0
- feat: sdk constraint to include Dart 3
v0.3.0
v0.3.0-dev.1
- feat: support for
mocktail ^0.3.0
v0.2.0
- feat: add mock call for
canPop
(thanks @allisonryan0002!) - feat: add mock call for
maybePop
(thanks @korzonkiee!) - feat: add
whereSettings
,whereName
,whereArguments
,whereMaintainState
andwhereFullscreenDialog
matcher arguments toisRoute
matcher - DEPRECATE: fix:
named
argument onisRoute
deprecated in favor ofwhereName
v0.2.0-dev.2
- feat: add mock call for
maybePop
(thanks @korzonkiee!)
v0.2.0-dev.1
- feat: add
whereSettings
,whereName
,whereArguments
,whereMaintainState
andwhereFullscreenDialog
matcher arguments toisRoute
matcher - DEPRECATE: fix:
named
argument onisRoute
deprecated in favor ofwhereName