Skip to content

Releases: cucumber/cucumber-js

v7.3.2

04 Feb 15:58

Choose a tag to compare

Fixed

  • Pin colors to 1.4.0 to fix security vulnerability (#1884)
  • Pin cli-table3 to 0.6.1 to fix security vulnerability (#251)

v8.0.0-rc.1

19 Oct 08:27
58bdbe8

Choose a tag to compare

v8.0.0-rc.1 Pre-release
Pre-release

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)

v7.3.1

28 Jul 17:09

Choose a tag to compare

Deprecated

  • Deprecate setDefinitionFunctionWrapper and step definition option wrapperOptions

Fixed

  • Prevent duplicate scenario execution where the same feature is targeted in multiple line expressions (#1706)
  • Fixed reports banner to point to new docs about environment variables
  • Re-add color functions for use with custom formatters 1582
  • IParameterTypeDefinition regexp fix 1702

v7.3.0

17 Jun 21:49

Choose a tag to compare

Added

Changed

  • All testCase messages now emitted upfront at the start of the run (relevant for formatter authors) (#1408
    #1669)
  • Clarify that the JSON formatter will not be removed any time soon

Fixed

  • this now has correct TypeScript type in support code functions (#1667 #1690)
  • Progress bar formatter now reports total step count correctly (#1579
    #1669)
  • Rerun functionality will now run nothing if the rerun file is empty from the previous run (#1302 #1568)
  • All messages now emitted with project-relative uris
    (#1534
    #1672)
  • Json formatter now works with tagged examples
    (#1621
    #1651)