diff options
| author | Éric Araujo <earaujo@caravan.coop> | 2020-01-11 17:02:18 -0500 |
|---|---|---|
| committer | Éric Araujo <earaujo@caravan.coop> | 2020-01-11 17:02:18 -0500 |
| commit | 49b841548c5305d9f612a4e4492571b1fa3281d7 (patch) | |
| tree | e44a87cc33d7dc22a9869cadfc4143289a8e1416 /CHANGES.rst | |
| parent | e8890336d1738fb736398356989504f6eb2e8237 (diff) | |
| parent | 912bccb8b715b0249c2c23736c467eaee14a4e3b (diff) | |
| download | pyramid-49b841548c5305d9f612a4e4492571b1fa3281d7.tar.gz pyramid-49b841548c5305d9f612a4e4492571b1fa3281d7.tar.bz2 pyramid-49b841548c5305d9f612a4e4492571b1fa3281d7.zip | |
merge master
Diffstat (limited to 'CHANGES.rst')
| -rw-r--r-- | CHANGES.rst | 16 |
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 ------------ |
