summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-12-09 02:30:23 -0500
committerChris McDonough <chrism@plope.com>2010-12-09 02:30:23 -0500
commitd7f2590a4c2c2164bdb01ba977119ccbb6b2b09c (patch)
tree8efe722347f1159d78f1dfb79bcc4c1c4ca3d931 /CHANGES.txt
parent8cbe4d7a5a41e49151f524b720fef210948a60d6 (diff)
downloadpyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.tar.gz
pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.tar.bz2
pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.zip
fix docs: pyramid.configuration -> pyramid.config
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt25
1 files changed, 16 insertions, 9 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index aa4c07d7b..c719bbfad 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,24 +1,31 @@
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, unlike
- ``pyramid.configuration.Configurator``, which will autocommit every time a
- configuration method is called. It also has a new API method named
- ``with_context`` (a classmethod).
+- A new module named ``pyramid.config`` was added. It subsumes the duties of
+ the older ``pyramid.configuration`` module. The ``pyramid.configuration``
+ module remains, but it is deprecated.
- ``pyramid.configuration.Configurator`` is now deprecated. Use
- ``pyramid.configuration.Config`` passing its constructor
+ ``pyramid.config.Configurator``, passing its constructor
``autocommit=True`` instead. The ``pyramid.configuration.Configurator``
- alias will live for a long time, as every application uses it.
+ alias will live for a long time, as every application uses it, but its
+ import now issues a deprecation warning. The
+ ``pyramid.config.Configurator`` class has the same API as
+ ``pyramid.configuration.Configurator`` class, which it means to replace,
+ except by default it is a *non-autocommitting* configurator. The
+ now-deprecated ``pyramid.configuration.Configurator`` will autocommit every
+ time a configuration method is called.
+
+- The new ``pyramid.config.Configurator` class has API methods that the older
+ ``pyramid.configuration.Configurator`` class did not: ``with_context`` (a
+ classmethod), ``include``, ``action``, and ``commit``. These methods exist
+ for imperative application extensibility purposes.
- 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
============