Skip to content

Commit 9b4cc82

Browse files
chore(release): 5.0.0 [skip ci]
# [5.0.0](v4.9.1...v5.0.0) (2025-09-28) * Switch to MIT license ([#945](#945)) ([d74d340](d74d340)) ### Bug Fixes * Block terminal summary for xdist workers. ([#978](#978)) ([33a848d](33a848d)) * ensure syrupy's pytest_assertrepr_compare hook is called first. ([#984](#984)) ([eb0024d](eb0024d)) ### Code Refactoring * remove incorrect private underscore prefix from public methods ([8cfc905](8cfc905)) ### Features * add --snapshot-dirname option, close [#810](#810) ([27135c7](27135c7)) * drop support for py3.8, raise min. pytest to v8 ([#904](#904)) ([a879ff1](a879ff1)) * update min. python version to 3.10 ([#1024](#1024)) ([16b4113](16b4113)) ### BREAKING CHANGES * The following methods have been renamed: SnapshotCollectionStorage - _read_snapshot_collection -> read_snapshot_collection - _read_snapshot_data_from_location -> read_snapshot_data_from_location - _write_snapshot_collection -> write_snapshot_collection - _get_file_basename -> get_file_basename - _file_extension -> file_extension AmberDataSerializer - _snapshot_sort_key -> snapshot_sort_key Renamed constants to improve clarity: constants - SNAPSHOT_EMPTY_FOSSIL_KEY -> SNAPSHOT_EMPTY_COLLECTION_KEY - SNAPSHOT_UNKNOWN_FOSSIL_KEY -> SNAPSHOT_UNKNOWN_COLLECTION_KEY * Min. python version is now 3.10. * The Syrupy project is switching from Apache 2.0 to a more permissive MIT license. By using Syrupy >=5, you agree to abide by this new license. You can continue to use Syrupy v1 through v4 under Apache 2.0. * Drops support for Python 3.8 which is end of life as of October 2024. Raises the minimum version of pytest to v8.
1 parent af15385 commit 9b4cc82

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,53 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
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.
88

9+
# [5.0.0](https://github.com/syrupy-project/syrupy/compare/v4.9.1...v5.0.0) (2025-09-28)
10+
11+
12+
* Switch to MIT license ([#945](https://github.com/syrupy-project/syrupy/issues/945)) ([d74d340](https://github.com/syrupy-project/syrupy/commit/d74d340f8884fdb04831fcf77f29d66e098aaa66))
13+
14+
15+
### Bug Fixes
16+
17+
* Block terminal summary for xdist workers. ([#978](https://github.com/syrupy-project/syrupy/issues/978)) ([33a848d](https://github.com/syrupy-project/syrupy/commit/33a848df7c4a33577e4057eae5792f6592ad3172))
18+
* ensure syrupy's pytest_assertrepr_compare hook is called first. ([#984](https://github.com/syrupy-project/syrupy/issues/984)) ([eb0024d](https://github.com/syrupy-project/syrupy/commit/eb0024d339248b7e1f76fdb65ed30ba3e19c0857))
19+
20+
21+
### Code Refactoring
22+
23+
* remove incorrect private underscore prefix from public methods ([8cfc905](https://github.com/syrupy-project/syrupy/commit/8cfc9059d37066187ac419e2233059bad58b667f))
24+
25+
26+
### Features
27+
28+
* add --snapshot-dirname option, close [#810](https://github.com/syrupy-project/syrupy/issues/810) ([27135c7](https://github.com/syrupy-project/syrupy/commit/27135c7c861441962c2cedde841f3e4fed2949fd))
29+
* drop support for py3.8, raise min. pytest to v8 ([#904](https://github.com/syrupy-project/syrupy/issues/904)) ([a879ff1](https://github.com/syrupy-project/syrupy/commit/a879ff15ad82e59a2f387db0822be072a5684f2f))
30+
* update min. python version to 3.10 ([#1024](https://github.com/syrupy-project/syrupy/issues/1024)) ([16b4113](https://github.com/syrupy-project/syrupy/commit/16b4113cd56da96e84a90ebda0919e9b8dd35954))
31+
32+
33+
### BREAKING CHANGES
34+
35+
* The following methods have been renamed:
36+
37+
SnapshotCollectionStorage
38+
- _read_snapshot_collection -> read_snapshot_collection
39+
- _read_snapshot_data_from_location -> read_snapshot_data_from_location
40+
- _write_snapshot_collection -> write_snapshot_collection
41+
- _get_file_basename -> get_file_basename
42+
- _file_extension -> file_extension
43+
44+
AmberDataSerializer
45+
- _snapshot_sort_key -> snapshot_sort_key
46+
47+
Renamed constants to improve clarity:
48+
49+
constants
50+
- SNAPSHOT_EMPTY_FOSSIL_KEY -> SNAPSHOT_EMPTY_COLLECTION_KEY
51+
- SNAPSHOT_UNKNOWN_FOSSIL_KEY -> SNAPSHOT_UNKNOWN_COLLECTION_KEY
52+
* Min. python version is now 3.10.
53+
* The Syrupy project is switching from Apache 2.0 to a more permissive MIT license. By using Syrupy >=5, you agree to abide by this new license. You can continue to use Syrupy v1 through v4 under Apache 2.0.
54+
* Drops support for Python 3.8 which is end of life as of October 2024. Raises the minimum version of pytest to v8.
55+
956
## [4.9.1](https://github.com/syrupy-project/syrupy/compare/v4.9.0...v4.9.1) (2025-03-24)
1057

1158

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
repository = 'https://github.com/syrupy-project/syrupy'
1515

1616
[tool.poetry]
17-
version = "4.9.1"
17+
version = "5.0.0"
1818
packages = [{ include = 'syrupy', from = 'src' }]
1919
classifiers = [
2020
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)