Changelog

Versions are year-based with a strict backwards-compatibility policy. The third digit is only for regressions.

14.3.0 (2014-12-19)

Backward-incompatible changes:

none

Deprecations:

none

Changes:

  • All decorators now gracefully accept empty attribute lists. [22].

14.2.0 (2014-10-30)

Backward-incompatible changes:

none

Deprecations:

none

Changes:


14.1.0 (2014-08-22)

Backward-incompatible changes:

none

Deprecations:

none

Changes:

  • Fix stray deprecation warnings.
  • Don’t rely on warnings being switched on by command line. [17]

14.0.0 (2014-08-21)

Backward-incompatible changes:

none

Deprecations:

  • The defaults argument of with_init() and attributes() has been deprecated in favor of the new explicit Attribute class and it’s superior default_value and default_factory arguments.
  • The create_init argument of attributes() has been deprecated in favor of the new apply_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 add apply_immutable argument to attributes(). [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 with Attribute. 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.