You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HISTORY.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,11 @@ Our backwards-compatibility policy can be found [here](https://github.com/python
13
13
14
14
## 25.2.0 (unreleased)
15
15
16
-
- Add a `use_alias` parameter to {class}`cattrs.Converter`.
16
+
-**Potentially breaking**: Sequences are now structured into tuples.
17
+
This allows hashability, better immutability and is more consistent with the [`collections.abc.Sequence`](https://docs.python.org/3/library/collections.abc.html#collections.abc.Sequence) type.
18
+
See [Migrations](https://catt.rs/en/latest/migrations.html#sequences-structuring-into-tuples) for steps to restore legacy behavior.
@@ -24,4 +38,4 @@ The old behavior can be restored by explicitly passing in the old hook fallback
24
38
25
39
The internal `cattrs.gen.MappingStructureFn` and `cattrs.gen.DictStructureFn` types were replaced by a more general type, `cattrs.SimpleStructureHook[In, T]`.
26
40
If you were using `MappingStructureFn`, use `SimpleStructureHook[Mapping[Any, Any], T]` instead.
27
-
If you were using `DictStructureFn`, use `SimpleStructureHook[Mapping[str, Any], T]` instead.
41
+
If you were using `DictStructureFn`, use `SimpleStructureHook[Mapping[str, Any], T]` instead.
0 commit comments