Skip to content

Commit b1edeaf

Browse files
srawlinscopybara-github
authored andcommitted
Bump version to 5.4.5
Also bump some dep constraints: * analyzer ^6.9.0 is required as mockito uses some APIs that were introduced in that version. * That version of analyzer requires a Dart 3.6.0 SDK, so bump that constraint. * build_runner ^6.11.0 is required to avoid an issue looking for the wrong frontend_server snapshot. PiperOrigin-RevId: 702747878
1 parent 09782c8 commit b1edeaf

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
## 5.4.5-wip
1+
## 5.4.5
22

33
* Ignore "must_be_immutable" warning in generated files. Mocks cannot be made
44
immutable anyway, but this way users aren't prevented from using generated
55
mocks altogether.
6-
* Require Dart >= 3.3.0.
7-
* Require analyzer 6.4.1.
8-
* Add support for extension types.
9-
* Require dart_style >= 2.3.7, so that the current Dart language version can be
6+
* Require Dart SDK ^3.6.0-0.
7+
* Require analyzer ^6.9.0.
8+
* Require build_runner ^2.4.11.
9+
* Require dart_style ^2.3.7, so that the current Dart language version can be
1010
passed to `DartFormatter`.
11+
* Add support for extension types.
1112
* Add topics to `pubspec.yaml`.
1213
* Fix a bug where type aliases in type arguments were not correctly
1314
resolved.

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const packageVersion = '5.4.5-wip';
1+
const packageVersion = '5.4.5';

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: mockito
2-
version: 5.4.5-wip
2+
version: 5.4.5
33
description: >-
44
A mock framework inspired by Mockito with APIs for Fakes, Mocks,
55
behavior verification, and stubbing.
@@ -10,10 +10,10 @@ topics:
1010
- mocking
1111

1212
environment:
13-
sdk: ^3.3.0
13+
sdk: ^3.6.0-0
1414

1515
dependencies:
16-
analyzer: '>=6.4.1 <7.0.0'
16+
analyzer: '>=6.9.0 <7.0.0'
1717
build: ^2.0.0
1818
code_builder: ^4.5.0
1919
collection: ^1.15.0
@@ -25,7 +25,7 @@ dependencies:
2525
test_api: '>=0.2.1 <0.8.0'
2626

2727
dev_dependencies:
28-
build_runner: ^2.0.0
28+
build_runner: ^2.4.11
2929
build_test: ^2.0.0
3030
build_web_compilers: '>=3.0.0 <5.0.0'
3131
http: ^1.0.0

0 commit comments

Comments
 (0)