1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
.. currentmodule:: characteristic
.. :changelog:
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 <https://github.com/hynek/characteristic/pull/22>`_].
----
14.2.0 (2014-10-30)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*none*
Deprecations:
^^^^^^^^^^^^^
*none*
Changes:
^^^^^^^^
- Attributes set by :func:`characteristic.attributes` are now stored on the class as well.
[`20 <https://github.com/hynek/characteristic/pull/20>`_]
- ``__init__`` methods that are created by :func:`characteristic.with_init` are now generated on the fly and optimized for each class.
[`9 <https://github.com/hynek/characteristic/pull/9>`_]
----
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 <https://github.com/hynek/characteristic/issues/17>`_]
----
14.0.0 (2014-08-21)
-------------------
Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*none*
Deprecations:
^^^^^^^^^^^^^
- The ``defaults`` argument of :func:`~characteristic.with_init` and :func:`~characteristic.attributes` has been deprecated in favor of the new explicit :class:`~characteristic.Attribute` class and it's superior ``default_value`` and ``default_factory`` arguments.
- The ``create_init`` argument of :func:`~characteristic.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 :func:`~characteristic.immutable` to make certain attributes of classes immutable.
Also add ``apply_immutable`` argument to :func:`~characteristic.attributes`.
[`14 <https://github.com/hynek/characteristic/issues/14>`_]
- Add explicit :class:`~characteristic.Attribute` class and use it for default factories.
[`8 <https://github.com/hynek/characteristic/issues/8>`_]
- Add aliasing of private attributes for :func:`~characteristic.with_init`\’s initializer when used together with :class:`~characteristic.Attribute`.
Allow for custom aliasing via a callable.
[`6 <https://github.com/hynek/characteristic/issues/6>`_, `13 <https://github.com/hynek/characteristic/issues/13>`_]
- Add type checks to :func:`~characteristic.with_init`\’s initializer.
[`12 <https://github.com/hynek/characteristic/issues/13>`_]
- Add possibility to hand-pick which decorators are applied from within :func:`~characteristic.attributes`.
- Add possibility to exclude single attributes from certain decorators.
----
0.1.0 (2014-05-11)
------------------
- Initial release.
|