Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 25, 2025

This PR contains the following updates:

Package Change Age Confidence
@badeball/cypress-cucumber-preprocessor ^22.0.1 -> ^23.2.1 age confidence

Release Notes

badeball/cypress-cucumber-preprocessor (@​badeball/cypress-cucumber-preprocessor)

v23.2.1

Compare Source

  • Determine interactive mode correctly, fixes #​1323.

v23.2.0

Compare Source

  • Add a flag to turn expectation errors soft. Relates to #​1313 and #​1222.

    • During creation of message reports, which the JSON & HTML reports are products of, some test state is tracked by this library. This requires taking into account a myriad of edge cases, mostly related to Cypress' reload behavior. There are however likely several remaining edge cases that are unaccounted for.

      In case of #​1222, the fail fast strategy adopted here appeared to mask an underlying issue. I suspect this might also be the case for #​1313 and similar issues. Thus an option for erroring softly is introduced. With this option, instead of throwing fast in Cypress' event handlers, the preprocessor will emit an error message to stderr at the end of a run.

      My hope is that this will make it easier for the end-user to provide proper reproducible examples when running into these errors. Additionally, it can be useful for users whom which reports aren't strictly a necessity but do encounter such errors.

      This option can be configured similar to other options, with examples shown below.

      // package.json
      {
        "dependencies": {
          "@​badeball/cypress-cucumber-preprocessor": "latest"
        },
        "cypress-cucumber-preprocessor": {
          "state": {
            "softErrors": true
          }
        }
      }
      
      // .cypress-cucumber-preprocessorrc.json
      {
        "state": {
          "softErrors": true
        }
      }
      
      $ cypress run -e stateSoftErrors=true
      
      $ env CYPRESS_stateSoftErrors=true cypress run
      

v23.1.0

Compare Source

  • Bumb engine requirement to Node v20.

    • This was accidentally left out during release of v23.0.0, where dropped support for v18 was announced. Due to the announcement, I don't consider this to be another breaking change.
  • Expand type signature of scenario and step hooks, to allow tags to be defined using pure string arguments. This is in line with how cucumber-js behaves.

  • Add support for attachments with filenames. This is in line with how cucumber-js behaves.

  • Implement log, as seen in cucumber-js.

  • Implement link, as seen in cucumber-js.

  • Minor changes to the messages report, to ensure compatibility with cucumber-js.

v23.0.0

Compare Source

Breaking changes:

  • Dropped support for Cypress v11.

  • Dropped support for Node v18.

Other changes:

  • Added support for Cypress v15, fixes #​1312.

v22.2.0

Compare Source

  • Add TypeScript support for custom world in hooks, fixes #​1304.

  • Add an option to disable attaching screenshots to reports, fixes #​1306.

    • This option defaults to true, retaining existing behavior for other users.

v22.1.0

Compare Source

  • Gracefully handle sourcemaps when running component tests with webpack and chunks enabled (default behavior), fixes #​1296.

  • Avoid setting sourcesContent: false to esbuild when using the prettySourceMap option, relates to #​1285.

    • This means that the default bundle when using prettySourceMap is larger and may affect performance. However, the in-app experience is likely more aligned with user expectation. Users can disable this behavior by explicitly configuring sourcesContent: false themselves, as shown below.

      on(
        "file:preprocessor",
        createBundler({
          sourcesContent: false,
          plugins: [createEsbuildPlugin(config, { prettySourceMap: true })],
        })
      );

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/badeball-cypress-cucumber-preprocessor-23.x branch 2 times, most recently from cdb170d to dcddcb9 Compare September 25, 2025 20:45
@renovate renovate bot force-pushed the renovate/badeball-cypress-cucumber-preprocessor-23.x branch from dcddcb9 to eefa0db Compare October 10, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants