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: CHANGELOG.rst
+36-6Lines changed: 36 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,46 @@ Changelog
4
4
Versions follow `CalVer <https://calver.org>`_ with a strict backwards compatibility policy.
5
5
The third digit is only for regressions.
6
6
7
-
Changes for the upcoming release can be found in the `"changelog.d" directory <https://github.com/python-attrs/attrs/tree/master/changelog.d>`_ in our repository.
7
+
.. towncrier release notes start
8
8
9
-
..
10
-
Do *NOT* add changelog entries here!
9
+
20.3.0 (2020-11-05)
10
+
-------------------
11
11
12
-
This changelog is managed by towncrier and is compiled at release time.
12
+
Backward-incompatible Changes
13
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14
14
-
See https://www.attrs.org/en/latest/contributing.html#changelog for details.
15
+
- ``attr.define()``, ``attr.frozen()``, ``attr.mutable()``, and ``attr.field()`` remain **provisional**.
16
+
17
+
This release does **not** change change anything about them and they are already used widely in production though.
18
+
19
+
If you wish to use them together with mypy, you can simply drop `this plugin <https://gist.github.com/hynek/1e3844d0c99e479e716169034b5fa963#file-attrs_ng_plugin-py>`_ into your project.
20
+
21
+
Feel free to provide feedback to them in the linked issue #668.
22
+
23
+
We will release the ``attrs`` namespace once we have the feeling that the APIs have properly settled.
- ``attr.s()`` now has a *field_transformer* hook that is called for all ``Attribute``\ s and returns a (modified or updated) list of ``Attribute`` instances.
31
+
``attr.asdict()`` has a *value_serializer* hook that can change the way values are converted.
32
+
Both hooks are meant to help with data (de-)serialization workflows.
0 commit comments