Skip to content

Releases: badeball/cypress-cucumber-preprocessor

v22.2.0

23 Jun 14:05
Compare
Choose a tag to compare
  • 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

07 Jun 15:13
Compare
Choose a tag to compare
  • 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 })],
        })
      );

v22.0.1

09 Feb 11:40
Compare
Choose a tag to compare
  • Import types-only from @cucumber/messages, fixes #1273.

v22.0.0

18 Jan 12:35
Compare
Choose a tag to compare

Breaking changes:

  • Dropped support for Cypress v10.

Other changes:

  • Added support for Cypress v14, fixes #1267.

v21.0.3

14 Nov 14:36
Compare
Choose a tag to compare
  • Correctly represent consecutive BeforeAll & AfterAll hooks in the command log, relates to #1250.

  • Cache instances of SourceMapConsumer, fixes #1256.

v21.0.2

04 Oct 18:27
Compare
Choose a tag to compare
  • Cache requested source maps, fixes #1245.

v21.0.1

03 Oct 14:33
Compare
Choose a tag to compare
  • Support config file locations other than project root, fixes #1243.

v21.0.0

28 Sep 18:36
Compare
Choose a tag to compare

Breaking changes:

  • Exported member preprocessor of @badeball/cypress-cucumber-preprocessor/browserify is removed.

    • User of @badeball/cypress-cucumber-preprocessor/browserify should change their Cypress config in accordance with the related examples.
  • The executable cypress-cucumber-diagnostics has been replaced by a dryRun option, relates to #1120 and #1129.

    • This is a massive overhaul of a feature that was originally ill-thought-out. I'm curious about the reception.

Other changees:

  • Re-introduce support for Node v18, fixes #1230.

  • Generate a temporary messages report in case of JsonFormatter errors, relates to #1161.

  • Support project directories containing square brackets, EG. /home/[foo] my project/, relates to #1196.

  • Allow features in arbitrary locations, fixes #1225.

v20.1.2

09 Aug 16:11
Compare
Choose a tag to compare
  • Updated all dependencies, including esbuild, relates to #1068.

v20.1.1

27 Jul 07:28
Compare
Choose a tag to compare
  • Omit outputting empty "then" entries to the command log, relates to #1214.