From 990fb0ed14e28e5e644a86877d58594b4412c62a Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 29 Jul 2018 13:51:21 -0500 Subject: enable the setup function in pshell to wrap the command lifecycle --- CHANGES.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index e09c3723c..47738e29b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -41,6 +41,14 @@ Features exception/response object for a HTTP 308 redirect. See https://github.com/Pylons/pyramid/pull/3302 +- Within ``pshell``, allow the user-defined ``setup`` function to be a + generator, in which case it may wrap the command's lifecycle. + See https://github.com/Pylons/pyramid/pull/3318 + +- Within ``pshell``, variables defined by the ``[pshell]`` settings are + available within the user-defined ``setup`` function. + See https://github.com/Pylons/pyramid/pull/3318 + Bug Fixes --------- @@ -76,6 +84,10 @@ Backward Incompatibilities ``pyramid.session.UnencryptedCookieSessionFactoryConfig``. See https://github.com/Pylons/pyramid/pull/3300 +- Variables defined in the ``[pshell]`` section of the settings will no + longer override those set by the ``setup`` function. + See https://github.com/Pylons/pyramid/pull/3318 + Documentation Changes --------------------- -- cgit v1.2.3