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

Release Date: 2021-10-19 // 12 months ago
  • โž• Added

    • โž• Add wrapPromiseWithTimeout to public API (#1566)
    • โž• Add support for user code as native ES modules
    • BeforeStep and AfterStep hook functions now have access to the pickleStep in their argument object
    • ๐Ÿ“š --config option to the CLI. It allows you to specify a configuration file other than cucumber.js (see [documentation](./docs/ #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)