summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2012-08-16 02:28:43 -0500
committerMichael Merickel <michael@merickel.org>2012-08-16 02:28:43 -0500
commit2c25342383eed7b10e349b2396eed08d332cfb80 (patch)
tree32a6d3df47e1a9453412c6032e6c3b0fa2ab98a6 /CHANGES.txt
parent7e13f5bd32cf3df99f8b4d3993cb99023021477c (diff)
downloadpyramid-2c25342383eed7b10e349b2396eed08d332cfb80.tar.gz
pyramid-2c25342383eed7b10e349b2396eed08d332cfb80.tar.bz2
pyramid-2c25342383eed7b10e349b2396eed08d332cfb80.zip
docs-deprecated set_request_property
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt24
1 files changed, 19 insertions, 5 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index f02925585..b2f37355b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -64,13 +64,17 @@ Features
HEAD is a variant of GET that omits the body, and WebOb has special support
to return an empty body when a HEAD is used.
-- ``config.set_request_property`` now causes less code to be executed at
- request construction time.
-
-- Don't add a ``?`` to URLs generated by request.resource_url if the
+- ``config.set_request_method`` has been introduced to support extending
+ request objects with arbitrary callables. This method expands on the
+ previous ``config.set_request_property`` by supporting methods as well as
+ properties. This method now causes less code to be executed at
+ request construction time than ``config.set_request_property`` in
+ version 1.3.
+
+- Don't add a ``?`` to URLs generated by ``request.resource_url`` if the
``query`` argument is provided but empty.
-- Don't add a ``?`` to URLs generated by request.route_url if the
+- Don't add a ``?`` to URLs generated by ``request.route_url`` if the
``_query`` argument is provided but empty.
- The static view machinery now raises (rather than returns) ``HTTPNotFound``
@@ -100,3 +104,13 @@ Features
config = Configurator()
config.add_permission('view')
+
+Deprecations
+------------
+
+- The documentation for
+ ``pyramid.config.Configurator.set_request_property`` has been removed.
+ The method remains usable but the more featureful
+ ``pyramid.config.Configurator.set_request_method`` should be used in its
+ place. It has all of the same capabilities but can also extend the
+ request object with methods.