diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-08 02:06:06 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-08 02:06:06 -0500 |
| commit | e16ab0ed58eb6675e457a2f57ed4d4d5030cc41a (patch) | |
| tree | 5a3498d3cec28b75226a3abc37b5b7ac29920fbb /CHANGES.txt | |
| parent | bf162ef8a0c9d4267e4a30ea73ef3d90426a90f4 (diff) | |
| download | pyramid-e16ab0ed58eb6675e457a2f57ed4d4d5030cc41a.tar.gz pyramid-e16ab0ed58eb6675e457a2f57ed4d4d5030cc41a.tar.bz2 pyramid-e16ab0ed58eb6675e457a2f57ed4d4d5030cc41a.zip | |
deprecate Configurator, add Config
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 19 |
1 files changed, 19 insertions, 0 deletions
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 ============ |
