Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.

Bump mockito from 5.2.0 to 5.4.2 - #61

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/mockito-5.4.2
Closed

Bump mockito from 5.2.0 to 5.4.2#61
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/mockito-5.4.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 22, 2024

Copy link
Copy Markdown
Contributor

Bumps mockito from 5.2.0 to 5.4.2.

Changelog

Sourced from mockito's changelog.

5.4.2

  • Require code_builder 4.5.0.
  • Add support for records.
  • Fixed the bug with missing imports for unused type alias arguments.

5.4.1

  • Deprecate the mixingIn argument to MockSpec. Best practice is to avoid any concrete implementation in classes which extend Mock.
  • Fixed generation for clashing type variable names.
  • Require Dart >= 2.19.0.
  • Require analyzer 5.11.0.
  • Fail to generate mocks of sealed/base/final classes.
  • Add new thenReturnInOrder method to mock multiple calls to a single method in order.
  • Add provideDummy/provideDummyBuilder functions for users to supply dummy values to Mockito, to cover cases where codegen can't create one.
  • Allow generating mocks for classes with methods/getters returning non-nullable unknown types.

5.4.0

  • Fix nice mocks generation in mixed mode (generated code is pre null-safety, while mocked class is null-safe).
  • Support typedef-aliased classes in @GenerateMocks and @GenerateNiceMocks
  • Breaking Default generate_for to test/**. Projects that are generating mocks for libraries outside of the test/ directory should add an explicit generate_for argument to include files with mock generating annotations.
  • Require Dart >= 2.17.0.
  • Require analyzer 5.2.0.

5.3.2

  • Support analyzer 5.0.0.

5.3.1

  • Fix analyzer and code_builder dependencies.
  • Reference @GenerateNiceMocks in documentation.
  • Allow generating a mock class which includes overriding members with private types in their signature. Such members cannot be stubbed with mockito, and will only be generated when specified in MockSpec unsupportedMembers.
  • Include required keyword in functions used as default return values.

5.3.0

  • Introduce a new MockSpec parameter, onMissingStub, which allows specifying three actions to take when a real call is made to a mock method with no matching stub. The two existing behaviors are the default

... (truncated)

Commits
  • 1d6064a Prepare to publish
  • cca4858 Fix the unresolved types if used as ignored type-alias arguments
  • 8652886 Prepare for NamedType breaking change in the analyzer.
  • 924f65c Add support for records
  • 40fe2ca Expand constraint on package:http
  • 153c145 Fix violations of prefer_final_locals, prefer_final_in_for_each lints
  • 6e046f9 Don't try to fake unfakable classes
  • 6e778ea Prepare to publish
  • dc58855 Don't abort codegen on return type being a type variable
  • 7c6d309 blast_repo fixes
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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/mockito) from 5.2.0 to 5.4.2.
- [Release notes](https://github.com/dart-lang/mockito/releases)
- [Changelog](https://github.com/dart-lang/mockito/blob/master/CHANGELOG.md)
- [Commits](dart-archive/mockito@5.2.0...5.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Jan 22, 2024
@dependabot
dependabot Bot requested a review from blendthink January 22, 2024 18:51
@blendthink blendthink closed this Jul 31, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pub/mockito-5.4.2 branch July 31, 2026 11:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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