Cucumber.js v8.0.0-rc.1 Release Notes
Release Date: 2021-10-19 // over 2 years ago-
โ 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 [documentation](./docs/profiles.md#using-another-file-than-cucumberjs)) #1794
๐ Changed
- Relative paths for custom snippet syntaxes must begin with
.
(#1640) - Absolute paths for custom formatters and snippet syntaxes must be a valid
file://
URL - ๐ Use performance timers for test case duration measurement #1793
๐ Fixed
- ๐ Allow targeting 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)
- โ Add