Skip to content

chore(deps): bump mockito from 5.7.0 to 5.8.1 - #71

Merged
TheRealAgentK merged 2 commits into
mainfrom
dependabot/pub/mockito-5.8.1
Sep 2, 2026
Merged

chore(deps): bump mockito from 5.7.0 to 5.8.1#71
TheRealAgentK merged 2 commits into
mainfrom
dependabot/pub/mockito-5.8.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps mockito from 5.7.0 to 5.8.1.

Release notes

Sourced from mockito's releases.

package:mockito v5.8.1

  • Cast dummy values for extension types to the extension type so they satisfy static type checking in generic return types like Future<ExtensionType>. #4590
  • Use canonical asset path in generated header comments so symlink paths are excluded. #4545
  • Deterministically select library to import when multiple libraries export the same type. #4549
  • Prefer importing public entrypoints over /src/ implementation libraries when multiple libraries export the same type. #4551
  • Throw InvalidMockitoAnnotationException with a clear message when @GenerateMocks customMocks or @GenerateNiceMocks mocks is not a list literal, instead of crashing with a type cast exception. #4428
  • Remove redundant per-class // ignore: must_be_immutable comment to prevent duplicate_ignore warnings. #4588
  • Clarify in README.md that generated .mocks.dart filenames are based on the source file name. #4599
  • Suppress experimental_member_use warnings in generated mock files. #4602
  • Document missing stub behavior for void and Future<void>.

package:mockito v5.8.0

  • Add support for JS interop extension type mock generation to mockito.
  • It is now an error to generate mocks for non-JS interop extension types. Instead, mock the representation type and cast to the extension type where needed.
  • Remove Mockito version number from generated output.
  • Allow analyzer 14.0.0.
Commits

@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Sep 1, 2026
@TheRealAgentK

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [mockito](https://github.com/dart-lang/build/tree/master/builder_pkgs) from 5.7.0 to 5.8.1.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/commits/mockito-v5.8.1/builder_pkgs)

---
updated-dependencies:
- dependency-name: mockito
  dependency-version: 5.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pub/mockito-5.8.1 branch from 1f5f8d8 to 63e9e3a Compare September 2, 2026 00:44
@TheRealAgentK
TheRealAgentK merged commit a981ecd into main Sep 2, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/pub/mockito-5.8.1 branch September 2, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant