Changelog¶
Versions are year-based with a strict backwards-compatibility policy. The third digit is only for regressions.
14.2.0 (2014-10-30)¶
Backward-incompatible changes:¶
none
Deprecations:¶
none
Changes:¶
- Attributes set by
characteristic.attributes()are now stored on the class as well. [20] __init__methods that are created bycharacteristic.with_init()are now generated on the fly and optimized for each class. [9]
14.0.0 (2014-08-21)¶
Backward-incompatible changes:¶
none
Deprecations:¶
- The
defaultsargument ofwith_init()andattributes()has been deprecated in favor of the new explicitAttributeclass and it’s superiordefault_valueanddefault_factoryarguments. - The
create_initargument ofattributes()has been deprecated in favor of the newapply_with_initargument for the sake of consistency.
Changes:¶
- Switch to a year-based version scheme.
- Add
immutable()to make certain attributes of classes immutable. Also addapply_immutableargument toattributes(). [14] - Add explicit
Attributeclass and use it for default factories. [8] - Add aliasing of private attributes for
with_init()’s initializer when used together withAttribute. Allow for custom aliasing via a callable. [6, 13] - Add type checks to
with_init()’s initializer. [12] - Add possibility to hand-pick which decorators are applied from within
attributes(). - Add possibility to exclude single attributes from certain decorators.
0.1.0 (2014-05-11)¶
- Initial release.