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
+48-6Lines changed: 48 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,58 @@ 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
+
18.2.0 (2018-09-01)
10
+
-------------------
11
11
12
-
This changelog is managed by towncrier and is compiled at release time.
12
+
Deprecations
13
+
^^^^^^^^^^^^
13
14
14
-
See https://www.attrs.org/en/latest/contributing.html#changelog for details.
15
+
- Comparing subclasses using ``<``, ``>``, ``<=``, and ``>=`` is now deprecated.
16
+
The docs always claimed that instances are only compared if the types are identical, so this is a first step to conform to the docs.
17
+
18
+
Equality operators (``==`` and ``!=``) were always strict in this regard.
- Added *kw_only* arguments to ``attr.ib`` and ``attr.s``, and a corresponding *kw_only* attribute to ``attr.Attribute``.
31
+
This change makes it possible to have a generated ``__init__`` with keyword-only arguments on Python 3, relaxing the required ordering of default and non-default valued attributes.
0 commit comments