diff options
| author | Michael Merickel <michael@merickel.org> | 2020-11-28 22:54:49 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2020-11-28 22:54:49 -0600 |
| commit | 46a9c339cdbdf9e78f585026054e3ecdba2ee53d (patch) | |
| tree | b1e4ebbd9d77f8955f3bac8c8ad07cad9679aa2a /CHANGES.rst | |
| parent | 044a55a91daa854b2a529804641cc4219a7a9573 (diff) | |
| download | pyramid-46a9c339cdbdf9e78f585026054e3ecdba2ee53d.tar.gz pyramid-46a9c339cdbdf9e78f585026054e3ecdba2ee53d.tar.bz2 pyramid-46a9c339cdbdf9e78f585026054e3ecdba2ee53d.zip | |
add examples for upgrading
Diffstat (limited to 'CHANGES.rst')
| -rw-r--r-- | CHANGES.rst | 36 |
1 files changed, 16 insertions, 20 deletions
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 |
