From 763b7ae22e81e0c7115a578349107154798218cd Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 25 Apr 2018 20:48:37 -0700 Subject: add changelog entry for #3271 --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 7a8fa31f2..4cb8ba44b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -42,3 +42,8 @@ Backward Incompatibilities Documentation Changes --------------------- +- Bump Sphinx to >= 1.7.4 in setup.py to support ``emphasize-lines`` in PDFs + and to pave the way for xelatex support. See + https://github.com/Pylons/pyramid/pull/3271, + https://github.com/Pylons/pyramid/issues/667, and + https://github.com/Pylons/pyramid/issues/2572 -- cgit v1.2.3 From 829cc3d225a7a9f09c77c5184243e4db09179225 Mon Sep 17 00:00:00 2001 From: Cris Ewing Date: Tue, 15 May 2018 10:41:10 -0400 Subject: Add changelog entry for this bugfix --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 4cb8ba44b..1771026fc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -28,6 +28,11 @@ Features Bug Fixes --------- +- Set appropriate ``code`` and ``title`` attributes on the ``HTTPClientError`` and + ``HTTPServerError`` exception classes. This prevents inadvertently returning a 520 + error code. + See https://github.com/Pylons/pyramid/pull/3280 + Deprecations ------------ -- cgit v1.2.3 From f6aee3428aa70bc8d09ccee46076d0f415c3965d Mon Sep 17 00:00:00 2001 From: Hunter Senft-Grupp Date: Tue, 15 May 2018 23:29:26 -0400 Subject: Updated CHANGES.rst and fixed versionadded to be correct --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 4cb8ba44b..24122eb72 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -25,6 +25,11 @@ Features imports from `cherrypy.wsgiserver`. See https://github.com/Pylons/pyramid/pull/3235 +- Add a context manager ``route_prefix_context`` to the + ``pyramid.config.Configurator`` to allow for convenient setting of the + route_prefix for ``include`` and ``add_route`` calls inside the context. + See https://github.com/Pylons/pyramid/pull/3279 + Bug Fixes --------- -- cgit v1.2.3 From f7a313d68452840d1f67fe8e808575243af0fb41 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Thu, 5 Apr 2018 17:49:34 -0600 Subject: Update CHANGES.rst for #3251 --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index d24fb24e8..334a9b62f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -38,6 +38,11 @@ Bug Fixes error code. See https://github.com/Pylons/pyramid/pull/3280 +- Replace ``webob.acceptparse.MIMEAccept`` from WebOb with + ``webob.acceptparse.create_accept_header`` in the HTTP exception handling + code. The old ``MIMEAccept`` has been deprecated. The new methods follow the + RFC's more closely. See https://github.com/Pylons/pyramid/pull/3251 + Deprecations ------------ -- cgit v1.2.3 From 7b6eb3523b9ac35a7cb0b4e717e00fd52067aaa5 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Fri, 25 May 2018 10:33:42 -0500 Subject: remove the permission arg from add_route --- CHANGES.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 334a9b62f..de7ad0f8a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -21,8 +21,8 @@ Features instead of ``pyramid.util.Request``. See https://github.com/Pylons/pyramid/pull/3129 -- In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package over the legacy - imports from `cherrypy.wsgiserver`. +- In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package + over the legacy imports from `cherrypy.wsgiserver`. See https://github.com/Pylons/pyramid/pull/3235 - Add a context manager ``route_prefix_context`` to the @@ -33,9 +33,9 @@ Features Bug Fixes --------- -- Set appropriate ``code`` and ``title`` attributes on the ``HTTPClientError`` and - ``HTTPServerError`` exception classes. This prevents inadvertently returning a 520 - error code. +- Set appropriate ``code`` and ``title`` attributes on the ``HTTPClientError`` + and ``HTTPServerError`` exception classes. This prevents inadvertently + returning a 520 error code. See https://github.com/Pylons/pyramid/pull/3280 - Replace ``webob.acceptparse.MIMEAccept`` from WebOb with @@ -54,6 +54,11 @@ Backward Incompatibilities depending on it directly within your project. See https://github.com/Pylons/pyramid/pull/3140 +- Remove the ``permission`` argument from + ``pyramid.config.Configurator.add_route``. This was an argument left over + from a feature removed in Pyramid 1.5 and has had no effect since then. + See https://github.com/Pylons/pyramid/pull/3299 + Documentation Changes --------------------- -- cgit v1.2.3 From 57ee91a9f0e3769a725280c3db351fb466bd7431 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 11 Jun 2018 00:56:53 -0500 Subject: add changelog for #3300 --- CHANGES.rst | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 334a9b62f..7c442aa1a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -21,8 +21,8 @@ Features instead of ``pyramid.util.Request``. See https://github.com/Pylons/pyramid/pull/3129 -- In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package over the legacy - imports from `cherrypy.wsgiserver`. +- In ``cherrypy_server_runner``, prefer imports from the ``cheroot`` package + over the legacy imports from `cherrypy.wsgiserver`. See https://github.com/Pylons/pyramid/pull/3235 - Add a context manager ``route_prefix_context`` to the @@ -30,6 +30,13 @@ Features route_prefix for ``include`` and ``add_route`` calls inside the context. See https://github.com/Pylons/pyramid/pull/3279 +- Modify the builtin session implementations to support SameSite options on + cookies and set the default to ``'Lax'``. This affects + ``pyramid.session.BaseCookieSessionFactory``, + ``pyramid.session.SignedCookieSessionFactory``, and + ``pyramid.session.UnencryptedCookieSessionFactoryConfig``. + See https://github.com/Pylons/pyramid/pull/3300 + Bug Fixes --------- @@ -54,6 +61,12 @@ Backward Incompatibilities depending on it directly within your project. See https://github.com/Pylons/pyramid/pull/3140 +- Modify the builtin session implementations to set ``SameSite='Lax'`` on + cookies. This affects ``pyramid.session.BaseCookieSessionFactory``, + ``pyramid.session.SignedCookieSessionFactory``, and + ``pyramid.session.UnencryptedCookieSessionFactoryConfig``. + See https://github.com/Pylons/pyramid/pull/3300 + Documentation Changes --------------------- -- cgit v1.2.3 From e6c7eafdfcbb1dc8365720a28c92e847bf2e172f Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Fri, 15 Jun 2018 00:59:47 -0500 Subject: add changelog for #3302 --- CHANGES.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index aeb7c3f9a..e09c3723c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -37,6 +37,10 @@ Features ``pyramid.session.UnencryptedCookieSessionFactoryConfig``. See https://github.com/Pylons/pyramid/pull/3300 +- Added new ``pyramid.httpexceptions.HTTPPermanentRedirect`` + exception/response object for a HTTP 308 redirect. + See https://github.com/Pylons/pyramid/pull/3302 + Bug Fixes --------- -- cgit v1.2.3