diff options
| author | Michael Merickel <michael@merickel.org> | 2017-04-29 21:48:49 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2017-04-29 21:48:49 -0500 |
| commit | 87af11c5e33b8c03d57a8b571f0b152efe866af1 (patch) | |
| tree | 8e3d35ff37efaf3c5680e04754f1deb046c10359 | |
| parent | 1086143ba3aed46f057e11a2c5808d8cd75248d0 (diff) | |
| download | pyramid-87af11c5e33b8c03d57a8b571f0b152efe866af1.tar.gz pyramid-87af11c5e33b8c03d57a8b571f0b152efe866af1.tar.bz2 pyramid-87af11c5e33b8c03d57a8b571f0b152efe866af1.zip | |
add changelog for #2874
| -rw-r--r-- | CHANGES.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index c8a87f625..8868e6ff7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -24,6 +24,12 @@ Features can be alleviated by invoking ``config.begin()`` and ``config.end()`` appropriately. See https://github.com/Pylons/pyramid/pull/2989 +- The ``pyramid.config.Configurator`` can now be used as a context manager + which will automatically push/pop threadlocals (similar to + ``config.begin()`` and ``config.end()``). It will also automatically perform + a ``config.commit()`` and thus it is only recommended to be used at the + top-level of your app. See https://github.com/Pylons/pyramid/pull/2874 + Bug Fixes --------- |
