summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-12-21 10:34:15 -0600
committerGitHub <noreply@github.com>2016-12-21 10:34:15 -0600
commit721d1b0076f9570cdff79da78e897a04a77dc164 (patch)
tree87b25bd734a776677655bc202950ef27079d930f /CHANGES.txt
parentd96e05ee8fd5c06ef4f2eddac6b1d24ed6d23eca (diff)
parent5f4649e9a3a1880c715ed88d19290a8d8c51152f (diff)
downloadpyramid-721d1b0076f9570cdff79da78e897a04a77dc164.tar.gz
pyramid-721d1b0076f9570cdff79da78e897a04a77dc164.tar.bz2
pyramid-721d1b0076f9570cdff79da78e897a04a77dc164.zip
Merge pull request #2873 from mmerickel/defer-translation-dirs
defer config.add_translation_dirs
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index ac3989d35..ac329f574 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -140,6 +140,29 @@ Features
``--help`` output as well as enabling nicer documentation of their options.
See https://github.com/Pylons/pyramid/pull/2864
+- Any deferred configuration action registered via ``config.action`` may now
+ depend on threadlocal state, such as asset overrides, being active when
+ the action is executed.
+ See https://github.com/Pylons/pyramid/pull/2873
+
+- Asset specifications for directories passed to
+ ``config.add_translation_dirs`` now support overriding the entire asset
+ specification, including the folder name. Previously only the package name
+ was supported and the folder would always need to have the same name.
+ See https://github.com/Pylons/pyramid/pull/2873
+
+- ``config.begin()`` will propagate the current threadlocal request through
+ as long as the registry is the same. For example:
+
+ .. code-block:: python
+
+ request = Request.blank(...)
+ config.begin(request) # pushes a request
+ config.begin() # propagates the previous request through unchanged
+ assert get_current_request() is request
+
+ See https://github.com/Pylons/pyramid/pull/2873
+
Bug Fixes
---------
@@ -174,6 +197,11 @@ Bug Fixes
style, even if a different plural function is defined in the relevant
messages file. See https://github.com/Pylons/pyramid/pull/2859
+- The ``config.override_asset`` method now occurs during
+ ``pyramid.config.PHASE1_CONFIG`` such that it is ordered to execute before
+ any calls to ``config.add_translation_dirs``.
+ See https://github.com/Pylons/pyramid/pull/2873
+
Deprecations
------------