Releases: cucumber/cucumber-js
Releases · cucumber/cucumber-js
v7.3.2
v8.0.0-rc.1
Added
- Add
wrapPromiseWithTimeoutto public API (#1566) - Add support for user code as native ES modules
BeforeStepandAfterStephook functions now have access to thepickleStepin their argument object.--configoption to the CLI. It allows you to specify a configuration file other thancucumber.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
--retryTagFilteroption (the correct option is--retry-tag-filter) (#1713) - Remove validation that step definition functions are not generators
- Remove
--predictable-idsoption (was only used for internal testing)
v7.3.1
Deprecated
- Deprecate
setDefinitionFunctionWrapperand step definition optionwrapperOptions
Fixed
v7.3.0
Added
Changed
- All
testCasemessages 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
thisnow 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)