Releases: cucumber/cucumber-js
Releases · cucumber/cucumber-js
v8.3.1
v8.3.0
Added
- Add
willBeRetried
to the parameter passed toAfter
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
Changed
- Use latest HTML formatter with better handling for scenario outlines
v8.2.1
v8.2.0
v8.1.2
v8.1.1
v8.1.0
Added
- Add support for named hooks (see documentation) (#1994)
- Add generics support for world parameters type in world-related interfaces and classes (see documentation) (#1968 #2002)
Changed
- Rename the
cucumber-js
binary's underlying file to becucumber.js
, so it doesn't fall foul of Node.js module conventions and plays nicely with ESM loaders (see documentation) (#1993)
Fixed
v8.0.0
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)
How to upgrade from 7.x.x: https://github.com/cucumber/cucumber-js/blob/main/UPGRADING.md
Full changelog including release candidates: https://github.com/cucumber/cucumber-js/blob/main/CHANGELOG.md
v8.0.0-rc.3
Added
- 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 (#1044 #1588)
- Add a new option to
--format-options
:printAttachments
(see documentation) (#1136 #1721) - Support for configuration to be objects instead of argv strings, and for configuration files in ESM and JSON formats (#1952)
- New API for running Cucumber programmatically (see documentation) (#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 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