summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2017-04-29 21:48:49 -0500
committerMichael Merickel <michael@merickel.org>2017-04-29 21:48:49 -0500
commit87af11c5e33b8c03d57a8b571f0b152efe866af1 (patch)
tree8e3d35ff37efaf3c5680e04754f1deb046c10359
parent1086143ba3aed46f057e11a2c5808d8cd75248d0 (diff)
downloadpyramid-87af11c5e33b8c03d57a8b571f0b152efe866af1.tar.gz
pyramid-87af11c5e33b8c03d57a8b571f0b152efe866af1.tar.bz2
pyramid-87af11c5e33b8c03d57a8b571f0b152efe866af1.zip
add changelog for #2874
-rw-r--r--CHANGES.txt6
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
---------