From 20fec6a1eb2509031015afbcfeddf66268308a65 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 28 Nov 2020 20:14:09 -0600 Subject: drop python 3.5 --- CHANGES.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 32e260037..43e3832e6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -187,6 +187,9 @@ Backward Incompatibilities - Drop support for Python 3.4. See https://github.com/Pylons/pyramid/pull/3547 +- Drop support for Python 3.5. + See https://github.com/Pylons/pyramid/pull/3634 + - Removed the ``pyramid.compat`` module. Integrators should use the ``six`` module or vendor shims they are using into their own codebases going forward. https://github.com/Pylons/pyramid/pull/3421 -- cgit v1.2.3 From 46a9c339cdbdf9e78f585026054e3ecdba2ee53d Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 28 Nov 2020 22:54:49 -0600 Subject: add examples for upgrading --- CHANGES.rst | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 43e3832e6..ad8b983ab 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -7,7 +7,7 @@ Features - Add support for Python 3.9. See https://github.com/Pylons/pyramid/issue/3622 -- The ``aslist`` method now handles non-string object when flattening. +- The ``aslist`` method now handles non-string objects when flattening. See https://github.com/Pylons/pyramid/pull/3594 - It is now possible to pass multiple values to the ``header`` predicate @@ -20,7 +20,7 @@ Features - New security APIs have been added to support a massive overhaul of the authentication and authorization system. Read "Upgrading Authentication/Authorization" in the "What's New in Pyramid 2.0" - document for information about using this new system. + chapter of the documentation for information about using this new system. - ``pyramid.config.Configurator.set_security_policy``. - ``pyramid.interfaces.ISecurityPolicy`` @@ -37,8 +37,8 @@ Features ``pyramid.session.SignedCookieSessionFactory`` to use ``pyramid.session.JSONSerializer`` instead of ``pyramid.session.PickleSerializer``. Read - "Changes to ISession in Pyramid 2.0" in the "Sessions" chapter of the - documentation for more information about why this change was made. + "Upgrading Session Serialization" in the "What's New in Pyramid 2.0" chapter + of the documentation for more information about why this change was made. See https://github.com/Pylons/pyramid/pull/3413 - It is now possible to control whether a route pattern contains a trailing @@ -134,9 +134,9 @@ Deprecations - Deprecated the authentication and authorization interfaces and principal-based support. See "Upgrading Authentication/Authorization" in - the "What's New in Pyramid 2.0" document for information on equivalent APIs - and notes on upgrading. The following APIs are deprecated as a result of - this change: + the "What's New in Pyramid 2.0" chapter of the documentation for information + on equivalent APIs and notes on upgrading. The following APIs are deprecated + as a result of this change: - ``pyramid.config.Configurator.set_authentication_policy`` - ``pyramid.config.Configurator.set_authorization_policy`` @@ -174,21 +174,17 @@ Deprecations See https://github.com/Pylons/pyramid/pull/3563 - Deprecated ``pyramid.session.PickleSerializer``. - See https://github.com/pylons/pyramid/issues/2709 - and https://github.com/pylons/pyramid/pull/3353 + See https://github.com/pylons/pyramid/issues/2709, + and https://github.com/pylons/pyramid/pull/3353, and https://github.com/pylons/pyramid/pull/3413 Backward Incompatibilities -------------------------- -- Drop support for Python 2.7. - https://github.com/Pylons/pyramid/pull/3421 - -- Drop support for Python 3.4. - See https://github.com/Pylons/pyramid/pull/3547 - -- Drop support for Python 3.5. - See https://github.com/Pylons/pyramid/pull/3634 +- Drop support for Python 2.7, 3.4, and 3.5. + See https://github.com/Pylons/pyramid/pull/3421, + and https://github.com/Pylons/pyramid/pull/3547, + and https://github.com/Pylons/pyramid/pull/3634 - Removed the ``pyramid.compat`` module. Integrators should use the ``six`` module or vendor shims they are using into their own codebases going forward. @@ -240,9 +236,9 @@ Backward Incompatibilities - Changed the default ``serializer`` on ``pyramid.session.SignedCookieSessionFactory`` to use ``pyramid.session.JSONSerializer`` instead of - ``pyramid.session.PickleSerializer``. Read - "Changes to ISession in Pyramid 2.0" in the "Sessions" chapter of the - documentation for more information about why this change was made. + ``pyramid.session.PickleSerializer``. Read "Upgrading Session Serialization" + in the "What's New in Pyramid 2.0" chapter of the documentation for more + information about why this change was made. See https://github.com/Pylons/pyramid/pull/3413 - ``pyramid.request.Request.invoke_exception_view`` will no longer be called -- cgit v1.2.3 From fc6434b63e70bddbb909036fbec2aad8feb4ab47 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 29 Nov 2020 13:21:34 -0600 Subject: add a note and fix suggestions --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index ad8b983ab..f3333abc9 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,7 +5,7 @@ Features -------- - Add support for Python 3.9. - See https://github.com/Pylons/pyramid/issue/3622 + See https://github.com/Pylons/pyramid/issues/3622 - The ``aslist`` method now handles non-string objects when flattening. See https://github.com/Pylons/pyramid/pull/3594 -- cgit v1.2.3 From f79396bf461afa2c744047e20c6a39e5d6826f4a Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 29 Nov 2020 13:23:00 -0600 Subject: remove authenticated_identity reference --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index f3333abc9..d3a372629 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -24,7 +24,7 @@ Features - ``pyramid.config.Configurator.set_security_policy``. - ``pyramid.interfaces.ISecurityPolicy`` - - ``pyramid.request.Request.authenticated_identity``. + - ``pyramid.request.Request.identity``. - ``pyramid.request.Request.is_authenticated`` - ``pyramid.authentication.SessionAuthenticationHelper`` - ``pyramid.authorization.ACLHelper`` -- cgit v1.2.3 From 604b11eee5e7220164dabcdb578fb021804fe6c9 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 15 Dec 2020 23:35:16 -0600 Subject: prep 2.0a1 --- CHANGES.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index d3a372629..0df071528 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,16 @@ -unreleased -========== +2.0a1 (2020-12-15) +================== + +- Overhaul tutorials and update cookiecutter to de-emphasize ``request.user`` + in favor of ``request.identity`` for common use cases. + See https://github.com/Pylons/pyramid/pull/3629 + +- Improve documentation and patterns with builtin fixtures shipped in the + cookiecutters. + See https://github.com/Pylons/pyramid/pull/3629 + +2.0a0 (2020-11-29) +================== Features -------- -- cgit v1.2.3 From f970cf7758f6cd4a2cb5cfb8436c277bbdb03e8b Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 15 Dec 2020 23:36:53 -0600 Subject: rename to b0 --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 0df071528..d2dbe071b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,4 +1,4 @@ -2.0a1 (2020-12-15) +2.0b0 (2020-12-15) ================== - Overhaul tutorials and update cookiecutter to de-emphasize ``request.user`` -- cgit v1.2.3