diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-09 13:06:06 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-09 13:06:06 -0400 |
| commit | ebcdc7cccc977e388426f581abaf16e39c49cdbd (patch) | |
| tree | 788532a2312ab6a749cb4e20d83ae34afd7d622b /CHANGES.txt | |
| parent | def68d60df00fbb432cfc97fe516bafa41fd2cbc (diff) | |
| download | pyramid-ebcdc7cccc977e388426f581abaf16e39c49cdbd.tar.gz pyramid-ebcdc7cccc977e388426f581abaf16e39c49cdbd.tar.bz2 pyramid-ebcdc7cccc977e388426f581abaf16e39c49cdbd.zip | |
- It is no longer possible to pass an environ dictionary directly to
``pyramid.traversal.ResourceTreeTraverser.__call__`` (aka
``ModelGraphTraverser.__call__``). Instead, you must pass a request
object. Passing an environment instead of a request has generated a
deprecation warning since Pyramid 1.1.
- Pyramid will no longer work properly if you use the
``webob.request.LegacyRequest`` as a request factory. Instances of the
LegacyRequest class have a ``request.path_info`` which return a string.
This Pyramid release assumes that ``request.path_info`` will
unconditionally be Unicode.
- Pyramid now requires WebOb 1.2b3+ (the prior Pyramid release only relied on
1.2dev+). This is to ensure that we obtain a version of WebOb that returns
``request.path_info`` as text.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index bb726738c..41e716065 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -151,3 +151,32 @@ Deprecations 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). + +Backwards Incompatibilities +--------------------------- + +- The Pyramid router no longer adds the values ``bfg.routes.route`` and + ``bfg.routes.matchdict`` to the request's WSGI environment dictionary. + These values were docs-deprecated in ``repoze.bfg`` 1.0 (effectively seven + minor releases ago). If your code depended on these values, use + request.matched_route and request.matchdict instead. + +- It is no longer possible to pass an environ dictionary directly to + ``pyramid.traversal.ResourceTreeTraverser.__call__`` (aka + ``ModelGraphTraverser.__call__``). Instead, you must pass a request + object. Passing an environment instead of a request has generated a + deprecation warning since Pyramid 1.1. + +- Pyramid will no longer work properly if you use the + ``webob.request.LegacyRequest`` as a request factory. Instances of the + LegacyRequest class have a ``request.path_info`` which return a string. + This Pyramid release assumes that ``request.path_info`` will + unconditionally be Unicode. + +Dependencies +------------ + +- Pyramid now requires WebOb 1.2b3+ (the prior Pyramid release only relied on + 1.2dev+). This is to ensure that we obtain a version of WebOb that returns + ``request.path_info`` as text. + |
