cucumber / godog

Cucumber for golang
MIT License
2.21k stars 249 forks source link

Update dependencies #620

Open vearutop opened 2 weeks ago

vearutop commented 2 weeks ago

🤔 What's changed?

Libraries are updated to their latest versions.

⚡️ What's your motivation?

With newer versions, we can benefit from the improvements that were introduced.

🏷️ What kind of change is this?

♻️ Anything particular you want feedback on?

No.

📋 Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

github-actions[bot] commented 2 weeks ago

Go API Changes

# github.com/cucumber/godog
## incompatible changes
AfterScenarioHook: changed from func(context.Context, *github.com/cucumber/messages/go/v21.Pickle, error) (context.Context, error) to func(context.Context, *github.com/cucumber/messages/go/v24.Pickle, error) (context.Context, error)
AfterStepHook: changed from func(context.Context, *github.com/cucumber/messages/go/v21.PickleStep, github.com/cucumber/godog/internal/models.StepResultStatus, error) (context.Context, error) to func(context.Context, *github.com/cucumber/messages/go/v24.PickleStep, github.com/cucumber/godog/internal/models.StepResultStatus, error) (context.Context, error)
BeforeScenarioHook: changed from func(context.Context, *github.com/cucumber/messages/go/v21.Pickle) (context.Context, error) to func(context.Context, *github.com/cucumber/messages/go/v24.Pickle) (context.Context, error)
BeforeStepHook: changed from func(context.Context, *github.com/cucumber/messages/go/v21.PickleStep) (context.Context, error) to func(context.Context, *github.com/cucumber/messages/go/v24.PickleStep) (context.Context, error)
DocString: changed from github.com/cucumber/messages/go/v21.PickleDocString to github.com/cucumber/messages/go/v24.PickleDocString
GherkinDocument: changed from github.com/cucumber/messages/go/v21.GherkinDocument to github.com/cucumber/messages/go/v24.GherkinDocument
Scenario: changed from github.com/cucumber/messages/go/v21.Pickle to github.com/cucumber/messages/go/v24.Pickle
ScenarioContext.AfterScenario: changed from func(func(sc *github.com/cucumber/messages/go/v21.Pickle, err error)) to func(func(sc *github.com/cucumber/messages/go/v24.Pickle, err error))
ScenarioContext.AfterStep: changed from func(func(st *github.com/cucumber/messages/go/v21.PickleStep, err error)) to func(func(st *github.com/cucumber/messages/go/v24.PickleStep, err error))
ScenarioContext.BeforeScenario: changed from func(func(sc *github.com/cucumber/messages/go/v21.Pickle)) to func(func(sc *github.com/cucumber/messages/go/v24.Pickle))
ScenarioContext.BeforeStep: changed from func(func(st *github.com/cucumber/messages/go/v21.PickleStep)) to func(func(st *github.com/cucumber/messages/go/v24.PickleStep))
Step: changed from github.com/cucumber/messages/go/v21.PickleStep to github.com/cucumber/messages/go/v24.PickleStep
Table: changed from github.com/cucumber/messages/go/v21.PickleTable to github.com/cucumber/messages/go/v24.PickleTable

# github.com/cucumber/godog/formatters
## incompatible changes
Formatter.Defined: changed from func(*github.com/cucumber/messages/go/v21.Pickle, *github.com/cucumber/messages/go/v21.PickleStep, *StepDefinition) to func(*github.com/cucumber/messages/go/v24.Pickle, *github.com/cucumber/messages/go/v24.PickleStep, *StepDefinition)
Formatter.Failed: changed from func(*github.com/cucumber/messages/go/v21.Pickle, *github.com/cucumber/messages/go/v21.PickleStep, *StepDefinition, error) to func(*github.com/cucumber/messages/go/v24.Pickle, *github.com/cucumber/messages/go/v24.PickleStep, *StepDefinition, error)
Formatter.Feature: changed from func(*github.com/cucumber/messages/go/v21.GherkinDocument, string, []byte) to func(*github.com/cucumber/messages/go/v24.GherkinDocument, string, []byte)
Formatter.Passed: changed from func(*github.com/cucumber/messages/go/v21.Pickle, *github.com/cucumber/messages/go/v21.PickleStep, *StepDefinition) to func(*github.com/cucumber/messages/go/v24.Pickle, *github.com/cucumber/messages/go/v24.PickleStep, *StepDefinition)
Formatter.Pending: changed from func(*github.com/cucumber/messages/go/v21.Pickle, *github.com/cucumber/messages/go/v21.PickleStep, *StepDefinition) to func(*github.com/cucumber/messages/go/v24.Pickle, *github.com/cucumber/messages/go/v24.PickleStep, *StepDefinition)
Formatter.Pickle: changed from func(*github.com/cucumber/messages/go/v21.Pickle) to func(*github.com/cucumber/messages/go/v24.Pickle)
Formatter.Skipped: changed from func(*github.com/cucumber/messages/go/v21.Pickle, *github.com/cucumber/messages/go/v21.PickleStep, *StepDefinition) to func(*github.com/cucumber/messages/go/v24.Pickle, *github.com/cucumber/messages/go/v24.PickleStep, *StepDefinition)
Formatter.Undefined: changed from func(*github.com/cucumber/messages/go/v21.Pickle, *github.com/cucumber/messages/go/v21.PickleStep, *StepDefinition) to func(*github.com/cucumber/messages/go/v24.Pickle, *github.com/cucumber/messages/go/v24.PickleStep, *StepDefinition)

# summary
Inferred base version: v0.14.1
Suggested version: v0.15.0