Commit 9b4cc82
committed
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
2 files changed
+48
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
9 | 56 | | |
10 | 57 | | |
11 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments