diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 6029f885..4d451696 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -54,7 +54,7 @@ jobs: - name: Upload Coverage if: matrix.python-version == '3.12-dev' && matrix.os == 'ubuntu-latest' env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: "" # FIXME: Needs a new token. shell: bash run: ./.github/codecov.sh $GITHUB_EVENT_PATH @@ -123,7 +123,7 @@ jobs: - name: Dry Release env: TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PUBLISH_TOKEN }} + TWINE_PASSWORD: "" # FIXME: Needs a new token. run: | poetry run invoke release --dry-run @@ -134,7 +134,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, '[skip ci]') env: TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_PUBLISH_TOKEN }} + TWINE_PASSWORD: "" # FIXME: Needs a new token. steps: - uses: actions/checkout@v4.1.1 with: @@ -154,4 +154,4 @@ jobs: @semantic-release/exec @semantic-release/git env: - GITHUB_TOKEN: ${{ secrets.TOPHAT_BOT_GH_TOKEN }} + GITHUB_TOKEN: "" #FIXME: Needs a new token. diff --git a/.github/workflows/manual_release.yml b/.github/workflows/manual_release.yml index 16e5072f..4ed8aeea 100644 --- a/.github/workflows/manual_release.yml +++ b/.github/workflows/manual_release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest env: TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_PUBLISH_TOKEN }} + TWINE_PASSWORD: "" # FIXME: Needs a new token. steps: - uses: actions/checkout@v4.1.1 with: @@ -33,4 +33,4 @@ jobs: @semantic-release/exec @semantic-release/git env: - GITHUB_TOKEN: ${{ secrets.TOPHAT_BOT_GH_TOKEN }} + GITHUB_TOKEN: "" # FIXME: Needs a new token. diff --git a/CHANGELOG.md b/CHANGELOG.md index 77a3a87f..3d9d7d1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,157 +6,157 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). From v1.0.0 onwards, this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Pre-v1, breaking changes are indicated via a minor release, while all other changes fall under patches. At any time, you can see what's in progress for a version by filtering GitHub issues by milestone. -## [4.6.1](https://github.com/tophat/syrupy/compare/v4.6.0...v4.6.1) (2024-02-07) +## [4.6.1](https://github.com/noahnu/syrupy/compare/v4.6.0...v4.6.1) (2024-02-07) ### Bug Fixes -* support pytest 8 ([#855](https://github.com/tophat/syrupy/issues/855)) ([3175615](https://github.com/tophat/syrupy/commit/3175615a31bde0cdac6ec4a18d4a9285001d5d21)) +* support pytest 8 ([#855](https://github.com/noahnu/syrupy/issues/855)) ([3175615](https://github.com/noahnu/syrupy/commit/3175615a31bde0cdac6ec4a18d4a9285001d5d21)) -# [4.6.0](https://github.com/tophat/syrupy/compare/v4.5.0...v4.6.0) (2023-10-24) +# [4.6.0](https://github.com/noahnu/syrupy/compare/v4.5.0...v4.6.0) (2023-10-24) ### Features -* **serializer:** add support for FunctionType serialization ([#823](https://github.com/tophat/syrupy/issues/823)) ([f3a454a](https://github.com/tophat/syrupy/commit/f3a454a378681ef647fc215a05b8fe9dee3a21c4)) +* **serializer:** add support for FunctionType serialization ([#823](https://github.com/noahnu/syrupy/issues/823)) ([f3a454a](https://github.com/noahnu/syrupy/commit/f3a454a378681ef647fc215a05b8fe9dee3a21c4)) -# [4.5.0](https://github.com/tophat/syrupy/compare/v4.4.0...v4.5.0) (2023-09-01) +# [4.5.0](https://github.com/noahnu/syrupy/compare/v4.4.0...v4.5.0) (2023-09-01) ### Features -* support setting defaults ([#802](https://github.com/tophat/syrupy/issues/802)) ([c877559](https://github.com/tophat/syrupy/commit/c87755984341ee4772f4f00b9309de6daec30ec0)) +* support setting defaults ([#802](https://github.com/noahnu/syrupy/issues/802)) ([c877559](https://github.com/noahnu/syrupy/commit/c87755984341ee4772f4f00b9309de6daec30ec0)) -# [4.4.0](https://github.com/tophat/syrupy/compare/v4.3.0...v4.4.0) (2023-08-29) +# [4.4.0](https://github.com/noahnu/syrupy/compare/v4.3.0...v4.4.0) (2023-08-29) ### Features -* **filter:** add paths_include filter ([#798](https://github.com/tophat/syrupy/issues/798)) ([1676fa5](https://github.com/tophat/syrupy/commit/1676fa554d74edeb1f448edbe661e053bf8ad350)) +* **filter:** add paths_include filter ([#798](https://github.com/noahnu/syrupy/issues/798)) ([1676fa5](https://github.com/noahnu/syrupy/commit/1676fa554d74edeb1f448edbe661e053bf8ad350)) -# [4.3.0](https://github.com/tophat/syrupy/compare/v4.2.2...v4.3.0) (2023-08-28) +# [4.3.0](https://github.com/noahnu/syrupy/compare/v4.2.2...v4.3.0) (2023-08-28) ### Features -* add include option to snapshots, similar to exclude ([#797](https://github.com/tophat/syrupy/issues/797)) ([d3f891e](https://github.com/tophat/syrupy/commit/d3f891ea4e561cd1b182e9b2c5d0414821187cd7)) +* add include option to snapshots, similar to exclude ([#797](https://github.com/noahnu/syrupy/issues/797)) ([d3f891e](https://github.com/noahnu/syrupy/commit/d3f891ea4e561cd1b182e9b2c5d0414821187cd7)) -## [4.2.2](https://github.com/tophat/syrupy/compare/v4.2.1...v4.2.2) (2023-08-28) +## [4.2.2](https://github.com/noahnu/syrupy/compare/v4.2.1...v4.2.2) (2023-08-28) ### Bug Fixes -* remove colored dependency ([#796](https://github.com/tophat/syrupy/issues/796)) ([96bffcc](https://github.com/tophat/syrupy/commit/96bffccd229bb1b13e6721baffd80d298000e34b)) +* remove colored dependency ([#796](https://github.com/noahnu/syrupy/issues/796)) ([96bffcc](https://github.com/noahnu/syrupy/commit/96bffccd229bb1b13e6721baffd80d298000e34b)) -## [4.2.1](https://github.com/tophat/syrupy/compare/v4.2.0...v4.2.1) (2023-08-21) +## [4.2.1](https://github.com/noahnu/syrupy/compare/v4.2.0...v4.2.1) (2023-08-21) ### Bug Fixes -* support python 3.12 ([#794](https://github.com/tophat/syrupy/issues/794)) ([e2e314f](https://github.com/tophat/syrupy/commit/e2e314fca6f90d9601c3b7d30370d2ca21e09cfe)) +* support python 3.12 ([#794](https://github.com/noahnu/syrupy/issues/794)) ([e2e314f](https://github.com/noahnu/syrupy/commit/e2e314fca6f90d9601c3b7d30370d2ca21e09cfe)) -# [4.2.0](https://github.com/tophat/syrupy/compare/v4.1.1...v4.2.0) (2023-08-21) +# [4.2.0](https://github.com/noahnu/syrupy/compare/v4.1.1...v4.2.0) (2023-08-21) ### Features -* **serializer:** add snapshot regex value matcher and bypass custom repr helper ([#791](https://github.com/tophat/syrupy/issues/791)) ([3ac2ce8](https://github.com/tophat/syrupy/commit/3ac2ce84c5dfe180606ef32d1dd067af952d376e)) +* **serializer:** add snapshot regex value matcher and bypass custom repr helper ([#791](https://github.com/noahnu/syrupy/issues/791)) ([3ac2ce8](https://github.com/noahnu/syrupy/commit/3ac2ce84c5dfe180606ef32d1dd067af952d376e)) -## [4.1.1](https://github.com/tophat/syrupy/compare/v4.1.0...v4.1.1) (2023-08-17) +## [4.1.1](https://github.com/noahnu/syrupy/compare/v4.1.0...v4.1.1) (2023-08-17) ### Bug Fixes -* preserve Falsy values in assertion diff function ([#789](https://github.com/tophat/syrupy/issues/789)) ([118ef92](https://github.com/tophat/syrupy/commit/118ef9260cb67369050c3bf7672e9aed0046f7f4)) +* preserve Falsy values in assertion diff function ([#789](https://github.com/noahnu/syrupy/issues/789)) ([118ef92](https://github.com/noahnu/syrupy/commit/118ef9260cb67369050c3bf7672e9aed0046f7f4)) -# [4.1.0](https://github.com/tophat/syrupy/compare/v4.0.8...v4.1.0) (2023-08-16) +# [4.1.0](https://github.com/noahnu/syrupy/compare/v4.0.8...v4.1.0) (2023-08-16) ### Features -* **amber:** expose serialize_custom_iterable method of AmberDataSerializer ([#788](https://github.com/tophat/syrupy/issues/788)) ([d210cf1](https://github.com/tophat/syrupy/commit/d210cf192962afc3196c9d6cc81e7c799a6caf26)) +* **amber:** expose serialize_custom_iterable method of AmberDataSerializer ([#788](https://github.com/noahnu/syrupy/issues/788)) ([d210cf1](https://github.com/noahnu/syrupy/commit/d210cf192962afc3196c9d6cc81e7c799a6caf26)) -## [4.0.8](https://github.com/tophat/syrupy/compare/v4.0.7...v4.0.8) (2023-07-20) +## [4.0.8](https://github.com/noahnu/syrupy/compare/v4.0.7...v4.0.8) (2023-07-20) ### Bug Fixes -* diffing excessively large snapshot lines ([#778](https://github.com/tophat/syrupy/issues/778)) ([64b4265](https://github.com/tophat/syrupy/commit/64b42653d1c3af5b56347ccd9afd24e87b29aa18)) +* diffing excessively large snapshot lines ([#778](https://github.com/noahnu/syrupy/issues/778)) ([64b4265](https://github.com/noahnu/syrupy/commit/64b42653d1c3af5b56347ccd9afd24e87b29aa18)) -## [4.0.7](https://github.com/tophat/syrupy/compare/v4.0.6...v4.0.7) (2023-07-20) +## [4.0.7](https://github.com/noahnu/syrupy/compare/v4.0.6...v4.0.7) (2023-07-20) ### Bug Fixes -* large snapshot diff recursion error ([#776](https://github.com/tophat/syrupy/issues/776)) ([24260b1](https://github.com/tophat/syrupy/commit/24260b17607a11f7afa691c0ecd4da3e09de9bf0)) +* large snapshot diff recursion error ([#776](https://github.com/noahnu/syrupy/issues/776)) ([24260b1](https://github.com/noahnu/syrupy/commit/24260b17607a11f7afa691c0ecd4da3e09de9bf0)) -## [4.0.6](https://github.com/tophat/syrupy/compare/v4.0.5...v4.0.6) (2023-07-11) +## [4.0.6](https://github.com/noahnu/syrupy/compare/v4.0.5...v4.0.6) (2023-07-11) ### Bug Fixes -* improve reporting around xfailed snapshots, close [#736](https://github.com/tophat/syrupy/issues/736) ([#769](https://github.com/tophat/syrupy/issues/769)) ([596b29b](https://github.com/tophat/syrupy/commit/596b29b7eae26292fb671b3f339d255fd5ac8761)) +* improve reporting around xfailed snapshots, close [#736](https://github.com/noahnu/syrupy/issues/736) ([#769](https://github.com/noahnu/syrupy/issues/769)) ([596b29b](https://github.com/noahnu/syrupy/commit/596b29b7eae26292fb671b3f339d255fd5ac8761)) -## [4.0.5](https://github.com/tophat/syrupy/compare/v4.0.4...v4.0.5) (2023-07-04) +## [4.0.5](https://github.com/noahnu/syrupy/compare/v4.0.4...v4.0.5) (2023-07-04) ### Bug Fixes -* hide empty snapshot report ([#768](https://github.com/tophat/syrupy/issues/768)) ([8f581d5](https://github.com/tophat/syrupy/commit/8f581d577068f19a9e0fff65f4476f4601c137df)) +* hide empty snapshot report ([#768](https://github.com/noahnu/syrupy/issues/768)) ([8f581d5](https://github.com/noahnu/syrupy/commit/8f581d577068f19a9e0fff65f4476f4601c137df)) -## [4.0.4](https://github.com/tophat/syrupy/compare/v4.0.3...v4.0.4) (2023-06-19) +## [4.0.4](https://github.com/noahnu/syrupy/compare/v4.0.3...v4.0.4) (2023-06-19) ### Bug Fixes -* incorrect marking of TestClass.test_method as unused, close [#717](https://github.com/tophat/syrupy/issues/717) ([#761](https://github.com/tophat/syrupy/issues/761)) ([0badfdb](https://github.com/tophat/syrupy/commit/0badfdbb06157a7e2365edd551aaa1914681f3de)) +* incorrect marking of TestClass.test_method as unused, close [#717](https://github.com/noahnu/syrupy/issues/717) ([#761](https://github.com/noahnu/syrupy/issues/761)) ([0badfdb](https://github.com/noahnu/syrupy/commit/0badfdbb06157a7e2365edd551aaa1914681f3de)) -## [4.0.3](https://github.com/tophat/syrupy/compare/v4.0.2...v4.0.3) (2023-06-19) +## [4.0.3](https://github.com/noahnu/syrupy/compare/v4.0.2...v4.0.3) (2023-06-19) ### Bug Fixes -* support colored >=1.5.0 dependency, close [#758](https://github.com/tophat/syrupy/issues/758) ([#760](https://github.com/tophat/syrupy/issues/760)) ([783fc5c](https://github.com/tophat/syrupy/commit/783fc5cf71901c8bb54769358787dabfa2b51e4a)) +* support colored >=1.5.0 dependency, close [#758](https://github.com/noahnu/syrupy/issues/758) ([#760](https://github.com/noahnu/syrupy/issues/760)) ([783fc5c](https://github.com/noahnu/syrupy/commit/783fc5cf71901c8bb54769358787dabfa2b51e4a)) -## [4.0.2](https://github.com/tophat/syrupy/compare/v4.0.1...v4.0.2) (2023-04-25) +## [4.0.2](https://github.com/noahnu/syrupy/compare/v4.0.1...v4.0.2) (2023-04-25) ### Bug Fixes -* defer snapshot default extension import ([#734](https://github.com/tophat/syrupy/issues/734)) ([dfd5910](https://github.com/tophat/syrupy/commit/dfd5910cd5ac9a93011d639303cdc060ef4c779a)), closes [#719](https://github.com/tophat/syrupy/issues/719) +* defer snapshot default extension import ([#734](https://github.com/noahnu/syrupy/issues/734)) ([dfd5910](https://github.com/noahnu/syrupy/commit/dfd5910cd5ac9a93011d639303cdc060ef4c779a)), closes [#719](https://github.com/noahnu/syrupy/issues/719) -## [4.0.1](https://github.com/tophat/syrupy/compare/v4.0.0...v4.0.1) (2023-02-21) +## [4.0.1](https://github.com/noahnu/syrupy/compare/v4.0.0...v4.0.1) (2023-02-21) ### Bug Fixes -* **serializer:** handling of multi-part file extensions in SingleFileExtension ([#710](https://github.com/tophat/syrupy/issues/710)) ([efe687e](https://github.com/tophat/syrupy/commit/efe687e263647b1efa2673847372389ea90961eb)) +* **serializer:** handling of multi-part file extensions in SingleFileExtension ([#710](https://github.com/noahnu/syrupy/issues/710)) ([efe687e](https://github.com/noahnu/syrupy/commit/efe687e263647b1efa2673847372389ea90961eb)) -# [4.0.0](https://github.com/tophat/syrupy/compare/v3.0.6...v4.0.0) (2023-02-02) +# [4.0.0](https://github.com/noahnu/syrupy/compare/v3.0.6...v4.0.0) (2023-02-02) ### Bug Fixes -* defer snapshot writes until end of session ([#606](https://github.com/tophat/syrupy/issues/606)) ([68f1d5f](https://github.com/tophat/syrupy/commit/68f1d5f4ecb1cefab1a0b26fd7f1626e6c8a1b71)) -* ensure all pytest options are serializable ([#667](https://github.com/tophat/syrupy/issues/667)) ([e8ed9f2](https://github.com/tophat/syrupy/commit/e8ed9f2e3548f6493349bda2666698f165596f3a)) -* improve pytest-xdist compatibility ([9b9090f](https://github.com/tophat/syrupy/commit/9b9090f1d139ada1d12e89e002d48bc35c191d41)) -* lru_cache on snapshot reads ([#629](https://github.com/tophat/syrupy/issues/629)) ([c1a675f](https://github.com/tophat/syrupy/commit/c1a675f0960608ff3655d6ba67387940964064db)) -* remove legacy path usage to support no:legacypath, closes [#677](https://github.com/tophat/syrupy/issues/677) ([#684](https://github.com/tophat/syrupy/issues/684)) ([6385979](https://github.com/tophat/syrupy/commit/6385979084958f33365c4c544e7583569bb24e06)) +* defer snapshot writes until end of session ([#606](https://github.com/noahnu/syrupy/issues/606)) ([68f1d5f](https://github.com/noahnu/syrupy/commit/68f1d5f4ecb1cefab1a0b26fd7f1626e6c8a1b71)) +* ensure all pytest options are serializable ([#667](https://github.com/noahnu/syrupy/issues/667)) ([e8ed9f2](https://github.com/noahnu/syrupy/commit/e8ed9f2e3548f6493349bda2666698f165596f3a)) +* improve pytest-xdist compatibility ([9b9090f](https://github.com/noahnu/syrupy/commit/9b9090f1d139ada1d12e89e002d48bc35c191d41)) +* lru_cache on snapshot reads ([#629](https://github.com/noahnu/syrupy/issues/629)) ([c1a675f](https://github.com/noahnu/syrupy/commit/c1a675f0960608ff3655d6ba67387940964064db)) +* remove legacy path usage to support no:legacypath, closes [#677](https://github.com/noahnu/syrupy/issues/677) ([#684](https://github.com/noahnu/syrupy/issues/684)) ([6385979](https://github.com/noahnu/syrupy/commit/6385979084958f33365c4c544e7583569bb24e06)) ### Code Refactoring -* simplify data serializer for ambr ([#676](https://github.com/tophat/syrupy/issues/676)) ([3d296e1](https://github.com/tophat/syrupy/commit/3d296e1e524e90a6f2d22f550a6e7847d4805c92)) -* write performance improvements, api clarity ([#645](https://github.com/tophat/syrupy/issues/645)) ([2c31c39](https://github.com/tophat/syrupy/commit/2c31c39fa2430ad42190a0ac3f80181ced803b82)) +* simplify data serializer for ambr ([#676](https://github.com/noahnu/syrupy/issues/676)) ([3d296e1](https://github.com/noahnu/syrupy/commit/3d296e1e524e90a6f2d22f550a6e7847d4805c92)) +* write performance improvements, api clarity ([#645](https://github.com/noahnu/syrupy/issues/645)) ([2c31c39](https://github.com/noahnu/syrupy/commit/2c31c39fa2430ad42190a0ac3f80181ced803b82)) ### Features -* **json:** serialize None as null, close [#622](https://github.com/tophat/syrupy/issues/622) ([c330680](https://github.com/tophat/syrupy/commit/c33068030bc1cb296c1b6f36d3e67d6d55e484fc)) -* numerically sort snapshots if possible, close [#657](https://github.com/tophat/syrupy/issues/657) ([4ca0716](https://github.com/tophat/syrupy/commit/4ca071641f9508b21c29df244639c9db61032cb1)) -* **serializer:** preserve key ordering of OrderedDict ([0a2289a](https://github.com/tophat/syrupy/commit/0a2289a53b03bf36f55149eee51fd6890af13659)) -* support overriding the amber serializer class ([#683](https://github.com/tophat/syrupy/issues/683)) ([662c93f](https://github.com/tophat/syrupy/commit/662c93f18619245d3d8d7c0ac30830d7c4587a2a)) -* update python version, pytest version ([#658](https://github.com/tophat/syrupy/issues/658)) ([c360b95](https://github.com/tophat/syrupy/commit/c360b95192607ba55421076487b533f8afe8253b)) +* **json:** serialize None as null, close [#622](https://github.com/noahnu/syrupy/issues/622) ([c330680](https://github.com/noahnu/syrupy/commit/c33068030bc1cb296c1b6f36d3e67d6d55e484fc)) +* numerically sort snapshots if possible, close [#657](https://github.com/noahnu/syrupy/issues/657) ([4ca0716](https://github.com/noahnu/syrupy/commit/4ca071641f9508b21c29df244639c9db61032cb1)) +* **serializer:** preserve key ordering of OrderedDict ([0a2289a](https://github.com/noahnu/syrupy/commit/0a2289a53b03bf36f55149eee51fd6890af13659)) +* support overriding the amber serializer class ([#683](https://github.com/noahnu/syrupy/issues/683)) ([662c93f](https://github.com/noahnu/syrupy/commit/662c93f18619245d3d8d7c0ac30830d7c4587a2a)) +* update python version, pytest version ([#658](https://github.com/noahnu/syrupy/issues/658)) ([c360b95](https://github.com/noahnu/syrupy/commit/c360b95192607ba55421076487b533f8afe8253b)) ### BREAKING CHANGES @@ -193,96 +193,96 @@ From v1.0.0 onwards, this project adheres to [Semantic Versioning](https://semve * refactor: do not instantiate extension with test_location * Numerous instance methods have been refactored as classmethods. -## [3.0.6](https://github.com/tophat/syrupy/compare/v3.0.5...v3.0.6) (2022-12-30) +## [3.0.6](https://github.com/noahnu/syrupy/compare/v3.0.5...v3.0.6) (2022-12-30) ### Bug Fixes -* ensure all pytest options are serializable ([#667](https://github.com/tophat/syrupy/issues/667)) ([e320d7b](https://github.com/tophat/syrupy/commit/e320d7b799b7890df5a63eda59a1382a3d73f39b)) -* improve pytest-xdist compatibility ([8739194](https://github.com/tophat/syrupy/commit/87391946af859bbe9a63c5ac297cfc7b169c7742)) +* ensure all pytest options are serializable ([#667](https://github.com/noahnu/syrupy/issues/667)) ([e320d7b](https://github.com/noahnu/syrupy/commit/e320d7b799b7890df5a63eda59a1382a3d73f39b)) +* improve pytest-xdist compatibility ([8739194](https://github.com/noahnu/syrupy/commit/87391946af859bbe9a63c5ac297cfc7b169c7742)) -## [3.0.5](https://github.com/tophat/syrupy/compare/v3.0.4...v3.0.5) (2022-11-08) +## [3.0.5](https://github.com/noahnu/syrupy/compare/v3.0.4...v3.0.5) (2022-11-08) ### Bug Fixes -* only instantiate colored objects if color is not disabled ([#634](https://github.com/tophat/syrupy/issues/634)) ([7f0fe22](https://github.com/tophat/syrupy/commit/7f0fe2255e56cafbad86f6e505019b8e507afd00)) +* only instantiate colored objects if color is not disabled ([#634](https://github.com/noahnu/syrupy/issues/634)) ([7f0fe22](https://github.com/noahnu/syrupy/commit/7f0fe2255e56cafbad86f6e505019b8e507afd00)) -## [3.0.4](https://github.com/tophat/syrupy/compare/v3.0.3...v3.0.4) (2022-11-03) +## [3.0.4](https://github.com/noahnu/syrupy/compare/v3.0.3...v3.0.4) (2022-11-03) ### Bug Fixes -* update poetry build backend ([#631](https://github.com/tophat/syrupy/issues/631)) ([4819026](https://github.com/tophat/syrupy/commit/48190261f31ee801d60daab046e37d6a910b3efc)) +* update poetry build backend ([#631](https://github.com/noahnu/syrupy/issues/631)) ([4819026](https://github.com/noahnu/syrupy/commit/48190261f31ee801d60daab046e37d6a910b3efc)) -## [3.0.3](https://github.com/tophat/syrupy/compare/v3.0.2...v3.0.3) (2022-11-03) +## [3.0.3](https://github.com/noahnu/syrupy/compare/v3.0.2...v3.0.3) (2022-11-03) ### Bug Fixes -* use more expressive glob when building whl ([#627](https://github.com/tophat/syrupy/issues/627)) ([6a766e7](https://github.com/tophat/syrupy/commit/6a766e78d72fd3e74cc7725fead46b7f839b468a)) +* use more expressive glob when building whl ([#627](https://github.com/noahnu/syrupy/issues/627)) ([6a766e7](https://github.com/noahnu/syrupy/commit/6a766e78d72fd3e74cc7725fead46b7f839b468a)) -## [3.0.2](https://github.com/tophat/syrupy/compare/v3.0.1...v3.0.2) (2022-09-23) +## [3.0.2](https://github.com/noahnu/syrupy/compare/v3.0.1...v3.0.2) (2022-09-23) ### Bug Fixes -* update classifiers (no material change) ([43d78ec](https://github.com/tophat/syrupy/commit/43d78ecc0a2175487db1c9bf5857d6ee34344046)) +* update classifiers (no material change) ([43d78ec](https://github.com/noahnu/syrupy/commit/43d78ecc0a2175487db1c9bf5857d6ee34344046)) -## [3.0.1](https://github.com/tophat/syrupy/compare/v3.0.0...v3.0.1) (2022-09-23) +## [3.0.1](https://github.com/noahnu/syrupy/compare/v3.0.0...v3.0.1) (2022-09-23) ### Bug Fixes -* avoid reporting crash for snapshot dir outside pytest dir ([#621](https://github.com/tophat/syrupy/issues/621)) ([f2b2e77](https://github.com/tophat/syrupy/commit/f2b2e774b6055fde887a36d2a995ebb284ebc76e)) +* avoid reporting crash for snapshot dir outside pytest dir ([#621](https://github.com/noahnu/syrupy/issues/621)) ([f2b2e77](https://github.com/noahnu/syrupy/commit/f2b2e774b6055fde887a36d2a995ebb284ebc76e)) -# [3.0.0](https://github.com/tophat/syrupy/compare/v2.3.1...v3.0.0) (2022-08-11) +# [3.0.0](https://github.com/noahnu/syrupy/compare/v2.3.1...v3.0.0) (2022-08-11) ### Features -* drop python 3.6 support ([#612](https://github.com/tophat/syrupy/issues/612)) ([bcdfd89](https://github.com/tophat/syrupy/commit/bcdfd899e3ca1d107fe6009144b6b51547ffde4c)) +* drop python 3.6 support ([#612](https://github.com/noahnu/syrupy/issues/612)) ([bcdfd89](https://github.com/noahnu/syrupy/commit/bcdfd899e3ca1d107fe6009144b6b51547ffde4c)) ### BREAKING CHANGES * Drop Python 3.6 support due to end of life. -## [2.3.1](https://github.com/tophat/syrupy/compare/v2.3.0...v2.3.1) (2022-07-07) +## [2.3.1](https://github.com/noahnu/syrupy/compare/v2.3.0...v2.3.1) (2022-07-07) ### Bug Fixes -* ignore test_a_suffix snapshots when running test_a ([#607](https://github.com/tophat/syrupy/issues/607)) ([988a8ab](https://github.com/tophat/syrupy/commit/988a8ab42ebbc94e2965bc73a6c8b6074c4f7416)) +* ignore test_a_suffix snapshots when running test_a ([#607](https://github.com/noahnu/syrupy/issues/607)) ([988a8ab](https://github.com/noahnu/syrupy/commit/988a8ab42ebbc94e2965bc73a6c8b6074c4f7416)) -# [2.3.0](https://github.com/tophat/syrupy/compare/v2.2.0...v2.3.0) (2022-05-12) +# [2.3.0](https://github.com/noahnu/syrupy/compare/v2.2.0...v2.3.0) (2022-05-12) ### Features -* provide __repr__ for SnapshotAssertion ([#600](https://github.com/tophat/syrupy/issues/600)) ([df31946](https://github.com/tophat/syrupy/commit/df3194606f7e8cb9fe6a7de97416f00fb7447fb1)) +* provide __repr__ for SnapshotAssertion ([#600](https://github.com/noahnu/syrupy/issues/600)) ([df31946](https://github.com/noahnu/syrupy/commit/df3194606f7e8cb9fe6a7de97416f00fb7447fb1)) -# [2.2.0](https://github.com/tophat/syrupy/compare/v2.1.0...v2.2.0) (2022-05-12) +# [2.2.0](https://github.com/noahnu/syrupy/compare/v2.1.0...v2.2.0) (2022-05-12) ### Features -* support snapshots in doc tests ([#525](https://github.com/tophat/syrupy/issues/525)) ([97256e3](https://github.com/tophat/syrupy/commit/97256e3091e78fefa4d3d89533a95adeee78fdb5)) +* support snapshots in doc tests ([#525](https://github.com/noahnu/syrupy/issues/525)) ([97256e3](https://github.com/noahnu/syrupy/commit/97256e3091e78fefa4d3d89533a95adeee78fdb5)) -# [2.1.0](https://github.com/tophat/syrupy/compare/v2.0.0...v2.1.0) (2022-05-11) +# [2.1.0](https://github.com/noahnu/syrupy/compare/v2.0.0...v2.1.0) (2022-05-11) ### Features -* add snapshot diffing support ([#526](https://github.com/tophat/syrupy/issues/526)) ([e424f31](https://github.com/tophat/syrupy/commit/e424f31e06908e47b7cfddf2c9bde595f0a08846)) +* add snapshot diffing support ([#526](https://github.com/noahnu/syrupy/issues/526)) ([e424f31](https://github.com/noahnu/syrupy/commit/e424f31e06908e47b7cfddf2c9bde595f0a08846)) -# [2.0.0](https://github.com/tophat/syrupy/compare/v1.7.4...v2.0.0) (2022-04-10) +# [2.0.0](https://github.com/noahnu/syrupy/compare/v1.7.4...v2.0.0) (2022-04-10) ### Features -* **amber:** change serialization to be py syntax like ([#505](https://github.com/tophat/syrupy/issues/505)) ([b64b965](https://github.com/tophat/syrupy/commit/b64b965720768d787eded154d4dba256e0734620)) -* release syrupy v2 ([#575](https://github.com/tophat/syrupy/issues/575)) ([bc8b3a9](https://github.com/tophat/syrupy/commit/bc8b3a909bf5b75b581f16247c12c8bdd087dd9f)) +* **amber:** change serialization to be py syntax like ([#505](https://github.com/noahnu/syrupy/issues/505)) ([b64b965](https://github.com/noahnu/syrupy/commit/b64b965720768d787eded154d4dba256e0734620)) +* release syrupy v2 ([#575](https://github.com/noahnu/syrupy/issues/575)) ([bc8b3a9](https://github.com/noahnu/syrupy/commit/bc8b3a909bf5b75b581f16247c12c8bdd087dd9f)) ### BREAKING CHANGES @@ -292,377 +292,377 @@ From v1.0.0 onwards, this project adheres to [Semantic Versioning](https://semve Migration Guide * `pytest --snapshot-update` to regenerate amber snapshots -## [1.7.4](https://github.com/tophat/syrupy/compare/v1.7.3...v1.7.4) (2022-02-16) +## [1.7.4](https://github.com/noahnu/syrupy/compare/v1.7.3...v1.7.4) (2022-02-16) ### Bug Fixes -* support pytest 7 ([#594](https://github.com/tophat/syrupy/issues/594)) ([17f0660](https://github.com/tophat/syrupy/commit/17f0660b5a2b39b417cff38d9a3d6122e7fa8140)) +* support pytest 7 ([#594](https://github.com/noahnu/syrupy/issues/594)) ([17f0660](https://github.com/noahnu/syrupy/commit/17f0660b5a2b39b417cff38d9a3d6122e7fa8140)) -## [1.7.3](https://github.com/tophat/syrupy/compare/v1.7.2...v1.7.3) (2022-01-25) +## [1.7.3](https://github.com/noahnu/syrupy/compare/v1.7.2...v1.7.3) (2022-01-25) ### Bug Fixes -* **json:** use additional forward references for py3.7 ([#587](https://github.com/tophat/syrupy/issues/587)) ([8489e93](https://github.com/tophat/syrupy/commit/8489e93477f2f38d1ef2ab499d58c4de069f7993)) +* **json:** use additional forward references for py3.7 ([#587](https://github.com/noahnu/syrupy/issues/587)) ([8489e93](https://github.com/noahnu/syrupy/commit/8489e93477f2f38d1ef2ab499d58c4de069f7993)) -## [1.7.2](https://github.com/tophat/syrupy/compare/v1.7.1...v1.7.2) (2022-01-25) +## [1.7.2](https://github.com/noahnu/syrupy/compare/v1.7.1...v1.7.2) (2022-01-25) ### Bug Fixes -* **json:** use forward references for py3.7 compatibility ([#586](https://github.com/tophat/syrupy/issues/586)) ([8f0db02](https://github.com/tophat/syrupy/commit/8f0db02037be83527881927552663f5d9aeb4d10)) +* **json:** use forward references for py3.7 compatibility ([#586](https://github.com/noahnu/syrupy/issues/586)) ([8f0db02](https://github.com/noahnu/syrupy/commit/8f0db02037be83527881927552663f5d9aeb4d10)) -## [1.7.1](https://github.com/tophat/syrupy/compare/v1.7.0...v1.7.1) (2022-01-25) +## [1.7.1](https://github.com/noahnu/syrupy/compare/v1.7.0...v1.7.1) (2022-01-25) ### Bug Fixes -* compatibility with pytest-tldr ([#583](https://github.com/tophat/syrupy/issues/583)) ([f6ed0b1](https://github.com/tophat/syrupy/commit/f6ed0b142158f27fad651d96c7b675907a46c595)) +* compatibility with pytest-tldr ([#583](https://github.com/noahnu/syrupy/issues/583)) ([f6ed0b1](https://github.com/noahnu/syrupy/commit/f6ed0b142158f27fad651d96c7b675907a46c595)) -# [1.7.0](https://github.com/tophat/syrupy/compare/v1.6.0...v1.7.0) (2022-01-14) +# [1.7.0](https://github.com/noahnu/syrupy/compare/v1.6.0...v1.7.0) (2022-01-14) ### Bug Fixes -* ignore, this commit is to force a release ([effeadb](https://github.com/tophat/syrupy/commit/effeadb751d16841222c147c6a383cca4dcf4003)) +* ignore, this commit is to force a release ([effeadb](https://github.com/noahnu/syrupy/commit/effeadb751d16841222c147c6a383cca4dcf4003)) ### Features -* add JSON extension as alternative to amber ([b366082](https://github.com/tophat/syrupy/commit/b3660826439a7cdd0ca84abe307b711a4a283cd9)) +* add JSON extension as alternative to amber ([b366082](https://github.com/noahnu/syrupy/commit/b3660826439a7cdd0ca84abe307b711a4a283cd9)) -# [1.6.0](https://github.com/tophat/syrupy/compare/v1.5.0...v1.6.0) (2022-01-14) +# [1.6.0](https://github.com/noahnu/syrupy/compare/v1.5.0...v1.6.0) (2022-01-14) ### Features -* allow extensions to override snapshot equality check ([#548](https://github.com/tophat/syrupy/issues/548)) ([a44f1b9](https://github.com/tophat/syrupy/commit/a44f1b97a8b14bab57c3eed1c09cf19ec3bbbb32)) +* allow extensions to override snapshot equality check ([#548](https://github.com/noahnu/syrupy/issues/548)) ([a44f1b9](https://github.com/noahnu/syrupy/commit/a44f1b97a8b14bab57c3eed1c09cf19ec3bbbb32)) -# [1.5.0](https://github.com/tophat/syrupy/compare/v1.4.7...v1.5.0) (2021-11-03) +# [1.5.0](https://github.com/noahnu/syrupy/compare/v1.4.7...v1.5.0) (2021-11-03) ### Features -* add support for custom snapshot names, close [#555](https://github.com/tophat/syrupy/issues/555) ([#563](https://github.com/tophat/syrupy/issues/563)) ([81a8a45](https://github.com/tophat/syrupy/commit/81a8a455ca13b88c9420cae7ce54a93baffed7e0)) +* add support for custom snapshot names, close [#555](https://github.com/noahnu/syrupy/issues/555) ([#563](https://github.com/noahnu/syrupy/issues/563)) ([81a8a45](https://github.com/noahnu/syrupy/commit/81a8a455ca13b88c9420cae7ce54a93baffed7e0)) -## [1.4.7](https://github.com/tophat/syrupy/compare/v1.4.6...v1.4.7) (2021-10-13) +## [1.4.7](https://github.com/noahnu/syrupy/compare/v1.4.6...v1.4.7) (2021-10-13) ### Bug Fixes -* NameError when importing SingleFileSnapshotExtension ([#557](https://github.com/tophat/syrupy/issues/557)) ([935e256](https://github.com/tophat/syrupy/commit/935e2563b55dc295821619d4eac318d8035296e5)) +* NameError when importing SingleFileSnapshotExtension ([#557](https://github.com/noahnu/syrupy/issues/557)) ([935e256](https://github.com/noahnu/syrupy/commit/935e2563b55dc295821619d4eac318d8035296e5)) -## [1.4.6](https://github.com/tophat/syrupy/compare/v1.4.5...v1.4.6) (2021-10-06) +## [1.4.6](https://github.com/noahnu/syrupy/compare/v1.4.5...v1.4.6) (2021-10-06) ### Bug Fixes -* typo in single file extension error message ([#553](https://github.com/tophat/syrupy/issues/553)) ([c4785f8](https://github.com/tophat/syrupy/commit/c4785f8d1e26acbd8a327a6e6f7de7ce6f67112f)) +* typo in single file extension error message ([#553](https://github.com/noahnu/syrupy/issues/553)) ([c4785f8](https://github.com/noahnu/syrupy/commit/c4785f8d1e26acbd8a327a6e6f7de7ce6f67112f)) -## [1.4.5](https://github.com/tophat/syrupy/compare/v1.4.4...v1.4.5) (2021-08-29) +## [1.4.5](https://github.com/noahnu/syrupy/compare/v1.4.4...v1.4.5) (2021-08-29) ### Bug Fixes -* filter ran items using selected items, close [#451](https://github.com/tophat/syrupy/issues/451) ([#549](https://github.com/tophat/syrupy/issues/549)) ([7374862](https://github.com/tophat/syrupy/commit/73748627f0593d2fa4effc14ac272804e1aaf7bb)) +* filter ran items using selected items, close [#451](https://github.com/noahnu/syrupy/issues/451) ([#549](https://github.com/noahnu/syrupy/issues/549)) ([7374862](https://github.com/noahnu/syrupy/commit/73748627f0593d2fa4effc14ac272804e1aaf7bb)) -## [1.4.4](https://github.com/tophat/syrupy/compare/v1.4.3...v1.4.4) (2021-08-20) +## [1.4.4](https://github.com/noahnu/syrupy/compare/v1.4.3...v1.4.4) (2021-08-20) ### Performance Improvements -* memoise DataSerializer.read_file results ([#543](https://github.com/tophat/syrupy/issues/543)) ([df5b516](https://github.com/tophat/syrupy/commit/df5b5166bbe1ccf1fa492707f009541460813295)) +* memoise DataSerializer.read_file results ([#543](https://github.com/noahnu/syrupy/issues/543)) ([df5b516](https://github.com/noahnu/syrupy/commit/df5b5166bbe1ccf1fa492707f009541460813295)) -## [1.4.3](https://github.com/tophat/syrupy/compare/v1.4.2...v1.4.3) (2021-08-20) +## [1.4.3](https://github.com/noahnu/syrupy/compare/v1.4.2...v1.4.3) (2021-08-20) ### Performance Improvements -* cache session snapshot extension discovery ([#542](https://github.com/tophat/syrupy/issues/542)) ([10cfc90](https://github.com/tophat/syrupy/commit/10cfc9052afea119e3e62636bcb338bd3ace09c3)) +* cache session snapshot extension discovery ([#542](https://github.com/noahnu/syrupy/issues/542)) ([10cfc90](https://github.com/noahnu/syrupy/commit/10cfc9052afea119e3e62636bcb338bd3ace09c3)) -## [1.4.2](https://github.com/tophat/syrupy/compare/v1.4.1...v1.4.2) (2021-08-18) +## [1.4.2](https://github.com/noahnu/syrupy/compare/v1.4.1...v1.4.2) (2021-08-18) ### Performance Improvements -* discover snapshots once per file rather than per assertion ([#541](https://github.com/tophat/syrupy/issues/541)) ([84c8b82](https://github.com/tophat/syrupy/commit/84c8b82517766f08ac3ee5cef7dada4a490f75ee)) +* discover snapshots once per file rather than per assertion ([#541](https://github.com/noahnu/syrupy/issues/541)) ([84c8b82](https://github.com/noahnu/syrupy/commit/84c8b82517766f08ac3ee5cef7dada4a490f75ee)) -## [1.4.1](https://github.com/tophat/syrupy/compare/v1.4.0...v1.4.1) (2021-08-18) +## [1.4.1](https://github.com/noahnu/syrupy/compare/v1.4.0...v1.4.1) (2021-08-18) ### Bug Fixes -* unused snapshot not filtered out when tests have similar names, close [#529](https://github.com/tophat/syrupy/issues/529) ([#531](https://github.com/tophat/syrupy/issues/531)) ([d0c8ca8](https://github.com/tophat/syrupy/commit/d0c8ca8bb4f0824ed44c332a4f4cbec6242a5334)) +* unused snapshot not filtered out when tests have similar names, close [#529](https://github.com/noahnu/syrupy/issues/529) ([#531](https://github.com/noahnu/syrupy/issues/531)) ([d0c8ca8](https://github.com/noahnu/syrupy/commit/d0c8ca8bb4f0824ed44c332a4f4cbec6242a5334)) -# [1.4.0](https://github.com/tophat/syrupy/compare/v1.3.1...v1.4.0) (2021-08-02) +# [1.4.0](https://github.com/noahnu/syrupy/compare/v1.3.1...v1.4.0) (2021-08-02) ### Features -* support regex path type matching ([#532](https://github.com/tophat/syrupy/issues/532)) ([0ff4acf](https://github.com/tophat/syrupy/commit/0ff4acffa082634247855e479114c2d0daecb63c)) +* support regex path type matching ([#532](https://github.com/noahnu/syrupy/issues/532)) ([0ff4acf](https://github.com/noahnu/syrupy/commit/0ff4acffa082634247855e479114c2d0daecb63c)) -## [1.3.1](https://github.com/tophat/syrupy/compare/v1.3.0...v1.3.1) (2021-06-20) +## [1.3.1](https://github.com/noahnu/syrupy/compare/v1.3.0...v1.3.1) (2021-06-20) ### Bug Fixes -* support attrs v21 dependency ([#527](https://github.com/tophat/syrupy/issues/527)) ([547bae8](https://github.com/tophat/syrupy/commit/547bae86c860ee3dc9dfb5529a59acbbe3498206)) +* support attrs v21 dependency ([#527](https://github.com/noahnu/syrupy/issues/527)) ([547bae8](https://github.com/noahnu/syrupy/commit/547bae86c860ee3dc9dfb5529a59acbbe3498206)) -# [1.3.0](https://github.com/tophat/syrupy/compare/v1.2.4...v1.3.0) (2021-06-05) +# [1.3.0](https://github.com/noahnu/syrupy/compare/v1.2.4...v1.3.0) (2021-06-05) ### Features -* **types:** explicit property matcher and filter types kwargs ([#515](https://github.com/tophat/syrupy/issues/515)) ([8dddebf](https://github.com/tophat/syrupy/commit/8dddebf6c217abe64b81137ad78561e0f7e8ab61)) +* **types:** explicit property matcher and filter types kwargs ([#515](https://github.com/noahnu/syrupy/issues/515)) ([8dddebf](https://github.com/noahnu/syrupy/commit/8dddebf6c217abe64b81137ad78561e0f7e8ab61)) -## [1.2.4](https://github.com/tophat/syrupy/compare/v1.2.3...v1.2.4) (2021-06-01) +## [1.2.4](https://github.com/noahnu/syrupy/compare/v1.2.3...v1.2.4) (2021-06-01) ### Bug Fixes -* correctly use pytest invocation arguments ([#507](https://github.com/tophat/syrupy/issues/507)) ([8b511e5](https://github.com/tophat/syrupy/commit/8b511e5561edf9e1427fa523f6c82cc411fb5848)) +* correctly use pytest invocation arguments ([#507](https://github.com/noahnu/syrupy/issues/507)) ([8b511e5](https://github.com/noahnu/syrupy/commit/8b511e5561edf9e1427fa523f6c82cc411fb5848)) -## [1.2.3](https://github.com/tophat/syrupy/compare/v1.2.2...v1.2.3) (2021-05-12) +## [1.2.3](https://github.com/noahnu/syrupy/compare/v1.2.2...v1.2.3) (2021-05-12) ### Bug Fixes -* support python 3.10 ([#499](https://github.com/tophat/syrupy/issues/499)) ([407ae13](https://github.com/tophat/syrupy/commit/407ae135b0529a309d74ae3f3485eb121ab3b69f)) +* support python 3.10 ([#499](https://github.com/noahnu/syrupy/issues/499)) ([407ae13](https://github.com/noahnu/syrupy/commit/407ae135b0529a309d74ae3f3485eb121ab3b69f)) -# [1.2.2](https://github.com/tophat/syrupy/compare/v1.1.0...v1.2.2) (2021-03-18) +# [1.2.2](https://github.com/noahnu/syrupy/compare/v1.1.0...v1.2.2) (2021-03-18) ### Features -* option to report details of unused snapshots ([#467](https://github.com/tophat/syrupy/issues/467)), close [#465](https://github.com/tophat/syrupy/issues/465) ([1c50db0](https://github.com/tophat/syrupy/commit/1c50db0c5aa6f2d7445cc0aa8fd532c48d593f2e)) +* option to report details of unused snapshots ([#467](https://github.com/noahnu/syrupy/issues/467)), close [#465](https://github.com/noahnu/syrupy/issues/465) ([1c50db0](https://github.com/noahnu/syrupy/commit/1c50db0c5aa6f2d7445cc0aa8fd532c48d593f2e)) -# [1.1.0](https://github.com/tophat/syrupy/compare/v1.0.0...v1.1.0) (2020-12-01) +# [1.1.0](https://github.com/noahnu/syrupy/compare/v1.0.0...v1.1.0) (2020-12-01) ### Features -* add PEP-561 py.typed file for downstream type checkers ([#440](https://github.com/tophat/syrupy/issues/440)) ([fe15bdb](https://github.com/tophat/syrupy/commit/fe15bdb88371848fc72ab1f63a577ac7b05637cb)), closes [#439](https://github.com/tophat/syrupy/issues/439) +* add PEP-561 py.typed file for downstream type checkers ([#440](https://github.com/noahnu/syrupy/issues/440)) ([fe15bdb](https://github.com/noahnu/syrupy/commit/fe15bdb88371848fc72ab1f63a577ac7b05637cb)), closes [#439](https://github.com/noahnu/syrupy/issues/439) -# [1.0.0](https://github.com/tophat/syrupy/compare/v0.9.0...v1.0.0) (2020-11-13) +# [1.0.0](https://github.com/noahnu/syrupy/compare/v0.9.0...v1.0.0) (2020-11-13) ### Features -* update development status to stable ([#413](https://github.com/tophat/syrupy/issues/413)) ([69e14c6](https://github.com/tophat/syrupy/commit/69e14c67e76976865308ff6e5b0050922a142f39)) +* update development status to stable ([#413](https://github.com/noahnu/syrupy/issues/413)) ([69e14c6](https://github.com/noahnu/syrupy/commit/69e14c67e76976865308ff6e5b0050922a142f39)) ### BREAKING CHANGES * Release v1.0.0 -# [0.9.0](https://github.com/tophat/syrupy/compare/v0.8.5...v0.9.0) (2020-11-13) +# [0.9.0](https://github.com/noahnu/syrupy/compare/v0.8.5...v0.9.0) (2020-11-13) ### Features -* expand single filename legal characters ([#398](https://github.com/tophat/syrupy/issues/398)) ([302916b](https://github.com/tophat/syrupy/commit/302916bb87727344cdc1a9abec8ad4e6200e2c50)) +* expand single filename legal characters ([#398](https://github.com/noahnu/syrupy/issues/398)) ([302916b](https://github.com/noahnu/syrupy/commit/302916bb87727344cdc1a9abec8ad4e6200e2c50)) -## [0.8.4](https://github.com/tophat/syrupy/compare/v0.8.3...v0.8.4) (2020-10-30) +## [0.8.4](https://github.com/noahnu/syrupy/compare/v0.8.3...v0.8.4) (2020-10-30) ### Performance Improvements -* optimise session items data structures ([#403](https://github.com/tophat/syrupy/issues/403)) ([818d405](https://github.com/tophat/syrupy/commit/818d405a85c2f1f5db9d673e632677c10cb52ad9)) +* optimise session items data structures ([#403](https://github.com/noahnu/syrupy/issues/403)) ([818d405](https://github.com/noahnu/syrupy/commit/818d405a85c2f1f5db9d673e632677c10cb52ad9)) -## [0.8.3](https://github.com/tophat/syrupy/compare/v0.8.2...v0.8.3) (2020-10-30) +## [0.8.3](https://github.com/noahnu/syrupy/compare/v0.8.2...v0.8.3) (2020-10-30) ### Bug Fixes -* assertion exception shows error at correct location ([#402](https://github.com/tophat/syrupy/issues/402)) ([d46bba4](https://github.com/tophat/syrupy/commit/d46bba430fa74ec016402d3f521c4812baf07bf4)) -* only perform session finish on test items ran ([#401](https://github.com/tophat/syrupy/issues/401)) ([61a670f](https://github.com/tophat/syrupy/commit/61a670f83ba07de148ae005573676f4507391ce4)) +* assertion exception shows error at correct location ([#402](https://github.com/noahnu/syrupy/issues/402)) ([d46bba4](https://github.com/noahnu/syrupy/commit/d46bba430fa74ec016402d3f521c4812baf07bf4)) +* only perform session finish on test items ran ([#401](https://github.com/noahnu/syrupy/issues/401)) ([61a670f](https://github.com/noahnu/syrupy/commit/61a670f83ba07de148ae005573676f4507391ce4)) -## [0.8.2](https://github.com/tophat/syrupy/compare/v0.8.1...v0.8.2) (2020-10-30) +## [0.8.2](https://github.com/noahnu/syrupy/compare/v0.8.1...v0.8.2) (2020-10-30) ### Bug Fixes -* unused snapshot detection for targeting single parameterized test case ([#394](https://github.com/tophat/syrupy/issues/394)) ([e008935](https://github.com/tophat/syrupy/commit/e008935c052106d157196ca77415f4773a14f64a)) +* unused snapshot detection for targeting single parameterized test case ([#394](https://github.com/noahnu/syrupy/issues/394)) ([e008935](https://github.com/noahnu/syrupy/commit/e008935c052106d157196ca77415f4773a14f64a)) -## [0.8.1](https://github.com/tophat/syrupy/compare/v0.8.0...v0.8.1) (2020-10-29) +## [0.8.1](https://github.com/noahnu/syrupy/compare/v0.8.0...v0.8.1) (2020-10-29) ### Bug Fixes -* support python 3.9 ([#397](https://github.com/tophat/syrupy/issues/397)) ([6013e9a](https://github.com/tophat/syrupy/commit/6013e9af907b94d19df089bbfea65ca217f83a9a)) +* support python 3.9 ([#397](https://github.com/noahnu/syrupy/issues/397)) ([6013e9a](https://github.com/noahnu/syrupy/commit/6013e9af907b94d19df089bbfea65ca217f83a9a)) -# [0.8.0](https://github.com/tophat/syrupy/compare/v0.7.2...v0.8.0) (2020-10-27) +# [0.8.0](https://github.com/noahnu/syrupy/compare/v0.7.2...v0.8.0) (2020-10-27) ### Features -* **amber:** normalise line endings between operating systems ([#377](https://github.com/tophat/syrupy/issues/377)) ([82b624d](https://github.com/tophat/syrupy/commit/82b624d94259422d2f5d5a4d955b615514d0d060)) +* **amber:** normalise line endings between operating systems ([#377](https://github.com/noahnu/syrupy/issues/377)) ([82b624d](https://github.com/noahnu/syrupy/commit/82b624d94259422d2f5d5a4d955b615514d0d060)) ### BREAKING CHANGES * Line control characters are normalised when snapshots are generated i.e. `\r` and `\n` characters are all written as `\n`. This is to allow interoperability of snapshots between operating systems that use disparate line control characters. -## [0.7.2](https://github.com/tophat/syrupy/compare/v0.7.1...v0.7.2) (2020-09-20) +## [0.7.2](https://github.com/noahnu/syrupy/compare/v0.7.1...v0.7.2) (2020-09-20) ### Bug Fixes -* add support for no colors mode ([#359](https://github.com/tophat/syrupy/issues/359)) ([ec39b80](https://github.com/tophat/syrupy/commit/ec39b80b14189032b1b61a4959809737c56ea149)) +* add support for no colors mode ([#359](https://github.com/noahnu/syrupy/issues/359)) ([ec39b80](https://github.com/noahnu/syrupy/commit/ec39b80b14189032b1b61a4959809737c56ea149)) -## [0.7.1](https://github.com/tophat/syrupy/compare/v0.7.0...v0.7.1) (2020-09-05) +## [0.7.1](https://github.com/noahnu/syrupy/compare/v0.7.0...v0.7.1) (2020-09-05) ### Bug Fixes -* support attrs <21.0.0 ([#350](https://github.com/tophat/syrupy/issues/350)) ([d327168](https://github.com/tophat/syrupy/commit/d327168af96385bc2c2eb97f73233ccfd9513226)) +* support attrs <21.0.0 ([#350](https://github.com/noahnu/syrupy/issues/350)) ([d327168](https://github.com/noahnu/syrupy/commit/d327168af96385bc2c2eb97f73233ccfd9513226)) -# [0.7.0](https://github.com/tophat/syrupy/compare/v0.6.1...v0.7.0) (2020-08-24) +# [0.7.0](https://github.com/noahnu/syrupy/compare/v0.6.1...v0.7.0) (2020-08-24) ### Features -* bugfix, pass indent to multiline open tag, close [#332](https://github.com/tophat/syrupy/issues/332) ([#334](https://github.com/tophat/syrupy/issues/334)) ([3b06a98](https://github.com/tophat/syrupy/commit/3b06a98928a64729bad7c2113e6390136bfbc512)) +* bugfix, pass indent to multiline open tag, close [#332](https://github.com/noahnu/syrupy/issues/332) ([#334](https://github.com/noahnu/syrupy/issues/334)) ([3b06a98](https://github.com/noahnu/syrupy/commit/3b06a98928a64729bad7c2113e6390136bfbc512)) -## [0.6.1](https://github.com/tophat/syrupy/compare/v0.6.0...v0.6.1) (2020-07-29) +## [0.6.1](https://github.com/noahnu/syrupy/compare/v0.6.0...v0.6.1) (2020-07-29) ### Bug Fixes -* support pytest v6 ([#307](https://github.com/tophat/syrupy/issues/307)) ([ef6496f](https://github.com/tophat/syrupy/commit/ef6496fb50d8cfea5c9ae1c5954ae546024e28cc)) +* support pytest v6 ([#307](https://github.com/noahnu/syrupy/issues/307)) ([ef6496f](https://github.com/noahnu/syrupy/commit/ef6496fb50d8cfea5c9ae1c5954ae546024e28cc)) -# [0.6.0](https://github.com/tophat/syrupy/compare/v0.5.2...v0.6.0) (2020-07-12) +# [0.6.0](https://github.com/noahnu/syrupy/compare/v0.5.2...v0.6.0) (2020-07-12) ### Features -* add simple props filter helper ([#290](https://github.com/tophat/syrupy/issues/290)) ([d76cc07](https://github.com/tophat/syrupy/commit/d76cc07fa5b9eb7d6cbbbe4b7894e0ba29bd0df6)) +* add simple props filter helper ([#290](https://github.com/noahnu/syrupy/issues/290)) ([d76cc07](https://github.com/noahnu/syrupy/commit/d76cc07fa5b9eb7d6cbbbe4b7894e0ba29bd0df6)) -## [0.5.2](https://github.com/tophat/syrupy/compare/v0.5.1...v0.5.2) (2020-07-09) +## [0.5.2](https://github.com/noahnu/syrupy/compare/v0.5.1...v0.5.2) (2020-07-09) ### Bug Fixes -* **amber:** Do not add empty line to empty iterables ([#287](https://github.com/tophat/syrupy/issues/287)) ([0b4a9b0](https://github.com/tophat/syrupy/commit/0b4a9b065a235f8c62ad08e29f3f36f80b3a25d6)) +* **amber:** Do not add empty line to empty iterables ([#287](https://github.com/noahnu/syrupy/issues/287)) ([0b4a9b0](https://github.com/noahnu/syrupy/commit/0b4a9b065a235f8c62ad08e29f3f36f80b3a25d6)) -## [0.5.1](https://github.com/tophat/syrupy/compare/v0.5.0...v0.5.1) (2020-06-12) +## [0.5.1](https://github.com/noahnu/syrupy/compare/v0.5.0...v0.5.1) (2020-06-12) ### Bug Fixes -* support ignoring fields when serializing ([#262](https://github.com/tophat/syrupy/issues/262)) ([f67268e](https://github.com/tophat/syrupy/commit/f67268e23de477c6cc0912f34d6c6d0f70548683)) +* support ignoring fields when serializing ([#262](https://github.com/noahnu/syrupy/issues/262)) ([f67268e](https://github.com/noahnu/syrupy/commit/f67268e23de477c6cc0912f34d6c6d0f70548683)) -# [0.5.0](https://github.com/tophat/syrupy/compare/v0.4.4...v0.5.0) (2020-06-09) +# [0.5.0](https://github.com/noahnu/syrupy/compare/v0.4.4...v0.5.0) (2020-06-09) ### Features -* **amber:** add property matcher support ([#245](https://github.com/tophat/syrupy/issues/245)) ([83ded3c](https://github.com/tophat/syrupy/commit/83ded3c73917673fcb46857eb291e26704c2c0f6)) +* **amber:** add property matcher support ([#245](https://github.com/noahnu/syrupy/issues/245)) ([83ded3c](https://github.com/noahnu/syrupy/commit/83ded3c73917673fcb46857eb291e26704c2c0f6)) -## [0.4.4](https://github.com/tophat/syrupy/compare/v0.4.3...v0.4.4) (2020-06-02) +## [0.4.4](https://github.com/noahnu/syrupy/compare/v0.4.3...v0.4.4) (2020-06-02) ### Bug Fixes -* only process valid test nodes in report, close [#246](https://github.com/tophat/syrupy/issues/246) ([#247](https://github.com/tophat/syrupy/issues/247)) ([8ed194c](https://github.com/tophat/syrupy/commit/8ed194cc9e7365c6c4fbd9fcd45d403646334b18)) +* only process valid test nodes in report, close [#246](https://github.com/noahnu/syrupy/issues/246) ([#247](https://github.com/noahnu/syrupy/issues/247)) ([8ed194c](https://github.com/noahnu/syrupy/commit/8ed194cc9e7365c6c4fbd9fcd45d403646334b18)) -## [0.4.3](https://github.com/tophat/syrupy/compare/v0.4.2...v0.4.3) (2020-05-27) +## [0.4.3](https://github.com/noahnu/syrupy/compare/v0.4.2...v0.4.3) (2020-05-27) ### Bug Fixes -* Update setup.py, so that it allows for any Python 3.6+ version to be used ([25c2688](https://github.com/tophat/syrupy/commit/25c26881629589949e5877f829f54249deec05b2)) +* Update setup.py, so that it allows for any Python 3.6+ version to be used ([25c2688](https://github.com/noahnu/syrupy/commit/25c26881629589949e5877f829f54249deec05b2)) -## [0.4.2](https://github.com/tophat/syrupy/compare/v0.4.1...v0.4.2) (2020-04-22) +## [0.4.2](https://github.com/noahnu/syrupy/compare/v0.4.1...v0.4.2) (2020-04-22) ### Bug Fixes -* Handle dotted parameters in classname ([#200](https://github.com/tophat/syrupy/issues/200)) ([d961f7c](https://github.com/tophat/syrupy/commit/d961f7cfdde4d3eb36777acce7d2926968531447)) +* Handle dotted parameters in classname ([#200](https://github.com/noahnu/syrupy/issues/200)) ([d961f7c](https://github.com/noahnu/syrupy/commit/d961f7cfdde4d3eb36777acce7d2926968531447)) -## [0.4.1](https://github.com/tophat/syrupy/compare/v0.4.0...v0.4.1) (2020-04-19) +## [0.4.1](https://github.com/noahnu/syrupy/compare/v0.4.0...v0.4.1) (2020-04-19) ### Bug Fixes -* specify encoding when reading and writing amber fossils ([#198](https://github.com/tophat/syrupy/issues/198)) ([a6a53c4](https://github.com/tophat/syrupy/commit/a6a53c4065880433953b1372e6057e2c8ec03768)) +* specify encoding when reading and writing amber fossils ([#198](https://github.com/noahnu/syrupy/issues/198)) ([a6a53c4](https://github.com/noahnu/syrupy/commit/a6a53c4065880433953b1372e6057e2c8ec03768)) -# [0.4.0](https://github.com/tophat/syrupy/compare/v0.3.12...v0.4.0) (2020-04-19) +# [0.4.0](https://github.com/noahnu/syrupy/compare/v0.3.12...v0.4.0) (2020-04-19) ### Bug Fixes -* remove added trailing whitespace from multiline string ([24f3d57](https://github.com/tophat/syrupy/commit/24f3d577726bc9c9b09433780f1647adc8fd35a4)) +* remove added trailing whitespace from multiline string ([24f3d57](https://github.com/noahnu/syrupy/commit/24f3d577726bc9c9b09433780f1647adc8fd35a4)) ### Features -* **amber:** indent multiline strings, close [#193](https://github.com/tophat/syrupy/issues/193) ([#194](https://github.com/tophat/syrupy/issues/194)) ([de5af3e](https://github.com/tophat/syrupy/commit/de5af3e233712e1db3132b0cdbcc6325dcb9a625)) +* **amber:** indent multiline strings, close [#193](https://github.com/noahnu/syrupy/issues/193) ([#194](https://github.com/noahnu/syrupy/issues/194)) ([de5af3e](https://github.com/noahnu/syrupy/commit/de5af3e233712e1db3132b0cdbcc6325dcb9a625)) -## [0.3.12](https://github.com/tophat/syrupy/compare/v0.3.11...v0.3.12) (2020-04-19) +## [0.3.12](https://github.com/noahnu/syrupy/compare/v0.3.11...v0.3.12) (2020-04-19) ### Bug Fixes -* use the test node location when determining snapshot class name ([#197](https://github.com/tophat/syrupy/issues/197)) ([1010c94](https://github.com/tophat/syrupy/commit/1010c94378dbf325fe3fda6a2f563ae152c640ca)) +* use the test node location when determining snapshot class name ([#197](https://github.com/noahnu/syrupy/issues/197)) ([1010c94](https://github.com/noahnu/syrupy/commit/1010c94378dbf325fe3fda6a2f563ae152c640ca)) -## [0.3.11](https://github.com/tophat/syrupy/compare/v0.3.10...v0.3.11) (2020-04-17) +## [0.3.11](https://github.com/noahnu/syrupy/compare/v0.3.10...v0.3.11) (2020-04-17) ### Bug Fixes -* show snapshot data in report when does not exist ([#191](https://github.com/tophat/syrupy/issues/191)) ([7ebdca2](https://github.com/tophat/syrupy/commit/7ebdca2d5537ce6f311b09e812aa54ffc141222e)) +* show snapshot data in report when does not exist ([#191](https://github.com/noahnu/syrupy/issues/191)) ([7ebdca2](https://github.com/noahnu/syrupy/commit/7ebdca2d5537ce6f311b09e812aa54ffc141222e)) -## [0.3.10](https://github.com/tophat/syrupy/compare/v0.3.9...v0.3.10) (2020-04-15) +## [0.3.10](https://github.com/noahnu/syrupy/compare/v0.3.9...v0.3.10) (2020-04-15) ### Bug Fixes -* parsing identifiers from snapshot names ([#186](https://github.com/tophat/syrupy/issues/186)) ([#187](https://github.com/tophat/syrupy/issues/187)) ([45a2931](https://github.com/tophat/syrupy/commit/45a29312a8a416db420cb2c9a839069dfc289c46)) +* parsing identifiers from snapshot names ([#186](https://github.com/noahnu/syrupy/issues/186)) ([#187](https://github.com/noahnu/syrupy/issues/187)) ([45a2931](https://github.com/noahnu/syrupy/commit/45a29312a8a416db420cb2c9a839069dfc289c46)) -## [0.3.9](https://github.com/tophat/syrupy/compare/v0.3.8...v0.3.9) (2020-04-08) +## [0.3.9](https://github.com/noahnu/syrupy/compare/v0.3.8...v0.3.9) (2020-04-08) ### Bug Fixes -* correctly track unused snapshots in classes ([#177](https://github.com/tophat/syrupy/issues/177)) ([f780501](https://github.com/tophat/syrupy/commit/f7805015ac874843fbd996d209a6a6851f5d0ba2)) +* correctly track unused snapshots in classes ([#177](https://github.com/noahnu/syrupy/issues/177)) ([f780501](https://github.com/noahnu/syrupy/commit/f7805015ac874843fbd996d209a6a6851f5d0ba2)) -## [0.3.8](https://github.com/tophat/syrupy/compare/v0.3.7...v0.3.8) (2020-04-03) +## [0.3.8](https://github.com/noahnu/syrupy/compare/v0.3.7...v0.3.8) (2020-04-03) ### Performance Improvements -* only clear assertion `_extension` when overridden ([#172](https://github.com/tophat/syrupy/issues/172)) ([82eae91](https://github.com/tophat/syrupy/commit/82eae91a2156556753ced22eb9b6cc97594b6f9c)) +* only clear assertion `_extension` when overridden ([#172](https://github.com/noahnu/syrupy/issues/172)) ([82eae91](https://github.com/noahnu/syrupy/commit/82eae91a2156556753ced22eb9b6cc97594b6f9c)) -## [0.3.7](https://github.com/tophat/syrupy/compare/v0.3.6...v0.3.7) (2020-03-24) +## [0.3.7](https://github.com/noahnu/syrupy/compare/v0.3.6...v0.3.7) (2020-03-24) ### Bug Fixes -* support call syntax for snapshot fixture overriding ([#160](https://github.com/tophat/syrupy/issues/160)) ([4cf051c](https://github.com/tophat/syrupy/commit/4cf051c808da59d7b5a4dcad6cae440dae262541)) +* support call syntax for snapshot fixture overriding ([#160](https://github.com/noahnu/syrupy/issues/160)) ([4cf051c](https://github.com/noahnu/syrupy/commit/4cf051c808da59d7b5a4dcad6cae440dae262541)) -## [0.3.6](https://github.com/tophat/syrupy/compare/v0.3.5...v0.3.6) (2020-03-10) +## [0.3.6](https://github.com/noahnu/syrupy/compare/v0.3.5...v0.3.6) (2020-03-10) ### Bug Fixes -* specify correct min version of pytest ([#157](https://github.com/tophat/syrupy/issues/157)) ([858bec7](https://github.com/tophat/syrupy/commit/858bec7e3205679eb0099bde66af564002c4af8d)) +* specify correct min version of pytest ([#157](https://github.com/noahnu/syrupy/issues/157)) ([858bec7](https://github.com/noahnu/syrupy/commit/858bec7e3205679eb0099bde66af564002c4af8d)) -## [0.3.5](https://github.com/tophat/syrupy/compare/v0.3.4...v0.3.5) (2020-03-08) +## [0.3.5](https://github.com/noahnu/syrupy/compare/v0.3.4...v0.3.5) (2020-03-08) ### Bug Fixes -* snapshot name warning showing on false negatives ([#151](https://github.com/tophat/syrupy/issues/151)) ([d56860b](https://github.com/tophat/syrupy/commit/d56860b9005ee21a04f36f0ea7550fe8c4d7323a)) +* snapshot name warning showing on false negatives ([#151](https://github.com/noahnu/syrupy/issues/151)) ([d56860b](https://github.com/noahnu/syrupy/commit/d56860b9005ee21a04f36f0ea7550fe8c4d7323a)) -## [0.3.4](https://github.com/tophat/syrupy/compare/v0.3.3...v0.3.4) (2020-03-08) +## [0.3.4](https://github.com/noahnu/syrupy/compare/v0.3.3...v0.3.4) (2020-03-08) ### Bug Fixes -* show hidden line characters and accessible colors ([#126](https://github.com/tophat/syrupy/issues/126)) ([fa442df](https://github.com/tophat/syrupy/commit/fa442df2981406b31065938c57b6ee8eaed2e724)), closes [#150](https://github.com/tophat/syrupy/issues/150) +* show hidden line characters and accessible colors ([#126](https://github.com/noahnu/syrupy/issues/126)) ([fa442df](https://github.com/noahnu/syrupy/commit/fa442df2981406b31065938c57b6ee8eaed2e724)), closes [#150](https://github.com/noahnu/syrupy/issues/150) -## [v0.3.3](https://github.com/tophat/syrupy/compare/v0.3.2...v0.3.3) +## [v0.3.3](https://github.com/noahnu/syrupy/compare/v0.3.2...v0.3.3) - Conversion of all `os.path` and `os.walk` calls to use `pathlib` instead, setting `pathlib` as the new preferred way of doing path operations (#130) - Add `--snapshot-default-extension` option to specify extension class via pytest cli (#132) @@ -672,30 +672,30 @@ Migration Guide - Fix bug where targeting specific test nodes did not filter out unused snapshots (#139) - Fix bug where snapshot report was printed out before the pytest report (#144) -## [v0.3.2](https://github.com/tophat/syrupy/compare/v0.3.1...v0.3.2) +## [v0.3.2](https://github.com/noahnu/syrupy/compare/v0.3.1...v0.3.2) - Fix bug where untargeted snapshots would be deleted when using pytest in targeted mode (#123) - Fix bug where snapshot files were not cleaned up when running specific test files (#127) - Fix bug where targeting specific test nodes in a test file was not supported (#127) - Fix bug where targeting specific test modules using pyargs was not supported (#127) -## [v0.3.1](https://github.com/tophat/syrupy/compare/v0.3.0...v0.3.1) +## [v0.3.1](https://github.com/noahnu/syrupy/compare/v0.3.0...v0.3.1) - Fix bug where newline control characters were being translated based on platform (#113) -## [v0.3.0](https://github.com/tophat/syrupy/compare/v0.2.0...v0.3.0) +## [v0.3.0](https://github.com/noahnu/syrupy/compare/v0.2.0...v0.3.0) - Adds support for named tuple fields (#108) - Add trailing commas to class fields (#108) - Specify explicit version range for pytest peer dependency (#111) -## [v0.2.0](https://github.com/tophat/syrupy/compare/v0.1.0...v0.2.0) +## [v0.2.0](https://github.com/noahnu/syrupy/compare/v0.1.0...v0.2.0) - Fix issue with using hashables as dict keys or in sets (#103) - Add support for custom objects repr (#101) - Add support for nested test classes (#99) - Remove `_snapshot_subdirectory_name` from `SnapshotFossilizer` (#99) -## [v0.1.0](https://github.com/tophat/syrupy/tree/v0.1.0) +## [v0.1.0](https://github.com/noahnu/syrupy/tree/v0.1.0) - Initial release respecting [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index f001f431..c6ecf0a2 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -55,8 +55,8 @@ further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at opensource@tophat.com. All -complaints will be reviewed and investigated and will result in a response that +reported by contacting the project team. All complaints will be reviewed +and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eae37ba1..25b985c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ :tada: Thanks for taking the time to contribute! :tada: -The following is a set of guidelines for contributing to [syrupy](https://github.com/tophat/syrupy). +The following is a set of guidelines for contributing to [syrupy](https://github.com/noahnu/syrupy). These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document. @@ -107,7 +107,7 @@ def test_performance(x, snapshot): assert x == snapshot ``` -and then run: +and then run: ```sh SIZE=1000 python -m cProfile -s cumtime -m pytest test_performance.py --snapshot-update -s > profile.log @@ -137,4 +137,4 @@ You can also run `inv lint --fix` to see and solve what issues it can. ### Issue and Pull Request Labels -Please tag issues and pull requests according to the relevant [github labels](https://github.com/tophat/syrupy/issues/labels). +Please tag issues and pull requests according to the relevant [github labels](https://github.com/noahnu/syrupy/issues/labels). diff --git a/LICENSE b/LICENSE index 96e009db..2acbd1b6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ - Apache License + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -175,7 +175,18 @@ END OF TERMS AND CONDITIONS - Copyright 2019-2020 Tophatmonocle Corp. + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 59aa0dd1..afb029d9 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,10 @@ Logo -[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors) [![Maturity badge - level 4](https://img.shields.io/badge/Maturity-Level%204%20--%20Critical-brightgreen.svg)](https://github.com/tophat/getting-started/blob/master/scorecard.md) [![Stage](https://img.shields.io/pypi/status/syrupy)](https://pypi.org/project/syrupy/) [![Discord](https://img.shields.io/discord/809577721751142410?label=community%20chat)](https://discord.gg/YhK3GFcZrk) +[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors) [![Stage](https://img.shields.io/pypi/status/syrupy)](https://pypi.org/project/syrupy/) ![Pytest>=5.1.0,<9.0.0](https://img.shields.io/badge/pytest-%3E%3D5.1.0,%20%3C9.0.0-green) [![Pypi](https://img.shields.io/pypi/v/syrupy)](https://pypi.org/project/syrupy/) [![Wheel](https://img.shields.io/pypi/wheel/syrupy)](https://pypi.org/project/syrupy/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/syrupy) [![PyPI - Downloads](https://img.shields.io/pypi/dm/syrupy)](https://pypi.org/project/syrupy/) [![PyPI - License](https://img.shields.io/pypi/l/syrupy)](./LICENSE) -![Build Status](https://github.com/tophat/syrupy/workflows/Syrupy%20CICD/badge.svg) [![codecov](https://codecov.io/gh/tophat/syrupy/branch/main/graph/badge.svg)](https://codecov.io/gh/tophat/syrupy) - -![Next Status](https://github.com/tophat/syrupy/workflows/Next%20Version/badge.svg) - ## Overview Syrupy is a zero-dependency [pytest](https://docs.pytest.org/en/latest/) snapshot plugin. It enables developers to write tests which assert immutability of computed results. @@ -67,8 +63,6 @@ pytest --snapshot-update A snapshot file should be generated under a `__snapshots__` directory in the same directory as `test_file.py`. The `__snapshots__` directory and all its children should be committed along with your test code. -[![Usage Demo](https://tophat.github.io/syrupy/assets/usage_demo.gif)](https://asciinema.org/a/369462) - #### Custom Objects The default serializer supports all python built-in types and provides a sensible default for custom objects. @@ -142,7 +136,7 @@ These are the cli options exposed to `pytest` by the plugin. | `--snapshot-update` | Snapshots will be updated to match assertions and unused snapshots will be deleted. | `False` | | `--snapshot-details` | Includes details of unused snapshots (test name and snapshot location) in the final report. | `False` | | `--snapshot-warn-unused` | Prints a warning on unused snapshots rather than fail the test suite. | `False` | -| `--snapshot-default-extension` | Use to change the default snapshot extension class. | [AmberSnapshotExtension](https://github.com/tophat/syrupy/blob/main/src/syrupy/extensions/amber/__init__.py) | +| `--snapshot-default-extension` | Use to change the default snapshot extension class. | [AmberSnapshotExtension](https://github.com/noahnu/syrupy/blob/main/src/syrupy/extensions/amber/__init__.py) | | `--snapshot-no-colors` | Disable test results output highlighting. Equivalent to setting the environment variables `ANSI_COLORS_DISABLED` or `NO_COLOR` | Disabled by default if not in terminal. | ### Assertion Options @@ -375,15 +369,15 @@ def test_case(snapshot): ### Advanced Usage -By overriding the provided [`AbstractSyrupyExtension`](https://github.com/tophat/syrupy/tree/main/src/syrupy/extensions/base.py) you can implement varied custom behaviours. +By overriding the provided [`AbstractSyrupyExtension`](https://github.com/noahnu/syrupy/tree/main/src/syrupy/extensions/base.py) you can implement varied custom behaviours. -See examples of how syrupy can be used and extended in the [test examples](https://github.com/tophat/syrupy/tree/main/tests/examples). +See examples of how syrupy can be used and extended in the [test examples](https://github.com/noahnu/syrupy/tree/main/tests/examples). #### Overriding defaults -It is possible to override `include`, `exclude`, `matchers` and `extension_class` on a more global level just once, +It is possible to override `include`, `exclude`, `matchers` and `extension_class` on a more global level just once, instead of every time per test. By default, after every assertion the modified values per snapshot assert are reverted -to their default values. However, it is possible to override those default values with ones you would like persisted, +to their default values. However, it is possible to override those default values with ones you would like persisted, which will be treated as the new defaults. To achieve that you can use `snapshot.with_defaults`, which will create new instance of `SnapshotAssertion` with the provided values. @@ -467,14 +461,14 @@ The generated snapshot: ### Extending Syrupy -- [Custom defaults](https://github.com/tophat/syrupy/tree/main/tests/examples/test_custom_defaults.py) -- [Custom snapshot directory 1](https://github.com/tophat/syrupy/tree/main/tests/examples/test_custom_snapshot_directory.py) -- [Custom snapshot directory 2](https://github.com/tophat/syrupy/tree/main/tests/examples/test_custom_snapshot_directory_2.py) -- [Custom snapshot name](https://github.com/tophat/syrupy/tree/main/tests/examples/test_custom_snapshot_name.py) -- [Custom object snapshots](https://github.com/tophat/syrupy/tree/main/tests/examples/test_custom_object_repr.py) -- [Custom comparator](https://github.com/tophat/syrupy/tree/main/tests/integration/test_custom_comparator.py) -- [JPEG image extension](https://github.com/tophat/syrupy/tree/main/tests/examples/test_custom_image_extension.py) -- [Built-in image extensions](https://github.com/tophat/syrupy/blob/main/tests/syrupy/extensions/image/test_image_svg.py) +- [Custom defaults](https://github.com/noahnu/syrupy/tree/main/tests/examples/test_custom_defaults.py) +- [Custom snapshot directory 1](https://github.com/noahnu/syrupy/tree/main/tests/examples/test_custom_snapshot_directory.py) +- [Custom snapshot directory 2](https://github.com/noahnu/syrupy/tree/main/tests/examples/test_custom_snapshot_directory_2.py) +- [Custom snapshot name](https://github.com/noahnu/syrupy/tree/main/tests/examples/test_custom_snapshot_name.py) +- [Custom object snapshots](https://github.com/noahnu/syrupy/tree/main/tests/examples/test_custom_object_repr.py) +- [Custom comparator](https://github.com/noahnu/syrupy/tree/main/tests/integration/test_custom_comparator.py) +- [JPEG image extension](https://github.com/noahnu/syrupy/tree/main/tests/examples/test_custom_image_extension.py) +- [Built-in image extensions](https://github.com/noahnu/syrupy/blob/main/tests/syrupy/extensions/image/test_image_svg.py) ## Uninstalling @@ -484,13 +478,9 @@ pip uninstall syrupy If you have decided not to use Syrupy for your project after giving us a try, we'd love to get your feedback. Please create a GitHub issue if applicable, or drop a comment in our [Discord server](https://discord.gg/YhK3GFcZrk). -## Benchmarks - -Benchmarks are automatically published to . - ## Known Limitations -- `pytest-xdist` support only partially exists. There is no issue when it comes to reads however when you attempt to run `pytest --snapshot-update`, if running with more than 1 process, the ability to detect unused snapshots is disabled. See [#535](https://github.com/tophat/syrupy/issues/535) for more information. +- `pytest-xdist` support only partially exists. There is no issue when it comes to reads however when you attempt to run `pytest --snapshot-update`, if running with more than 1 process, the ability to detect unused snapshots is disabled. See [#535](https://github.com/noahnu/syrupy/issues/535) for more information. _We welcome contributions to patch these known limitations._ @@ -500,7 +490,7 @@ Feel free to open a PR or GitHub issue. Contributions welcome! To develop locally, clone this repository and run `. script/bootstrap` to install test dependencies. You can then use `invoke --list` to see available commands. -### See contributing [guide](https://github.com/tophat/syrupy/tree/main/CONTRIBUTING.md) +### See contributing [guide](https://github.com/noahnu/syrupy/tree/main/CONTRIBUTING.md) ## Contributors @@ -510,37 +500,37 @@ To develop locally, clone this repository and run `. script/bootstrap` to instal - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - + + + +
Noah
Noah

πŸš‡ πŸ€” πŸ’» πŸ“– ⚠️
Emmanuel Ogbizi
Emmanuel Ogbizi

πŸ’» 🎨 πŸš‡ πŸ“– ⚠️
Adam Lazzarato
Adam Lazzarato

πŸ“–
Marc Cataford
Marc Cataford

πŸ’» ⚠️
Michael Rose
Michael Rose

πŸ’» ⚠️
Jimmy Jia
Jimmy Jia

πŸ’» ⚠️
Noah
Noah

πŸš‡ πŸ€” πŸ’» πŸ“– ⚠️
Emmanuel Ogbizi
Emmanuel Ogbizi

πŸ’» 🎨 πŸš‡ πŸ“– ⚠️
Adam Lazzarato
Adam Lazzarato

πŸ“–
Marc Cataford
Marc Cataford

πŸ’» ⚠️
Michael Rose
Michael Rose

πŸ’» ⚠️
Jimmy Jia
Jimmy Jia

πŸ’» ⚠️
Steven Loria
Steven Loria

πŸš‡
Artur Balabanov
Artur Balabanov

πŸ’»
Huon Wilson
Huon Wilson

πŸ’» πŸ›
Elizabeth Culbertson
Elizabeth Culbertson

πŸ’» ⚠️
Joakim Nordling
Joakim Nordling

πŸ›
Ouail
Ouail

πŸ’»
Denis
Denis

πŸ’»
N0124
N0124

πŸ’»
Artur Balabanov
Artur Balabanov

πŸ’»
Huon Wilson
Huon Wilson

πŸ’» πŸ›
Elizabeth Culbertson
Elizabeth Culbertson

πŸ’» ⚠️
Joakim Nordling
Joakim Nordling

πŸ›
Ouail
Ouail

πŸ’»
Denis
Denis

πŸ’»
N0124
N0124

πŸ’»
dtczest
dtczest

πŸ›
Eddie Darling
Eddie Darling

πŸ“–
darrenburns
darrenburns

πŸ“–
Magnus Heskestad Waage
Magnus Heskestad Waage

πŸ›
Herbert Ho
Herbert Ho

πŸ›
Tolga Eren
Tolga Eren

πŸ›
John Kurkowski
John Kurkowski

πŸ›
dtczest
dtczest

πŸ›
Eddie Darling
Eddie Darling

πŸ“–
darrenburns
darrenburns

πŸ“–
Magnus Heskestad Waage
Magnus Heskestad Waage

πŸ›
Herbert Ho
Herbert Ho

πŸ›
Tolga Eren
Tolga Eren

πŸ›
John Kurkowski
John Kurkowski

πŸ›
Atharva Arya
Atharva Arya

πŸ’»
MichaΕ‚ Jelonek
MichaΕ‚ Jelonek

πŸ’»
ManiacDC
ManiacDC

πŸ’»
Dmitry Dygalo
Dmitry Dygalo

πŸ“–
Atharva Arya
Atharva Arya

πŸ’»
MichaΕ‚ Jelonek
MichaΕ‚ Jelonek

πŸ’»
ManiacDC
ManiacDC

πŸ’»
Dmitry Dygalo
Dmitry Dygalo

πŸ“–
@@ -558,4 +548,4 @@ This section is automatically generated via tagging the all-contributors bot in ## License -Syrupy is licensed under [Apache License Version 2.0](https://github.com/tophat/syrupy/tree/main/LICENSE). +Syrupy is licensed under [Apache License Version 2.0](https://github.com/noahnu/syrupy/tree/main/LICENSE). diff --git a/SECURITY.md b/SECURITY.md index 1efeef2f..f6f42b85 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,4 +6,4 @@ In general, we do not backport fixes to older versions of Syrupy due to maintena ## Reporting a Vulnerability -To report a vulnerability, see: https://github.com/tophat/syrupy/security/advisories. If you do not receive a response within a few days, feel free to reach out to an admin on our discord server. +To report a vulnerability, see: https://github.com/noahnu/syrupy/security/advisories. diff --git a/pyproject.toml b/pyproject.toml index 8ae8b634..2961f05e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = 'syrupy' license = 'Apache-2.0' version = "4.6.1" description = 'Pytest Snapshot Test Utility' -authors = ['Top Hat Open Source '] +authors = [''] #FIXME: Update with new ownership. readme = 'README.md' packages = [{ include = 'syrupy', from = 'src' }] classifiers = [ @@ -21,7 +21,7 @@ classifiers = [ 'Topic :: Software Development :: Testing', 'Topic :: Utilities', ] -repository = 'https://github.com/tophat/syrupy' +repository = 'https://github.com/noahnu/syrupy' include = ['src/syrupy/**/*'] [tool.poetry.plugins.pytest11] diff --git a/tests/integration/test_single_file_multiple_extensions.py b/tests/integration/test_single_file_multiple_extensions.py index bcee53db..c1c965b5 100644 --- a/tests/integration/test_single_file_multiple_extensions.py +++ b/tests/integration/test_single_file_multiple_extensions.py @@ -42,7 +42,7 @@ def test_dot_in_filename(snapshot): def test_class_style(testdir): """ - Regression test for https://github.com/tophat/syrupy/issues/717 + Regression test for https://github.com/noahnu/syrupy/issues/717 """ testcase = """