2015-01-27 16:53:17 +00:00
.. currentmodule :: attr
.. :changelog:
Changelog
=========
2015-03-23 09:32:13 +00:00
Versions are year-based with a strict :doc: `backwards-compatibility policy <backward-compatibility>` .
2015-01-27 16:53:17 +00:00
The third digit is only for regressions.
2015-08-20 11:59:36 +00:00
15.2.0 (UNRELEASED)
-------------------
Changes:
^^^^^^^^
2015-11-18 16:53:19 +00:00
- Add a `` convert `` argument to :func: `attr.ib` , which allows specifying a function to run on arguments.
This allows for simple type conversions, e.g. with `` attr.ib(convert=int) `` .
`[26] <https://github.com/hynek/attrs/issues/26> `_
2015-10-15 15:50:22 +00:00
- speed up object creation when attribute validators are used `[28] <https://github.com/hynek/attrs/issues/28> `_
2015-08-20 11:59:36 +00:00
2015-08-20 11:53:57 +00:00
15.1.0 (2015-08-20)
2015-04-15 22:01:10 +00:00
-------------------
Changes:
^^^^^^^^
2015-08-20 11:25:32 +00:00
- Add :func: `attr.validators.optional` that wraps other validators allowing attributes to be `` None `` . `[16] <https://github.com/hynek/attrs/issues/16> `_
- Fix multi-level inheritance. `[24] <https://github.com/hynek/attrs/issues/24> `_
2015-08-20 11:46:59 +00:00
- Fix `` __repr__ `` to work for non-redecorated subclasses. `[20] <https://github.com/hynek/attrs/issues/20> `_
2015-04-15 22:01:10 +00:00
2015-04-15 21:39:29 +00:00
15.0.0 (2015-04-15)
2015-01-27 16:53:17 +00:00
-------------------
Changes:
^^^^^^^^
- Initial release.