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 From 0ed6b99691f1392f9adbf61a9c0ffd7d8a46251f Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 4 Aug 2018 19:10:48 -0500 Subject: add changelog for #3307 --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 47738e29b..1e412eab7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -91,6 +91,11 @@ Backward Incompatibilities Documentation Changes --------------------- +- Add support for alembic to the pyramid-cookiecutter-alchemy cookiecutter + and update the wiki2 tutorial to explain how it works. + See https://github.com/Pylons/pyramid/pull/3307 and + https://github.com/Pylons/pyramid-cookiecutter-alchemy/pull/7 + - 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, -- cgit v1.2.3 From f997988c09cb6e5a7c27e41872b5e724a749e96e Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sat, 4 Aug 2018 19:15:54 -0500 Subject: syntax --- CHANGES.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 1e412eab7..6ccd69a47 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -30,8 +30,8 @@ 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 +- 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``. -- cgit v1.2.3