Releases: dart-lang/mockito
Releases · dart-lang/mockito
package:mockito v5.4.5
- 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 toDartFormatter
. - 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
Default No Mirrors
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
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.