Added
- Add
wrapPromiseWithTimeout
to public API (#1566) - Add support for user code as native ES modules
BeforeStep
andAfterStep
hook functions now have access to thepickleStep
in their argument object.--config
option 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
--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)