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.