Cucumber.js v8.0.0-rc.3 Release Notes
Release Date: 2022-03-21 // about 2 years ago-
โ Added
- โ Add support for Node.js 17
- ๐ Cucumber Expressions now support a wider array of parameter types (see documentation)
- ๐ Improved styling and usability on report from
html
formatter - ๐ Support for customising work assignment when running in parallel (see [documentation](./docs/parallel.md#custom-work-assignment)) (#1044 #1588)
- โ Add a new option to
--format-options
:printAttachments
(see [documentation](./docs/cli.md#printing-attachments-details)) (#1136 #1721) - ๐ Support for configuration to be objects instead of argv strings, and for configuration files in ESM and JSON formats (see [documentation](./docs/configuration.md#files)) (#1952)
- ๐ New API for running Cucumber programmatically (see [documentation](./docs/javascript_api.md)) (#1955)
๐ Changed
- Switch from
colors
tochalk
for terminal coloring (#1895)
๐ Deprecated
- ๐
parseGherkinMessageStream
is deprecated in favour ofloadSources
(#1957)
๐ Fixed
- ๐ Warn users who are on an unsupported Node.js version (#1922)
- ๐ Allow formatters to finish when a Gherkin parse error is encountered (#1404 #1951)
โ Removed
- ๐
getConfiguration
,initializeFormatters
andgetSupportCodeLibrary
methods removed fromCli
class in favour of [new API](./docs/javascript_api.md)