Releases: badeball/cypress-cucumber-preprocessor
v19.0.1
v19.0.0
Breaking changes:
-
Run
After(..)
hooks in reversed order of definition. This is in line with how cucumber-js behaves. -
Updated all dependencies, including
@cucumber/cucumber
to v10.- String literal attachments are now base64-encoded in JSON reports, ref. cucumber/cucumber-js#2261.
Other changes:
-
Scenario hooks (
Before(..)
andAfter(..)
) are now invoked with an object containing a bunch of relevant data. This is in line with how cucumber-js behaves. -
Hooks may now be optionally named. This is in line with how cucumber-js behaves.
-
Omit outputting internal task to the command log when using
attach(..)
. -
Add an API for adding attachments from the Node environment, fixes #1089.
v18.0.6
v18.0.5
v18.0.4
v18.0.3
v18.0.2
v18.0.1
v18.0.0
Breaking changes:
-
TypeScript users that have previously been unable to upgrade
moduleResolution
tonode16
, and use thepaths
property as a workaround, must update their paths.From this
{ "compilerOptions": { "paths": { "@badeball/cypress-cucumber-preprocessor/*": ["./node_modules/@badeball/cypress-cucumber-preprocessor/dist/bundler-utils/*"] } } }
To this
{ "compilerOptions": { "paths": { "@badeball/cypress-cucumber-preprocessor/*": ["./node_modules/@badeball/cypress-cucumber-preprocessor/dist/subpath-entrypoints/*"] } } }
Other changes:
- Add experimental support for pretty output similar to that of
@cucumber/pretty-formatter
, fixes #810.