summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-04 14:16:04 -0400
committerChris McDonough <chrism@plope.com>2010-11-04 14:16:04 -0400
commita3dc1324713840a0b153ad0522a2f0c3a829c411 (patch)
tree939b141a3605f7208bf9ab85a71be15fa98c9150 /CHANGES.txt
parent093628449ad6d1a14c93a9e6c5a05fdfec2f4816 (diff)
downloadpyramid-a3dc1324713840a0b153ad0522a2f0c3a829c411.tar.gz
pyramid-a3dc1324713840a0b153ad0522a2f0c3a829c411.tar.bz2
pyramid-a3dc1324713840a0b153ad0522a2f0c3a829c411.zip
- The ``request_type`` argument to the ``view`` ZCML directive, the
``pyramid.configuration.Configurator.add_view`` method, or the ``pyramid.view.view_config`` decorator (nee ``bfg_view``) is no longer permitted to be one of the strings ``GET``, ``HEAD``, ``PUT``, ``POST`` or ``DELETE``, and now must always be an interface. Accepting the method-strings as ``request_type`` was a backwards compatibility strategy servicing repoze.bfg 1.0 applications. Use the ``request_method`` parameter instead to specify that a view a string request-method predicate.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt20
1 files changed, 14 insertions, 6 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 266353b6e..aa2b0bcbd 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -76,6 +76,12 @@ Features (delta from BFG 1.3.X)
``webob.Response`` (old code need not change to use this facade, it's
existence is mostly for vanity and documentation-generation purposes).
+- All preexisting paster templates (except ``zodb``) now use "imperative"
+ configuration (``starter``, ``routesalchemy``, ``alchemy``).
+
+- A new paster template named ``pyramid_starter_zcml`` exists, which uses
+ declarative configuration.
+
Documentation (delta from BFG 1.3)
-----------------------------------
@@ -169,9 +175,11 @@ Backwards Incompatibilities (with BFG 1.3.X)
``pyramid.authentication.AuthTktAuthenticationPolicy`` constructor now
defaults to ``auth_tkt`` (it used to default to ``repoze.bfg.auth_tkt``).
-- All preexisting paster templates (except ``zodb``) now use "imperative"
- configuration (``starter``, ``routesalchemy``, ``alchemy``).
-
-- A new paster template named ``pyramid_starter_zcml`` exists, which uses
- declarative configuration.
-
+- The ``request_type`` argument to the ``view`` ZCML directive, the
+ ``pyramid.configuration.Configurator.add_view`` method, or the
+ ``pyramid.view.view_config`` decorator (nee ``bfg_view``) is no longer
+ permitted to be one of the strings ``GET``, ``HEAD``, ``PUT``, ``POST`` or
+ ``DELETE``, and now must always be an interface. Accepting the
+ method-strings as ``request_type`` was a backwards compatibility strategy
+ servicing repoze.bfg 1.0 applications. Use the ``request_method``
+ parameter instead to specify that a view a string request-method predicate.