Skip to content

Releases: VeryGoodOpenSource/mockingjay

v0.6.0

27 Aug 14:31
75dd735
Compare
Choose a tag to compare
  • chore: sync min Dart SDK with min Flutter SDK (#70)
  • chore: tighten dependencies (#74)

v0.5.0

22 Nov 12:15
827a911
Compare
Choose a tag to compare
  • 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

20 Sep 12:00
290371f
Compare
Choose a tag to compare
  • feat: support for mocktail ^1.0.0
  • feat: support for flutter 3.13.0
  • feat: sdk constraint to include Dart 3

v0.3.0

04 Apr 19:43
37d8e5a
Compare
Choose a tag to compare
  • feat: support for mocktail ^0.3.0

v0.3.0-dev.1

03 Mar 18:19
Compare
Choose a tag to compare
v0.3.0-dev.1 Pre-release
Pre-release
  • feat: support for mocktail ^0.3.0

v0.2.0

30 Nov 17:36
aba4273
Compare
Choose a tag to compare
  • feat: add mock call for canPop (thanks @allisonryan0002!)
  • feat: add mock call for maybePop (thanks @korzonkiee!)
  • feat: add whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matcher
  • DEPRECATE: fix: named argument on isRoute deprecated in favor of whereName

v0.2.0-dev.2

13 Oct 16:40
Compare
Choose a tag to compare
v0.2.0-dev.2 Pre-release
Pre-release
  • feat: add mock call for maybePop (thanks @korzonkiee!)

v0.2.0-dev.1

11 Oct 19:24
Compare
Choose a tag to compare
v0.2.0-dev.1 Pre-release
Pre-release
  • feat: add whereSettings, whereName, whereArguments, whereMaintainState and whereFullscreenDialog matcher arguments to isRoute matcher
  • DEPRECATE: fix: named argument on isRoute deprecated in favor of whereName

v0.1.1

09 Sep 14:41
34aabab
Compare
Choose a tag to compare

v0.1.0

13 Jul 21:10
0e879a6
Compare
Choose a tag to compare
  • feat: initial release 🎉