From 20515351bb0db936873db5dae133ea317050079d Mon Sep 17 00:00:00 2001 From: Raphaël Barrois Date: Fri, 17 Aug 2012 01:00:24 +0200 Subject: Add ChangeLog. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- ChangeLog | 1 + docs/changelog.rst | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++ docs/index.rst | 1 + 3 files changed, 119 insertions(+) create mode 120000 ChangeLog create mode 100644 docs/changelog.rst diff --git a/ChangeLog b/ChangeLog new file mode 120000 index 0000000..6f0024c --- /dev/null +++ b/ChangeLog @@ -0,0 +1 @@ +docs/changelog.rst \ No newline at end of file diff --git a/docs/changelog.rst b/docs/changelog.rst new file mode 100644 index 0000000..5f25818 --- /dev/null +++ b/docs/changelog.rst @@ -0,0 +1,117 @@ +ChangeLog +========= + +1.2.0 (current) +--------------- + +*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`. + +1.1.5 (09/07/2012) +------------------ + +*Bugfix:* + + - Fix :class:`~factory.PostGenerationDeclaration` and derived classes. + +1.1.4 (19/06/2012) +------------------ + +*New:* + + - Add :meth:`~factory.use_strategy` decorator to override a + :class:`~factory.Factory`'s default strategy + - Improve test running (tox, python2.6/2.7) + - Introduce :class:`~factory.PostGeneration` and + :class:`~factory.RelatedFactory` + +1.1.3 (9/03/2012) +----------------- + +*Bugfix:* + + - Fix packaging rules + +1.1.2 (25/02/2012) +------------------ + +*New:* + + - Add :class:`~factory.Iterator` and :class:`~factory.InfiniteIterator` for :class:`~factory.Factory` attribute declarations. + - Provide :func:`~factory.Factory.generate` and :func:`~factory.Factory.simple_generate`, that allow specifying the instantiation strategy directly. + Also provides :func:`~factory.Factory.generate_batch` and :func:`~factory.Factory.simple_generate_batch`. + +1.1.1 (24/02/2012) +------------------ + +*New:* + + - Add :func:`~factory.Factory.build_batch`, :func:`~factory.Factory.create_batch` and :func:`~factory.Factory.stub_batch`, to instantiate factories in batch + +1.1.0 (24/02/2012) +------------------ + +*New:* + + - Improve the :class:`~factory.SelfAttribute` syntax to fetch sub-attributes using the ``foo.bar`` syntax; + - Add :class:`~factory.ContainerAttribute` to fetch attributes from the container of a :class:`~factory.SubFactory`. + - Provide the :func:`~factory.make_factory` helper: ``MyClassFactory = make_factory(MyClass, x=3, y=4)`` + - Add :func:`~factory.build`, :func:`~factory.create`, :func:`~factory.stub` helpers + +*Bugfix:* + + - Allow classmethod/staticmethod on factories + +*Deprecation:* + + - Auto-discovery of :attr:`~factory.Factory.FACTORY_FOR` based on class name is now deprecated + +1.0.4 (21/12/2011) +------------------ + +*New:* + + - Improve the algorithm for populating a :class:`~factory.Factory` attributes dict + - Add ``python setup.py test`` command to run the test suite + - 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