summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-10-03 13:49:08 -0500
committerGitHub <noreply@github.com>2019-10-03 13:49:08 -0500
commit8ee8d8c589270b436ebfb8686f4e70d8aaa9e6f4 (patch)
tree4b11916d73febccd1cbb59a793b77df8f979fefe /CHANGES.rst
parentbe62391821676393b7ad5ab51655892e991c2ae0 (diff)
parentbdee24fc37e07dcbbe3380bc16b48c66afd0e8c3 (diff)
downloadpyramid-8ee8d8c589270b436ebfb8686f4e70d8aaa9e6f4.tar.gz
pyramid-8ee8d8c589270b436ebfb8686f4e70d8aaa9e6f4.tar.bz2
pyramid-8ee8d8c589270b436ebfb8686f4e70d8aaa9e6f4.zip
Merge pull request #3514 from mmerickel/predicate-info
define an IPredicateInfo instead of passing the full configurator to predicates
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 400e6d896..e2d5dbbac 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -46,6 +46,10 @@ Features
``Referer`` header for privacy reasons.
See https://github.com/Pylons/pyramid/pull/3512
+- Added ``pyramid.interfaces.IPredicateInfo`` which defines the object passed
+ to predicate factories as their second argument.
+ See https://github.com/Pylons/pyramid/pull/3514
+
Deprecations
------------
@@ -109,6 +113,13 @@ Backward Incompatibilities
``config.scan(..., categories=None)``.
See https://github.com/Pylons/pyramid/pull/3510
+- The second argument to predicate factories has been changed from ``config``
+ to ``info``, an instance of ``pyramid.interfaces.IPredicateInfo``. This
+ limits the data available to predicates but still provides the package,
+ registry, settings and dotted-name resolver which should cover most use
+ cases and is largely backward compatible.
+ See https://github.com/Pylons/pyramid/pull/3514
+
Documentation Changes
---------------------