Skip to content

Releases: dart-lang/mockito

package:mockito v5.4.5

18 Dec 19:55
5cb8433
Compare
Choose a tag to compare
  • Ignore "must_be_immutable" warning in generated files. Mocks cannot be made
    immutable anyway, but this way users aren't prevented from using generated
    mocks altogether.
  • Require Dart SDK ^3.6.0.
  • Require analyzer: '>=6.9.0 <8.0.0'.
  • Require dart_style: '>=2.3.7 <4.0.0', so that the current Dart language
    version can be passed to DartFormatter.
  • Require source_gen: ">=1.4.0 <3.0.0".
  • Add support for extension types.
  • Add topics to pubspec.yaml.
  • Fix a bug where type aliases in type arguments were not correctly
    resolved.
  • Fix a bug where record types were not correctly resolved.

2.2.1

15 Dec 01:32
6dba14a
Compare
Choose a tag to compare
Remove Dev from the pubspec version

Default No Mirrors

09 Oct 23:07
Compare
Choose a tag to compare
Default No Mirrors Pre-release
Pre-release

Moved the default release to not contain mirrors. This is since Web and Flutter targets will not support mirrors. Mockito can still be used with mirrors, but will need to import mirrors.dart. This is only needed for the spy functionality.

Stable Release

10 Aug 16:57
Compare
Choose a tag to compare

No breaking changes in this release. Bumping the version number as the library has matured to point of release.

Added support for environments that cannot use mirrors (flutter,) and features for Strong mode development.