Skip to content

Commit

Permalink
Bump version to 5.4.5
Browse files Browse the repository at this point in the history
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
  • Loading branch information
srawlins authored and copybara-github committed Dec 4, 2024
1 parent 09782c8 commit b1edeaf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
## 5.4.5-wip
## 5.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 >= 3.3.0.
* Require analyzer 6.4.1.
* Add support for extension types.
* Require dart_style >= 2.3.7, so that the current Dart language version can be
* Require Dart SDK ^3.6.0-0.
* Require analyzer ^6.9.0.
* Require build_runner ^2.4.11.
* Require dart_style ^2.3.7, so that the current Dart language version can be
passed to `DartFormatter`.
* Add support for extension types.
* Add topics to `pubspec.yaml`.
* Fix a bug where type aliases in type arguments were not correctly
resolved.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const packageVersion = '5.4.5-wip';
const packageVersion = '5.4.5';
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: mockito
version: 5.4.5-wip
version: 5.4.5
description: >-
A mock framework inspired by Mockito with APIs for Fakes, Mocks,
behavior verification, and stubbing.
Expand All @@ -10,10 +10,10 @@ topics:
- mocking

environment:
sdk: ^3.3.0
sdk: ^3.6.0-0

dependencies:
analyzer: '>=6.4.1 <7.0.0'
analyzer: '>=6.9.0 <7.0.0'
build: ^2.0.0
code_builder: ^4.5.0
collection: ^1.15.0
Expand All @@ -25,7 +25,7 @@ dependencies:
test_api: '>=0.2.1 <0.8.0'

dev_dependencies:
build_runner: ^2.0.0
build_runner: ^2.4.11
build_test: ^2.0.0
build_web_compilers: '>=3.0.0 <5.0.0'
http: ^1.0.0
Expand Down

0 comments on commit b1edeaf

Please sign in to comment.