Skip to content

Releases: cucumber/godog

v0.15.0

31 Oct 18:06
Compare
Choose a tag to compare

What's Changed

  • fix(deps): update module github.com/cucumber/godog to v0.14.1 by @renovate in #618
  • Update CI and Makefile by @vearutop in #619
  • added support for Attachments (aka Embedddings) by @Johnlon in #623
  • Moved CHANGHELOG entry to correct location by @Johnlon in #626
  • Additional code review observations on Attach() functionality from #623 by @Johnlon in #628
  • provisional: Attachments now uses base64 padding not raw mode by @Johnlon in #629
  • ambiguous step def detection akin to cucumber jvm by @Johnlon in #636
  • fixed a bug where the attachments are extracted from the context too early, this prevented AfterStep from making attachments by @Johnlon in #637
  • Minor doc and comment corrections by @Johnlon in #644
  • Bugfix afterscenario attachments by @Johnlon in #646
  • Fix some type checks on the signatures of nested step handlers by @Johnlon in #647
  • Ambiguous step detection - add support to all formatters by @Johnlon in #648

New Contributors

Full Changelog: v0.14.1...v0.1.15

gorelease report:

# github.com/cucumber/godog
## incompatible changes
NewBaseFmt: changed from func(string, io.Writer) *github.com/cucumber/godog/internal/formatters.Base to func(string, io.WriteCloser) *github.com/cucumber/godog/internal/formatters.Base
NewCukeFmt: changed from func(string, io.Writer) *github.com/cucumber/godog/internal/formatters.Cuke to func(string, io.WriteCloser) *github.com/cucumber/godog/internal/formatters.Cuke
NewEventsFmt: changed from func(string, io.Writer) *github.com/cucumber/godog/internal/formatters.Events to func(string, io.WriteCloser) *github.com/cucumber/godog/internal/formatters.Events
NewJUnitFmt: changed from func(string, io.Writer) *github.com/cucumber/godog/internal/formatters.JUnit to func(string, io.WriteCloser) *github.com/cucumber/godog/internal/formatters.JUnit
NewPrettyFmt: changed from func(string, io.Writer) *github.com/cucumber/godog/internal/formatters.Pretty to func(string, io.WriteCloser) *github.com/cucumber/godog/internal/formatters.Pretty
NewProgressFmt: changed from func(string, io.Writer) *github.com/cucumber/godog/internal/formatters.Progress to func(string, io.WriteCloser) *github.com/cucumber/godog/internal/formatters.Progress
## compatible changes
Attach: added
Attachment: added
Attachments: added
ErrAmbiguous: added
ExitFailure: added
ExitOptionError: added
ExitSuccess: added
NopCloser: added
RunResult: added
StepAmbiguous: added
TestSuite.RunWithResult: added

# github.com/cucumber/godog/colors
## incompatible changes
Colored: changed from func(io.Writer) io.Writer to func(io.WriteCloser) io.WriteCloser
Uncolored: changed from func(io.Writer) io.Writer to func(io.WriteCloser) io.WriteCloser

# github.com/cucumber/godog/formatters
## incompatible changes
Formatter.Ambiguous: added
Formatter.Close: added
FormatterFunc: changed from func(string, io.Writer) Formatter to func(string, io.WriteCloser) Formatter

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

v0.14.1

29 Apr 08:50
095a19b
Compare
Choose a tag to compare

What's Changed

  • Prepare CHANGELOG.md for new release by @glibas in #606
  • fix(deps): update module github.com/cucumber/godog to v0.14.0 by @renovate in #610
  • Create releasing guidelines by @glibas in #608
  • chore(deps): update dominikh/staticcheck-action action to v1.3.1 by @renovate in #614
  • Fix step duration calculation by @iaroslav-ciupin in #616
  • chore(deps): update codecov/codecov-action action to v4 by @renovate in #607
  • chore(deps): update actions/cache action to v4 by @renovate in #598
  • fix invalid memory address or nil pointer dereference in RetrieveFeatures by @corneldamian in #566
  • Provide a useful implementation of something compatible with testing.T by @mrsheepuk in #571

New Contributors

Full Changelog: v0.14.0...v0.14.1

v0.14.0

31 Jan 16:39
250d69a
Compare
Choose a tag to compare

What's Changed

  • fix(deps): update module github.com/cucumber/godog to v0.13.0 by @renovate in #574
  • chore(deps): update actions/checkout action to v4 by @renovate in #575
  • chore(deps): update codecov/codecov-action action to v4 by @renovate in #576
  • Update test.yml by @vearutop in #583
  • updated base formatter to set a scenario as passed unless there exist… by @roskee in #582
  • Improve ErrSkip handling, add test for Summary and operations order by @vearutop in #584
  • chore(deps): update actions/setup-go action to v5 by @renovate in #588
  • Remove duplicate warning message by @vearutop in #590
  • Fixes #604 - remove line overwriting for scenario outlines in cucumber formatter by @glibas in #605

New Contributors

Full Changelog: v0.13.0...v0.14.0

What's Changed

  • fix(deps): update module github.com/cucumber/godog to v0.13.0 by @renovate in #574
  • chore(deps): update actions/checkout action to v4 by @renovate in #575
  • chore(deps): update codecov/codecov-action action to v4 by @renovate in #576
  • Update test.yml by @vearutop in #583
  • updated base formatter to set a scenario as passed unless there exist… by @roskee in #582
  • Improve ErrSkip handling, add test for Summary and operations order by @vearutop in #584
  • chore(deps): update actions/setup-go action to v5 by @renovate in #588
  • Remove duplicate warning message by @vearutop in #590
  • Fixes #604 - remove line overwriting for scenario outlines in cucumber formatter by @glibas in #605

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

22 Aug 12:31
Compare
Choose a tag to compare

What's Changed

  • chore(*): BREAKING CHANGE, use new repos for cucumber and messages by @otrava7 in #515
  • Configure Renovate by @renovate in #512
  • fix(deps): update module github.com/cucumber/godog to v0.12.6 by @renovate in #520
  • chore(deps): update codecov/codecov-action action to v3 by @renovate in #530
  • chore(deps): update actions/checkout action to v3 by @renovate in #528
  • chore(deps): update actions/setup-go action to v3 by @renovate in #529
  • chore(deps): update actions/cache action to v3 by @renovate in #527
  • fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.0.3 by @renovate in #519
  • fix(deps): update module github.com/data-dog/go-txdb to v0.1.5 by @renovate in #522
  • fix(deps): update module github.com/go-sql-driver/mysql to v1.7.0 by @renovate in #524
  • fix(deps): update module github.com/hashicorp/go-memdb to v1.3.4 by @renovate in #523
  • fix(deps): update module github.com/spf13/cobra to v1.6.1 by @renovate in #526
  • fix(deps): update module github.com/smartystreets/goconvey to v1.7.2 by @renovate in #525
  • Setup Renovate with default Configs by @mpkorstanje in #531
  • Implement unambiguous keywords by @otrava7 in #509
  • docs(*): correct example by @otrava7 in #538
  • fix(deps): update module github.com/data-dog/go-txdb to v0.1.6 by @renovate in #540
  • fix(deps): update module github.com/stretchr/testify to v1.8.2 by @renovate in #541
  • chore(deps): update actions/setup-go action to v4 by @renovate in #546
  • docs: prefer go test to use of godog cli in README by @danielhelfand in #548
  • Use fs.FS abstraction for filesystem by @tigh-latte in #550
  • Result of testing.T respect strict option by @eiel in #539
  • Update CI for go1.20 by @vearutop in #552
  • fix(deps): update module github.com/cucumber/gherkin/go/v26 to v26.1.0 by @renovate in #549
  • cancel context for each scenario by @draganm in #514
  • Use staticcheck GitHub Action by @vearutop in #563
  • refactor: test_context.go by @longyue0521 in #564
  • Improve hooks invocation flow by @vearutop in #568
  • fix(examples): update api example by @forward32 in #532
  • Improve example with concurrency support by @vearutop in #573

New Contributors

Full Changelog: v0.12.6...v0.13.0

v0.12.6

05 Jan 10:00
9007f1f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.5...v0.12.6

v0.12.5

26 Mar 09:19
Compare
Choose a tag to compare

Changed

  • Changed underlying cobra command setup to return errors instead of calling os.Exit directly to enable simpler testing. (454 - @mxygem)
  • Remove use of deprecated methods from _examples. (460 - @ricardogarfe)

Fixed

v0.12.4

12 Jan 22:45
30de46d
Compare
Choose a tag to compare

Added

  • Allow suite-level configuration of steps and hooks (453 - vearutop)

Changed

  • Run scenarios in the same goroutine if concurrency is disabled (453 - vearutop)

v0.12.3

05 Jan 22:08
a6fef3f
Compare
Choose a tag to compare

Added

  • Automated binary releases with GitHub Actions (437 - vearutop)
  • Automated binary versioning with go install (437 - vearutop)
  • Module with local replace in examples (437 - vearutop)

Changed

  • Suggest to use go install instead of the deprecated go get to install the godog binary (449 - dmitris)

Fixed

  • After Scenario hook is called before After Step (444 - vearutop)
  • check-go-version in Makefile to run on WSL. (443 - mxygem)

v0.12.2

14 Oct 17:26
86a5635
Compare
Choose a tag to compare
Fix compilation for non-modules (#436)

v0.12.1

26 Aug 22:15
Compare
Choose a tag to compare

Fixed

  • Unintended change of behavior in before step hook (424)