From 9e21a2ca4efac10cdb09f684baaf18647dd4fa54 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 12 May 2016 11:12:57 -0500 Subject: [PATCH] update changelog for #2567 --- CHANGES.txt | 14 ++++++++++++++ docs/whatsnew-1.7.rst | 5 +++++ 2 files changed, 19 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index e3065cd7db..47df12d12f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,17 @@ +unreleased +========== + +- Fixed the exception view tween to re-raise the original exception if + no exception view could be found to handle the exception. This better + allows tweens further up the chain to handle exceptions that were + left unhandled. Previously they would be converted into a + ``PredicateMismatch`` exception if predicates failed to allow the view to + handle the exception. + See https://github.com/Pylons/pyramid/pull/2567 + +- Exposed the ``pyramid.interfaces.IRequestFactory`` interface to mirror + the public ``pyramid.interfaces.IResponseFactory`` interface. + 1.7b3 (2016-05-10) ================== diff --git a/docs/whatsnew-1.7.rst b/docs/whatsnew-1.7.rst index 9bc6d8287b..398b12f018 100644 --- a/docs/whatsnew-1.7.rst +++ b/docs/whatsnew-1.7.rst @@ -124,6 +124,11 @@ Feature Additions :func:`pyramid.paster.setup_logging`. See https://github.com/Pylons/pyramid/pull/2399 +- The :attr:`pyramid.tweens.EXCVIEW` tween will now re-raise the original + exception if no exception view could be found to handle it. This allows + the exception to be handled upstream by another tween or middelware. + See https://github.com/Pylons/pyramid/pull/2567 + Deprecations ------------