Release mockito 5.2.0 Minor version release, as annotating imports and exports is a new feature. PiperOrigin-RevId: 449051035
diff --git a/CHANGELOG.md b/CHANGELOG.md index fa777d4..8c4c089 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,8 +1,9 @@ -## 5.1.1-dev +## 5.2.0 * Fix generation of methods with return type of `FutureOr<T>` for generic, potentially nullable `T`. * Support `@GenerateMocks` annotations on `import` and `export` directives. +* Support analyzer 4.x. ## 5.1.0 @@ -29,7 +30,7 @@ * Do not needlessly implement `toString` unless the class-to-mock implements `toString` with additional parameters. [#461](https://github.com/dart-lang/mockito/issues/461) -* Support analyzer 3.x +* Support analyzer 3.x. ## 5.0.16 @@ -71,7 +72,7 @@ * Override `toString` in a Fake implementation when the class-to-be-faked has a superclass which overrides `toString` with additional parameters. [#371](https://github.com/dart-lang/mockito/issues/371) -* Support analyzer 2.0.0 +* Support analyzer 2.x. ## 5.0.11
diff --git a/lib/src/version.dart b/lib/src/version.dart index 5726645..9c84309 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart
@@ -1 +1 @@ -const packageVersion = '5.1.1-dev'; +const packageVersion = '5.2.0';
diff --git a/pubspec.yaml b/pubspec.yaml index 499fe54..91ce991 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,5 +1,5 @@ name: mockito -version: 5.1.1-dev +version: 5.2.0 description: >- A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.