From 52779768030ec58407db2586b0f83683ffd180f0 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 30 Sep 2019 21:40:16 -0500 Subject: add changelog for #3514 --- CHANGES.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 --------------------- -- cgit v1.2.3