diff options
| author | Michael Merickel <michael@merickel.org> | 2017-06-11 22:53:10 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2017-06-11 22:53:10 -0500 |
| commit | cdd0a86b46ecf0a16403ccf780c87f2c938b3e0c (patch) | |
| tree | 3181fa56d35e65b9d3fa11b7db74cf1ffc3b55e5 | |
| parent | 06c28384c1217e054f530df511b434ff543e3132 (diff) | |
| download | pyramid-cdd0a86b46ecf0a16403ccf780c87f2c938b3e0c.tar.gz pyramid-cdd0a86b46ecf0a16403ccf780c87f2c938b3e0c.tar.bz2 pyramid-cdd0a86b46ecf0a16403ccf780c87f2c938b3e0c.zip | |
update whatsnew-1.9
| -rw-r--r-- | docs/whatsnew-1.9.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/whatsnew-1.9.rst b/docs/whatsnew-1.9.rst index 0ba29625c..eca159d4c 100644 --- a/docs/whatsnew-1.9.rst +++ b/docs/whatsnew-1.9.rst @@ -35,6 +35,10 @@ Minor Feature Additions - The threadlocals are now available inside any function invoked via :meth:`pyramid.config.Configurator.include`. This means the only config-time code that cannot rely on threadlocals is code executed from non-actions inside the main. This can be alleviated by invoking :meth:`pyramid.config.Configurator.begin` and :meth:`pyramid.config.Configurator.end` appropriately or using the new context manager feature of the configurator. See https://github.com/Pylons/pyramid/pull/2989 +- The threadlocals are now available inside exception views invoked via :meth:`pyramid.request.Request.invoke_exception_view` even when the ``request`` argument is overridden. See https://github.com/Pylons/pyramid/pull/3060 + +- When unsupported predicates are supplied to :meth:`pyramid.config.Configurator.add_view`, :meth:`pyramid.config.Configurator.add_route` and :meth:`pyramid.config.Configurator.add_subscriber` a much more helpful error message is output with a guess as to which predicate was intended. See https://github.com/Pylons/pyramid/pull/3054 + Deprecations ------------ |
