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
defaults
argument ofwith_init()
andattributes()
has been deprecated in favor of the new explicitAttribute
class and it’s superiordefault_value
anddefault_factory
arguments. - The
create_init
argument ofattributes()
has been deprecated in favor of the newapply_with_init
argument for the sake of consistency.
Changes:¶
- Switch to a year-based version scheme.
- Add
immutable()
to make certain attributes of classes immutable. Also addapply_immutable
argument toattributes()
. [14] - Add explicit
Attribute
class 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.