npm @cucumber/cucumber 8.0.0-rc.1
v8.0.0-rc.1

latest releases: 10.8.0, 10.7.0, 10.6.0...
2 years ago

Added

  • Add wrapPromiseWithTimeout to public API (#1566)
  • Add support for user code as native ES modules
  • BeforeStep and AfterStep hook functions now have access to the pickleStep in their argument object.
  • --config option to the CLI. It allows you to specify a configuration file other than cucumber.js.
    See docs/profiles.md for more info.
    #1794

Changed

  • Relative paths for custom snippet syntaxes must begin with . (#1640)
  • Use performance timers for test case duration measurement.
    #1793

Fixed

  • Allow targetting same file multiple times (#1708)
  • When running with --dry-run, undefined or ambiguous steps no longer cause the process to exit with code 1. (#1814)
  • When running the help command, it now shows all available formatters under the --format option.
    #1798

Removed

  • Drop support for Node.js 10 and 15, add support for Node.js 16
  • Remove deprecated --retryTagFilter option (the correct option is --retry-tag-filter) (#1713)
  • Remove validation that step definition functions are not generators
  • Remove --predictable-ids option (was only used for internal testing)

Don't miss a new cucumber release

NewReleases is sending notifications on new releases.