v17.0.0
Breaking changes:
-
Drop support for Cypress v9.
-
Node v18 or beyond is now required.
-
The package now utilizes Conditional Exports and you may have to set
moduleResolutiontonode16in yourtsconfig.jsondepending on what parts of the package you use (assuming you're using TypeScript).-
TypeScript users that are unable to upgrade
moduleResolutiontonode16, can use thepathsproperty as a workaround, like shown below.{ "compilerOptions": { "paths": { "@badeball/cypress-cucumber-preprocessor/*": ["./node_modules/@badeball/cypress-cucumber-preprocessor/dist/bundler-utils/*"] } } }
-
Other changes:
-
Detect erroneous use of async / await and fail fast, relates to #903.
-
More precise snippet suggestions, fixes #974.
-
Report resolved configuration correctly, fixes #951.
-
Visualize hook filters properly, fixes #922.
-
Handle re-runs gracefully, fixes #944.
This version contains some significant changes to the implementation, specifically regarding Cucumber messages. The backend is now more stateful to handle corner cases. However, the backend is also less forgivable than before. Thus, I (the author) expect some issues to arise out of this. If you have found an issue with this version, please open up a ticket.