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
+40-6Lines changed: 40 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,50 @@ 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.2.0 (2020-09-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 fixes a bunch of bugs and ergonomics but they remain mostly unchanged.
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.
- In 20.1.0 we introduced the ``inherited`` attribute on the ``attr.Attribute`` class to differentiate attributes that have been inherited and those that have been defined directly on the class.
37
+
38
+
It has shown to be problematic to involve that attribute when comparing instances of ``attr.Attribute`` though, because when sub-classing, attributes from base classes are suddenly not equal to themselves in a super class.
39
+
40
+
Therefore the ``inherited`` attribute will now be ignored when hashing and comparing instances of ``attr.Attribute``.
- ``zope.interface`` is now a "soft dependency" when running the test suite; if ``zope.interface`` is not installed when running the test suite, the interface-related tests will be automatically skipped.
0 commit comments