Skip to content

Commit 598494a

Browse files
committed
Prepare 24.3.0
1 parent 805ff5e commit 598494a

7 files changed

+23
-7
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,29 @@ Changes for the upcoming release can be found in the [`changelog.d` directory](h
1212

1313
<!-- towncrier release notes start -->
1414

15+
## [24.3.0](https://github.com/python-attrs/attrs/tree/24.3.0) - 2024-12-16
16+
17+
### Backwards-incompatible Changes
18+
19+
- Python 3.7 has been dropped.
20+
[#1340](https://github.com/python-attrs/attrs/issues/1340)
21+
22+
23+
### Changes
24+
25+
- Introduce `attrs.NothingType`, for annotating types consistent with `attrs.NOTHING`.
26+
[#1358](https://github.com/python-attrs/attrs/issues/1358)
27+
- Allow mutating `__suppress_context__` and `__notes__` on frozen exceptions.
28+
[#1365](https://github.com/python-attrs/attrs/issues/1365)
29+
- `attrs.converters.optional()` works again when taking `attrs.converters.pipe()` or another Converter as its argument.
30+
[#1372](https://github.com/python-attrs/attrs/issues/1372)
31+
- *attrs* instances now support [`copy.replace()`](https://docs.python.org/3/library/copy.html#copy.replace).
32+
[#1383](https://github.com/python-attrs/attrs/issues/1383)
33+
- `attrs.validators.instance_of()`'s type hints now allow for union types.
34+
For example: `instance_of(str | int)`
35+
[#1385](https://github.com/python-attrs/attrs/issues/1385)
36+
37+
1538
## [24.2.0](https://github.com/python-attrs/attrs/tree/24.2.0) - 2024-08-06
1639

1740
### Deprecations

changelog.d/1340.breaking.md

-1
This file was deleted.

changelog.d/1358.change.md

-1
This file was deleted.

changelog.d/1365.change.md

-1
This file was deleted.

changelog.d/1372.change.md

-1
This file was deleted.

changelog.d/1383.change.md

-1
This file was deleted.

changelog.d/1385.change.md

-2
This file was deleted.

0 commit comments

Comments
 (0)