Releases: badeball/cypress-cucumber-preprocessor
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.
v16.0.3
v16.0.2
v16.0.1
v16.0.0
-
Correctly set
willBeRetriedin messages reports, fixes #849. -
Replace cucumber-json-formatter with native components, relates to #795, #827, #870, #966 and #967.
-
This removes the need to install
cucumber-json-formatterin order to generate JSON reports. -
This removes the options
json.formatterandjson.args, which are no longer relevant. With the native components, no child process is spawned. -
If you previously had configuredspecPatternto equal**/*.feature(or similar), then you should change it tocypress/e2e/**/*.featurein order to not accidentally include feature files located innode_modules. This will otherwise interfere with the calculation of the common ancestor path and thus step definition resolution.- This is no longer necessary as of v16.0.3.
-
-
Use deterministic, internal IDs, fixes #948 to some degree.