summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-08-29 02:38:13 -0500
committerMichael Merickel <michael@merickel.org>2018-09-03 16:39:54 -0500
commited6ddcb8c7badca425093d85e23791f942dd9a34 (patch)
tree1cc840a7aec8d3f5bb815ff9174a156bea9c9c15 /CHANGES.rst
parent121f45b82f2722c0d5e5c5a7b768270299793eeb (diff)
downloadpyramid-ed6ddcb8c7badca425093d85e23791f942dd9a34.tar.gz
pyramid-ed6ddcb8c7badca425093d85e23791f942dd9a34.tar.bz2
pyramid-ed6ddcb8c7badca425093d85e23791f942dd9a34.zip
update docs and changelog
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index d0dbbe5c0..d3ffa19fc 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -57,6 +57,12 @@ Features
- Add support for Python 3.7. Add testing on Python 3.8 with allowed failures.
See https://github.com/Pylons/pyramid/pull/3333
+- Added the ``pyramid.config.Configurator.add_accept_view_order`` directive,
+ allowing users to specify media type preferences in ambiguous situations
+ such as when several views match. A default ordering is defined for media
+ types that prefers human-readable html/text responses over JSON.
+ See https://github.com/Pylons/pyramid/pull/3326
+
Bug Fixes
---------
@@ -107,6 +113,13 @@ Backward Incompatibilities
of previous ``pyramid.httpexceptions.HTTPFound``.
See https://github.com/Pylons/pyramid/pull/3328
+- Accept-handling has undergone work to get rid of undefined behaviors and
+ runtime exceptions. As part of this effort, it is now a hard error to pass
+ any media ranges to the ``accept`` predicate on routes and views.
+ Previously, depending on the version of WebOb, this would error on certain
+ requests or it would work in undefined ways.
+ https://github.com/Pylons/pyramid/pull/3326
+
Documentation Changes
---------------------