summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-11 02:29:46 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-11 02:29:46 +0000
commit44dc220e4570dc5af458ae6c6db50ab4219c7737 (patch)
treea600019ab9c1efd83638f98ff5da3d3e6fe81f78
parent358dc276d28fb395a9a742ff53dc66ee115c58ad (diff)
downloadpyramid-44dc220e4570dc5af458ae6c6db50ab4219c7737.tar.gz
pyramid-44dc220e4570dc5af458ae6c6db50ab4219c7737.tar.bz2
pyramid-44dc220e4570dc5af458ae6c6db50ab4219c7737.zip
Clean up.
-rw-r--r--CHANGES.txt19
1 files changed, 15 insertions, 4 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 538c7c96d..78f3dd7cf 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -9,7 +9,8 @@ Features
- Added ``__len__`` and ``__nonzero__`` to ``repoze.bfg.testing:DummyModel``.
-- The ``repoze.bfg.registry.get_options`` callable used to return only
+- The ``repoze.bfg.registry.get_options`` callable (now renamed to
+ ``repoze.bfg.setings.get_options``) used to return only
framework-specific keys and values in the dictionary it returned.
It now returns all the keys and values in the dictionary it is
passed *plus* any framework-specific settings culled from the
@@ -44,14 +45,14 @@ Bug Fixes
- A new module was added: ``repoze.bfg.settings``. This contains
deployment-settings-related code.
-Behavior Changes
-----------------
+Implementation Changes
+----------------------
- The ``make_app`` callable within ``repoze.bfg.router`` now registers
the ``root_policy`` argument as a utility (unnamed, using the new
``repoze.bfg.interfaces.IRootFactory`` as a provides interface)
rather than passing it as the first argument to the
- ``repoze.bfg.router.Router`` class. As a result the
+ ``repoze.bfg.router.Router`` class. As a result, the
``repoze.bfg.router.Router`` router class only accepts a single
argument: ``registry``. The ``repoze.bfg.router.Router`` class
retrieves the root policy via a utility lookup now. The
@@ -59,6 +60,16 @@ Behavior Changes
application registrations that were previously handled inside
``repoze.bfg.registry.makeRegistry``.
+New Modules
+-----------
+
+- A ``repoze.bfg.settings`` module was added. It contains code
+ related to deployment settings. Most of the code it contains was
+ moved to it from the ``repoze.bfg.registry`` module.
+
+Behavior Changes
+----------------
+
- The ``repoze.bfg.settings.Settings`` class (an instance of which is
registered as a utility providing
``repoze.bfg.interfaces.ISettings`` when any application is started)