diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-11-15 00:22:37 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-11-15 00:22:37 +0100 |
commit | 160ce5d291ba394c3ac8a42ed19c12cb00e08889 (patch) | |
tree | de89acc231c742d55666082925959e96823dff23 | |
parent | a5184785b1229e02ec75506db675a2377b32c297 (diff) | |
download | factory-boy-160ce5d291ba394c3ac8a42ed19c12cb00e08889.tar factory-boy-160ce5d291ba394c3ac8a42ed19c12cb00e08889.tar.gz |
Update ChangeLog.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-rw-r--r-- | docs/changelog.rst | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index c64a89a..8e8034a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -27,8 +27,22 @@ ChangeLog *New:* - Add :class:`~factory.CircularSubFactory` to solve circular dependencies between factories - - Better creation/building customization hooks at :meth:`factory.Factory._build` and :meth:`factory.Factory.create`. - - Add support for passing non-kwarg parameters to a :class:`~factory.Factory` wrapped class. + - Better creation/building customization hooks at :meth:`factory.Factory._build` and :meth:`factory.Factory.create` + - Add support for passing non-kwarg parameters to a :class:`~factory.Factory` wrapped class + - Enhance :class:`~factory.SelfAttribute` to handle "container" attribute fetching + - Keep the :attr:`~factory.Factory.FACTORY_FOR` attribute in :class:`~factory.Factory` classes + - Provide a dedicated :class:`~factory.MogoFactory` subclass of :class:`~factory.Factory` + +*Pending deprecation:* + +The following features have been deprecated and will be removed in an upcoming release. + + - Usage of :meth:`~factory.Factory.set_creation_function` and :meth:`~factory.Factory.set_building_function` + are now deprecated + - The :attr:`~factory.Factory.ABSTRACT_FACTORY` attribute has been renamed to + :attr:`~factory.Factory.FACTORY_ABSTRACT`. + - Implicit associated class discovery is no longer supported, you must set the :attr:`~factory.Factory.FACTORY_FOR` + attribute on all :class:`~factory.Factory` subclasses 1.1.5 (09/07/2012) ------------------ @@ -99,7 +113,7 @@ ChangeLog - Allow custom build functions - Introduce :data:`~factory.MOGO_BUILD` build function - Add support for inheriting from multiple :class:`~factory.Factory` - - Base :class:`~factory.Factory` classes can now be declared :attr:`abstract <factory.Factory.ABSTRACT_FACTORY`. + - Base :class:`~factory.Factory` classes can now be declared :attr:`abstract <factory.Factory.ABSTRACT_FACTORY>`. - Provide :class:`~factory.DjangoModelFactory`, whose :class:`~factory.Sequence` counter starts at the next free database id - Introduce :class:`~factory.SelfAttribute`, a shortcut for ``factory.LazyAttribute(lambda o: o.foo.bar.baz``. |