Skip to content

Bump github.com/dogmatiq/testkit from 0.22.2 to 0.23.0 - #243

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/dogmatiq/testkit-0.23.0
Nov 2, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/dogmatiq/testkit-0.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/dogmatiq/testkit from 0.22.2 to 0.23.0.

Release notes

Sourced from github.com/dogmatiq/testkit's releases.

Version 0.23.0

Added

  • Added fact.DispatchCycleSkipped, which the engine emits in place of fact.DispatchCycleBegun when a dispatched message can not be routed to any handler. Its Reason is either fact.UnroutedMessageType or fact.OutboundOnlyMessageType.

Changed

  • [BC] engine.Engine.Dispatch() and engine.CommandExecutor now return an error, instead of panicking, when the message type is not handled by any handler.
  • Test.Expect() now logs the expectation's test report before failing the test when the action returns an error. For a message that is not handled by any handler, the report explains why and suggests the route to add.
  • Bumped Dapper to v0.7.0. Protobuf messages that use the "opaque" API are now rendered in test reports using their field names, without the xxx_hidden_ prefix.

Fixed

  • ExecuteCommand() and RecordEvent() no longer cause an engine panic when the message type only appears in outbound routes, such as a command that a process executes but that no aggregate or integration handles.
  • Fixed the panic message produced by ExecuteCommand() when passed an invalid command, which incorrectly referred to ToRecordEvent().
  • Fixed a panic in Test.Expect() when a value passed to Test.Annotate() has the same type as a hidden field of a protobuf message that uses the "opaque" API.
Changelog

Sourced from github.com/dogmatiq/testkit's changelog.

[0.23.0] - 2026-10-28

Added

  • Added fact.DispatchCycleSkipped, which the engine emits in place of fact.DispatchCycleBegun when a dispatched message can not be routed to any handler. Its Reason is either fact.UnroutedMessageType or fact.OutboundOnlyMessageType.

Changed

  • [BC] engine.Engine.Dispatch() and engine.CommandExecutor now return an error, instead of panicking, when the message type is not handled by any handler.
  • Test.Expect() now logs the expectation's test report before failing the test when the action returns an error. For a message that is not handled by any handler, the report explains why and suggests the route to add.
  • Bumped Dapper to v0.7.0. Protobuf messages that use the "opaque" API are now rendered in test reports using their field names, without the xxx_hidden_ prefix.

Fixed

  • ExecuteCommand() and RecordEvent() no longer cause an engine panic when the message type only appears in outbound routes, such as a command that a process executes but that no aggregate or integration handles.
  • Fixed the panic message produced by ExecuteCommand() when passed an invalid command, which incorrectly referred to ToRecordEvent().
  • Fixed a panic in Test.Expect() when a value passed to Test.Annotate() has the same type as a hidden field of a protobuf message that uses the "opaque" API.
Commits
  • 0843dfe Bump version to v0.23.0
  • 85b95fa Report unhandled message types via a DispatchCycleSkipped fact.
  • 5b4e103 Fail the real test when expectReport() detects a mismatch.
  • e1cae28 Fix the panic message for an invalid command passed to ExecuteCommand().
  • 0317ffd Merge pull request #485 from dogmatiq/dependabot/go_modules/github.com/dogmat...
  • de3836b Bump github.com/dogmatiq/enginekit from 0.27.1 to 0.27.5
  • 27d0f54 Merge pull request #484 from dogmatiq/dependabot/go_modules/golang.org/x/text...
  • 3e6cdeb Bump golang.org/x/text from 0.42.0 to 0.43.0
  • 37da826 Merge pull request #483 from dogmatiq/dependabot/go_modules/github.com/dogmat...
  • d1c2032 Bump github.com/dogmatiq/enginekit from 0.27.0 to 0.27.1
  • 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 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 [github.com/dogmatiq/testkit](https://github.com/dogmatiq/testkit) from 0.22.2 to 0.23.0.
- [Release notes](https://github.com/dogmatiq/testkit/releases)
- [Changelog](https://github.com/dogmatiq/testkit/blob/main/CHANGELOG.md)
- [Commits](dogmatiq/testkit@v0.22.2...v0.23.0)

---
updated-dependencies:
- dependency-name: github.com/dogmatiq/testkit
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 2, 2026
@github-actions
github-actions Bot enabled auto-merge November 2, 2026 06:57
@github-actions
github-actions Bot merged commit 1d3d43e into main Nov 2, 2026
11 checks passed
@github-actions
github-actions Bot deleted the dependabot/go_modules/github.com/dogmatiq/testkit-0.23.0 branch November 2, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants