summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorcguardia <carlos.delaguardia@gmail.com>2011-05-04 15:15:50 -0500
committercguardia <carlos.delaguardia@gmail.com>2011-05-04 15:15:50 -0500
commit02a54b2d5c77db48f7f816f71f71efa9a0b7cd64 (patch)
tree6658d02bf6859194cbfc58063f8ac0527913f5a5 /CHANGES.txt
parent8abf0a3c996a22dbf9b3ed4602df026a87686a74 (diff)
parentf426e51a98a85ab55545bd836f31d8731cc14cfe (diff)
downloadpyramid-02a54b2d5c77db48f7f816f71f71efa9a0b7cd64.tar.gz
pyramid-02a54b2d5c77db48f7f816f71f71efa9a0b7cd64.tar.bz2
pyramid-02a54b2d5c77db48f7f816f71f71efa9a0b7cd64.zip
Merge branch 'master' of https://github.com/Pylons/pyramid
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index d329c260d..5916fa1ab 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -187,6 +187,26 @@ Deprecations
now issued when any view-related parameter is passed to
``Configurator.add_route``.
+- Passing an ``environ`` dictionary to the ``__call__`` method of a
+ "traverser" (e.g. an object that implements
+ ``pyramid.interfaces.ITraverser`` such as an instance of
+ ``pyramid.traversal.ResourceTreeTraverser``) as its ``request`` argument
+ now causes a deprecation warning to be emitted. Consumer code should pass a
+ ``request`` object instead. The fact that passing an environ dict is
+ permitted has been documentation-deprecated since ``repoze.bfg`` 1.1, and
+ this capability will be removed entirely in a future version.
+
+- The following (undocumented, dictionary-like) methods of the
+ ``pyramid.request.Request`` object have been deprecated: ``__contains__``,
+ ``__delitem__``, ``__getitem__``, ``__iter__``, ``__setitem__``, ``get``,
+ ``has_key``, ``items``, ``iteritems``, ``itervalues``, ``keys``, ``pop``,
+ ``popitem``, ``setdefault``, ``update``, and ``values``. Usage of any of
+ these methods will cause a deprecation warning to be emitted. These
+ methods were added for internal compatibility in ``repoze.bfg`` 1.1 (code
+ that currently expects a request object expected an environ object in BFG
+ 1.0 and before). In a future version, these methods will be removed
+ entirely.
+
Behavior Changes
----------------
@@ -211,6 +231,16 @@ Behavior Changes
the perspective of the downstream application (for example, ``SCRIPT_NAME``
will now never possess a trailing slash).
+- Previously, ``pyramid.request.Request`` inherited from
+ ``webob.request.Request`` and implemented ``__getattr__``, ``__setattr__``
+ and ``__delattr__`` itself in order to overidde "adhoc attr" WebOb behavior
+ where attributes of the request are stored in the environ. Now,
+ ``pyramid.request.Request`` object inherits from (the more recent)
+ ``webob.request.BaseRequest`` instead of ``webob.request.Request``, which
+ provides the same behavior. ``pyramid.request.Request`` no longer
+ implements its own ``__getattr__``, ``__setattr__`` or ``__delattr__`` as a
+ result.
+
Dependencies
------------