From 10c6857185e299b4c6932c2a378ad3adb14867d8 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 19 Oct 2013 01:12:20 -0500 Subject: add deprecation for old cookie factory --- CHANGES.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 550dd0a39..feea11def 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -15,6 +15,12 @@ Bug Fixes allowing traversal to continue. See https://github.com/Pylons/pyramid/issues/1104 +Deprecations +------------ + +- The ``UnencryptedCookieSessionFactoryConfig`` has been deprecated and will + be replaced by the ``SignedCookieSessionFactory``. + 1.5a2 (2013-09-22) ================== -- cgit v1.2.3 From 63bf0587066216f9879ab188691579c9565f0340 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 19 Oct 2013 01:22:35 -0500 Subject: updated changelog --- CHANGES.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index feea11def..a9b9814f3 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,6 +6,21 @@ Documentation - Added a "Quick Tutorial" to go with the Quick Tour +Features +-------- + +- 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. + +- 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. + Bug Fixes --------- @@ -18,9 +33,9 @@ Bug Fixes Deprecations ------------ -- The ``UnencryptedCookieSessionFactoryConfig`` has been deprecated and will - be replaced by the ``SignedCookieSessionFactory``. - +- The ``UnencryptedCookieSessionFactoryConfig`` has been deprecated and is + superceded by the ``SignedCookieSessionFactory``. Cookies generated by + the two factories are not compatible. 1.5a2 (2013-09-22) ================== -- cgit v1.2.3 From 6b0889cc8f3711d5f77cb663f8f2fa432eb3ad06 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 19 Oct 2013 01:52:11 -0500 Subject: update doc references --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index a228fbb3a..fcfb83e4f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,6 +10,11 @@ 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 + Bug Fixes --------- -- cgit v1.2.3 From 8385569b371a2586acf1680937ca656136c2502c Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 19 Oct 2013 02:02:19 -0500 Subject: reference github issues --- CHANGES.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index a9b9814f3..f67291ca5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -14,12 +14,14 @@ Features 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 --------- @@ -36,6 +38,7 @@ Deprecations - The ``UnencryptedCookieSessionFactoryConfig`` has been deprecated and is superceded by the ``SignedCookieSessionFactory``. Cookies generated by the two factories are not compatible. + See https://github.com/Pylons/pyramid/pull/1142 1.5a2 (2013-09-22) ================== -- cgit v1.2.3 From d79087c78c273eec3118a23243b9b93d353b09f2 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 20 Oct 2013 13:54:16 -0400 Subject: rewording about deprecation and cookie compatibility --- CHANGES.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 80bd78808..6fdc08398 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -44,6 +44,8 @@ Bug Fixes allowing traversal to continue. See https://github.com/Pylons/pyramid/issues/1104 +- Remove unused ``renderer`` argument from ``Configurator.add_route``. + Documentation ------------- @@ -65,11 +67,13 @@ Backwards Incompatibilities Deprecations ------------ -- The ``UnencryptedCookieSessionFactoryConfig`` has been deprecated and is - superceded by the ``SignedCookieSessionFactory``. Cookies generated by - the two factories are not compatible. - See https://github.com/Pylons/pyramid/pull/1142 -- Remove unused ``renderer`` argument from ``Configurator.add_route``. +- 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) ================== -- cgit v1.2.3