From e16ab0ed58eb6675e457a2f57ed4d4d5030cc41a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 8 Dec 2010 02:06:06 -0500 Subject: deprecate Configurator, add Config --- CHANGES.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 6f8ec355b..dddfecaf7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,22 @@ +Twophase branch +=============== + +- ``pyramid.configuration.Config`` was added. It has the same API as the old + ``Configurator`` which it means to replace, except by default it is a + *non-autocommitting* configurator. It also has a new API method named + ``with_context`` (a classmethod). + +- ``pyramid.configuration.Configurator`` is now deprecated. Use + ``pyramid.configuration.Config`` passing its constructor + ``autocommit=True`` instead. The ``pyramid.configuration.Configurator`` + alias will live for a long time, as every application uses it. + +- The ``pyramid.testing.setUp`` function now accepts an ``autocommit`` + keyword argument, which defaults to ``True``. If it is passed ``False``, + the Config object returned by ``setUp`` will be a non-autocommiting Config + object. + + Next release ============ -- cgit v1.2.3