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
+58-6Lines changed: 58 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,69 @@ Changelog
4
4
Versions follow `CalVer <http://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
+
9
+
18.1.0 (2018-05-03)
10
+
-------------------
8
11
9
-
..
10
-
Do *NOT* add changelog entries here!
12
+
Changes
13
+
^^^^^^^
11
14
12
-
This changelog is managed by towncrier and is compiled at release time.
15
+
- ``x=X(); x.cycle = x; repr(x)`` will no longer raise a ``RecursionError``, and will instead show as ``X(x=...)``.
13
16
14
-
See http://www.attrs.org/en/latest/contributing.html#changelog for details.
- The order of attributes that are passed into ``attr.make_class()`` or the ``these`` argument of ``@attr.s()`` is now retained if the dictionary is ordered (i.e. ``dict`` on Python 3.6 and later, ``collections.OrderedDict`` otherwise).
27
+
28
+
Before, the order was always determined by the order in which the attributes have been defined which may not be desirable when creating classes programatically.
- We have restructured the documentation a bit to account for ``attrs``' growth in scope.
58
+
Instead of putting everything into the `examples <http://www.attrs.org/en/stable/examples.html>`_ page, we have started to extract narrative chapters.
59
+
60
+
So far, we've added chapters on `initialization <http://www.attrs.org/en/stable/init.html>`_ and `hashing <http://www.attrs.org/en/stable/hashing.html>`_.
0 commit comments