Skip to content

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

Merged
involvex merged 1 commit into
mainfrom
dependabot/pub/mockito-5.8.1
Nov 7, 2026
Merged

involvex merged 1 commit into
mainfrom
dependabot/pub/mockito-5.8.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 7, 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 @github

dependabot Bot commented on behalf of github Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, pub. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@changeset-bot

changeset-bot Bot commented Nov 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3659b04

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@involvex
involvex merged commit 15fc675 into main Nov 7, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/pub/mockito-5.8.1 branch November 7, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant