diff options
| author | Michael Merickel <michael@merickel.org> | 2020-11-29 15:24:35 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-29 15:24:35 -0600 |
| commit | 4988f604d0c49862643efa318a5d73272cd0a6d1 (patch) | |
| tree | 123ce142766910cdb2972ef263f50f61ff18ef82 /CHANGES.rst | |
| parent | dba2bb6b6ffc4a01994ae1d3397187a668ff3148 (diff) | |
| parent | f79396bf461afa2c744047e20c6a39e5d6826f4a (diff) | |
| download | pyramid-4988f604d0c49862643efa318a5d73272cd0a6d1.tar.gz pyramid-4988f604d0c49862643efa318a5d73272cd0a6d1.tar.bz2 pyramid-4988f604d0c49862643efa318a5d73272cd0a6d1.zip | |
Merge pull request #3565 from mmerickel/prep-2.0
whatsnew 2.0
Diffstat (limited to 'CHANGES.rst')
| -rw-r--r-- | CHANGES.rst | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 43e3832e6..d3a372629 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,9 +5,9 @@ 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 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,11 +20,11 @@ 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`` - - ``pyramid.request.Request.authenticated_identity``. + - ``pyramid.request.Request.identity``. - ``pyramid.request.Request.is_authenticated`` - ``pyramid.authentication.SessionAuthenticationHelper`` - ``pyramid.authorization.ACLHelper`` @@ -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 |
