diff options
| author | Chris McDonough <chrism@plope.com> | 2012-08-16 11:12:24 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-08-16 11:12:24 -0400 |
| commit | 14f69c57c4d83355e769db46692cfb36e87a4f70 (patch) | |
| tree | 2e7e9de785050c7b5276029d1fbed12d0b15a097 /CHANGES.txt | |
| parent | 8c7b0f14b2c55e653bb0d4a18e3de299b7abe208 (diff) | |
| parent | 2c25342383eed7b10e349b2396eed08d332cfb80 (diff) | |
| download | pyramid-14f69c57c4d83355e769db46692cfb36e87a4f70.tar.gz pyramid-14f69c57c4d83355e769db46692cfb36e87a4f70.tar.bz2 pyramid-14f69c57c4d83355e769db46692cfb36e87a4f70.zip | |
Merge branch 'feature.instance-properties' of git://github.com/mmerickel/pyramid into mmerickel-feature.instance-properties
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 24 |
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. |
