summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-09 12:20:22 -0600
committerGitHub <noreply@github.com>2020-01-09 12:20:22 -0600
commit912bccb8b715b0249c2c23736c467eaee14a4e3b (patch)
tree8c8b05a388418b54d43589c042777f6bd25f7a5a /CHANGES.rst
parent5702c3c3a4357a6071c9ba624a89655209548336 (diff)
parentf04c06c1de47373e51f6fb1b5dc1330b3df58299 (diff)
downloadpyramid-912bccb8b715b0249c2c23736c467eaee14a4e3b.tar.gz
pyramid-912bccb8b715b0249c2c23736c467eaee14a4e3b.tar.bz2
pyramid-912bccb8b715b0249c2c23736c467eaee14a4e3b.zip
Merge pull request #3561 from mmerickel/request-local-cache
Request local cache
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 70ee43b96..8159cea36 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -78,6 +78,22 @@ Features
in testing.
See https://github.com/Pylons/pyramid/pull/3559
+- Finished callbacks are now executed as part of the ``closer`` that is
+ invoked as part of ``pyramid.scripting.prepare`` and
+ ``pyramid.paster.bootstrap``.
+ See https://github.com/Pylons/pyramid/pull/3561
+
+- Added ``pyramid.request.RequestLocalCache`` which can be used to create
+ simple objects that are shared across requests and can be used to store
+ per-request data. This is useful when the source of data is external to
+ the request itself. Often a reified property is used on a request via
+ ``pyramid.config.Configurator.add_request_method``, or
+ ``pyramid.decorator.reify``, and these work great when the data is
+ generated on-demand when accessing the request property. However, often
+ the case is that the data is generated when accessing some other system
+ and then we want to cache the data for the duration of the request.
+ See https://github.com/Pylons/pyramid/pull/3561
+
Deprecations
------------