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 to chalk for terminal coloring (#1895)

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ parseGherkinMessageStream is deprecated in favour of loadSources (#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 and getSupportCodeLibrary methods removed from Cli class in favour of [new API](./docs/javascript_api.md)