Update module github.com/goyek/goyek/v2 to v3 #132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.3.0→v3.0.1Release Notes
goyek/goyek (github.com/goyek/goyek/v2)
v3.0.1: 3.0.1Compare Source
This patch release improves documentation.
v3.0.0: 3.0.0Compare Source
This major release improves the command-line interface and changes the
A.Contextbehavior to matchtesting.T.Context.Migration Guide from v2 to v3
Module Path Change
Update your import statements and
go.mod.Command Line Syntax Change
The recommended command line syntax changed from
[flags] [--] [tasks]to[tasks] [flags] [--] [args].Context Behavior Change
A.Contextis now canceled just before cleanup functions are called. If your cleanup functions depend on the context being active, they will continue to work. If your code depended on the context remaining active after cleanup, it will need adjustment.Added
SplitTasksfunction to split command line arguments into tasks and rest. This allows tasks to come before flags and usage of positional arguments.Changed
github.com/goyek/goyek/v3.A.Contextbehavior to be canceled just before cleanup functions are called, matchingtesting.T.Contextbehavior. The context still cancels when the original context is canceled (e.g. flow interruption). This ensures cleanup functions can wait for resources that shut down oncontext.Context.Donebefore the task action completes.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.