All Versions
143
Latest Version
Avg Release Cycle
25 days
Latest Release
666 days ago

Changelog History
Page 2

  • v8.3.0 Changes

    June 11, 2022

    โž• Added

    • โž• Add willBeRetried to the parameter passed to After hook functions (#2045)

    ๐Ÿ”„ Changed

    • ๐Ÿšš defineStep is now deprecated and will eventually be removed; use the appropriate Given/When/Then keyword to define your step (#2044)

    ๐Ÿ›  Fixed

    • Prevent outputting ANSI escapes to stderr if it can't display them (#2035)
  • v8.2.2 Changes

    May 27, 2022

    ๐Ÿ”„ Changed

    • โœ… Use latest HTML formatter with better handling for scenario outlines
  • v8.2.1 Changes

    May 14, 2022

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix return type of step hook function to allow async functions (#2038)
  • v8.2.0 Changes

    May 05, 2022

    ๐Ÿ”„ Changed

    • ๐Ÿ›  Fix issues with colored output, support FORCE_COLOR environment variable as an override (#2026)
  • v8.1.2 Changes

    April 22, 2022

    โž• Added

    • ๐Ÿ‘ Explicit support for Node.js 18 (#2007)

    ๐Ÿ›  Fixed

    • Re-add cucumber-js bin file for backwards compatibility (#2008)
  • v8.1.1 Changes

    April 20, 2022

    ๐Ÿ›  Fixed

    • Capture dependency on @cucumber/message-streams to satisfy peer requirement from @cucumber/gherkin-streams (#2006)
  • v8.1.0 Changes

    April 20, 2022

    โž• Added

    • โž• Add support for named hooks (see [documentation](./docs/support_files/hooks.md#named-hooks)) (#1994)
    • โž• Add generics support for world parameters type in world-related interfaces and classes (see [documentation](./docs/support_files/world.md#typescript)) (#1968 #2002)

    ๐Ÿ”„ Changed

    • ๐Ÿ“š Rename the cucumber-js binary's underlying file to be cucumber.js, so it doesn't fall foul of Node.js module conventions and plays nicely with ESM loaders (see [documentation](./docs/esm.md#transpiling)) (#1993)

    ๐Ÿ›  Fixed

    • Correctly escape backslashes in generated expressions for snippets (#1324 #1995)
  • v8.0.0 Changes

    April 06, 2022

    ๐Ÿ”„ Changed

    • โœ… Emit a warning when using a Node.js version that's untested with Cucumber (#1959)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Allow file:// URLs to be used as formatter/snippet paths in options (#1963 #1920)
    • ๐Ÿ‘ Allow custom formatters to rely on --require-module transpilers (#1985)
  • v8.0.0-rc.3 Changes

    March 21, 2022

    โž• 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)
  • v8.0.0-rc.2 Changes

    January 10, 2022

    โž• Added

    • Export cucumber version number. It is now possible to retrieve the current version of cucumber using import { version } from '@cucumber/cucumber'. (PR#1866 Issue#1853)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ท Switched to new @cucumber/ci-environment library for CI detection (#1868)

    ๐Ÿ›  Fixed

    • ๐Ÿ– Handles spaces in paths for developers working on cucumbers's own code (#1845)
    • ๐Ÿ“ฆ Ensure package.json can be imported by consuming projects (PR#1870 Issue#1869)
    • ๐Ÿ‘ Allows for parentheses in paths for developers working on cucumber's own code ([#1735])
    • ๐Ÿ Smoother onboarding for Windows developers (#1863)
    • ๐Ÿ”’ Pin colors to 1.4.0 to fix security vulnerability (#1884)
    • ๐Ÿ”’ Pin cli-table3 to 0.6.1 to fix security vulnerability (#251)