github badeball/cypress-cucumber-preprocessor v17.0.0

latest releases: v23.1.0, v23.0.0, v22.2.0...
2 years ago

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 moduleResolution to node16 in your tsconfig.json depending on what parts of the package you use (assuming you're using TypeScript).

    • TypeScript users that are unable to upgrade moduleResolution to node16, can use the paths property 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.

Don't miss a new cypress-cucumber-preprocessor release

NewReleases is sending notifications on new releases.