Cucumber.js v8.0.0-rc.3 Release Notes

Release Date: 2022-03-21 // 7 months 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/ (#1044 #1588)
    • โž• Add a new option to --format-options: printAttachments (see [documentation](./docs/ (#1136 #1721)
    • ๐Ÿ‘Œ Support for configuration to be objects instead of argv strings, and for configuration files in ESM and JSON formats (see [documentation](./docs/ (#1952)
    • ๐Ÿ†• New API for running Cucumber programmatically (see [documentation](./docs/ (#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/