Add a sterner warning to changelog

This commit is contained in:
Hynek Schlawack 2017-05-16 18:41:38 +02:00
parent 10b911fbb4
commit b90f9a545a
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ Backward-incompatible changes:
This *may* break some software although this breakage is most likely just surfacing of latent bugs. This *may* break some software although this breakage is most likely just surfacing of latent bugs.
You can always make ``attrs`` create the ``__hash__()`` method using ``@attr.s(hash=True)``. You can always make ``attrs`` create the ``__hash__()`` method using ``@attr.s(hash=True)``.
See `#136`_ for the rationale of this change. See `#136`_ for the rationale of this change.
.. warning::
Please *do not* upgrade blindly and *do* test your software!
*Especially* if you use instances as dict keys or put them into sets!
- Correspondingly, ``attr.ib``'s ``hash`` argument is ``None`` by default too and mirrors the ``cmp`` argument as it should. - Correspondingly, ``attr.ib``'s ``hash`` argument is ``None`` by default too and mirrors the ``cmp`` argument as it should.