diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-20 16:29:12 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-20 16:29:12 -0400 |
| commit | d7550c4f8ae023f9a00d6293ba3c94ca14b412f2 (patch) | |
| tree | bc3634c3b2c3a647b43cbe715b968997c63c3b52 /CHANGES.txt | |
| parent | 777112d521e337fefc2e0c217add7ac283d087b3 (diff) | |
| parent | 2edbe1b61c7ace0a13f0d7242f333982a6fc9fde (diff) | |
| download | pyramid-d7550c4f8ae023f9a00d6293ba3c94ca14b412f2.tar.gz pyramid-d7550c4f8ae023f9a00d6293ba3c94ca14b412f2.tar.bz2 pyramid-d7550c4f8ae023f9a00d6293ba3c94ca14b412f2.zip | |
fix merge conflict and prevent warning from showing up during testing (dont import ITemplateRenderer)
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 10ebe33ae..203db1a44 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,25 @@ Features python -3 -m pyramid.scripts.pserve development.ini +- Added a specific subclass of ``HTTPBadRequest`` named + ``pyramid.exceptions.BadCSRFToken`` which will now be raised in response + to failures in ``check_csrf_token``. + See https://github.com/Pylons/pyramid/pull/1149 + +- Added a new ``SignedCookieSessionFactory`` which is very similar to the + ``UnencryptedCookieSessionFactoryConfig`` but with a clearer focus on + signing content. The custom serializer arguments to this function should + only focus on serializing, unlike its predecessor which required the + serializer to also perform signing. + See https://github.com/Pylons/pyramid/pull/1142 + +- Added a new ``BaseCookieSessionFactory`` which acts as a generic cookie + factory that can be used by framework implementors to create their own + session implementations. It provides a reusable API which focuses strictly + on providing a dictionary-like object that properly handles renewals, + timeouts, and conformance with the ``ISession`` API. + See https://github.com/Pylons/pyramid/pull/1142 + Bug Fixes --------- @@ -32,6 +51,12 @@ Bug Fixes - Remove unused ``renderer`` argument from ``Configurator.add_route``. +- Allow the ``BasicAuthenticationPolicy`` to work with non-ascii usernames + and passwords. The charset is not passed as part of the header and different + browsers alternate between UTF-8 and Latin-1, so the policy now attempts + to decode with UTF-8 first, and will fallback to Latin-1. + See https://github.com/Pylons/pyramid/pull/1170 + Documentation ------------- @@ -56,8 +81,17 @@ Backwards Incompatibilities Deprecations ------------ -- Deprecate the ``pyraid.interfaces.ITemplateRenderer`` interface. It is no - longer used since Mako and Chameleon have been split into their own packages. +- Deprecate the ``pyramid.interfaces.ITemplateRenderer`` interface. It was + ill-defined and became unused when Mako and Chameleon template bindings were + split into their own packages. + +- The ``pyramid.session.UnencryptedCookieSessionFactoryConfig`` API has been + deprecated and is superseded by the + ``pyramid.session.SignedCookieSessionFactory``. Note that while the cookies + generated by the ``UnencryptedCookieSessionFactoryConfig`` + are compatible with cookies generated by old releases, cookies generated by + the SignedCookieSessionFactory are not. See + https://github.com/Pylons/pyramid/pull/1142 1.5a2 (2013-09-22) ================== |
