Skip to content

Latest commit

 

History

History
183 lines (90 loc) · 7.88 KB

CHANGELOG.md

File metadata and controls

183 lines (90 loc) · 7.88 KB

9.1.0 (2024-07-16)

Features

  • delete screenshot option (2c3bd30)

9.0.3 (2024-05-06)

Bug Fixes

  • only replace specName in cypress run mode, fixes #54 (fab282d)

9.0.2 (2024-04-09)

Bug Fixes

  • command.ts: align order of variables with error message (31e4f06)

9.0.1 (2023-10-23)

Bug Fixes

  • build: add missing dir to files in package.json (67e2748), closes #35

9.0.0 (2023-10-20)

Bug Fixes

  • allow isFailOnSnapshotDiff to be set to true (62b8edf), closes #22
  • inline just-extend to prevent build failures (c498800), closes #12

Code Refactoring

  • remove deprecated e2eSpecFolder option (e72673f)

Features

  • allow snap and diff extensions to be configured (0fc9762), closes #33

BREAKING CHANGES

  • Any users that made use of e2eSpecFolder in 8.0.0 (deprecated in 8.0.1) will need to change it to e2eSpecDir

8.1.2 (2023-09-13)

Bug Fixes

  • normalize spec name and e2e spec dir to fix cross OS issue (23b9083)

8.1.1 (2023-08-17)

Bug Fixes

  • remove attempt suffix from snapshot name (eb544a1), closes #19

8.1.0 (2023-08-15)

Features

  • allow subdirectories to be created in snapshots dir (2218586), closes #17

8.0.2 (2023-07-31)

Bug Fixes

  • sanitise snapshot filenames (ef49519), closes #15

8.0.1 (2023-07-26)

Bug Fixes

  • rename e2eSpecFolder -> e2eSpecDir (106af6c)

8.0.0 (2023-07-25)

Bug Fixes

  • requireSnapshots should work with retries (ebfc8be)

Features

  • normalise directory output for snapshots (1939e25)

BREAKING CHANGES

  • This uses the Cypress.spec.relative option to generate the snapshot directory and changes the folder structure.

It should now match the directory structure found in the cypress/e2e/ directory

Updating to this change may mean committing new snapshot paths and removing old ones in your project (especially with component testing)

See the section "Snapshot paths" in the README for more information

7.0.0 (2023-05-25)

Bug Fixes

  • ensure files are packaged in root (c0816dc)
  • move @types/jest-image-snapshot (5e65567)
  • release from root directory (e0bab6a)

Features

  • add recording of snapshot result (488ae4b)
  • add semantic release (b1b063b)
  • allow default options to be passed into addMatchImageSnapshotCommand (405afcb)

BREAKING CHANGES

  • removed fork of original package

This is a rewrite of the original library, now with full support for TypeScript and improved testing.

Notes:

  • The API for matchImageSnapshot remains the same, as well as all the import paths
  • The behavior of the plugin is exactly the same, as are the default options

TypeScript types are exported under @simonsmith/cypress-image-snapshot/types. These should be used instead of the package on DefinitelyTyped

Removed:

  • The reporter is not supported in this version.

7.0.0-beta.3 (2023-05-24)

Bug Fixes

  • ensure files are packaged in root (db30cbb)
  • move @types/jest-image-snapshot (f6404d4)

7.0.0-beta.2 (2023-05-24)

Bug Fixes

  • release from root directory (0ec36c1)

7.0.0-beta.1 (2023-05-24)

Features

  • add recording of snapshot result (488ae4b)
  • add semantic release (4db3b89)
  • allow default options to be passed into addMatchImageSnapshotCommand (405afcb)

BREAKING CHANGES

  • removed fork of original package

This is a rewrite of the original library, now with full support for TypeScript and improved tests

Released as a major but everything should be backwards compatible