Skip to content

Latest commit

 

History

History
131 lines (67 loc) · 5.5 KB

CHANGELOG.md

File metadata and controls

131 lines (67 loc) · 5.5 KB

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