From a196ba96fea9ee0b8db484a9562446d8ba64d9f2 Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Sat, 08 Jul 2017 19:44:51 +0200 Subject: [PATCH] Merge pull request #3123 from mmerickel/backport-3122-to-1.9-branch --- CHANGES.txt | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index bca34a5..a5e1035 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,10 +1,16 @@ unreleased ========== -- Add a ``_category`` argument to the ``pyramid.view.view_config`` decorator. - This argument will be forwarded to venusian and can be used to affect - what items are picked up by ``config.scan(..., category=...)``. - See https://github.com/Pylons/pyramid/pull/3121 +- Add a ``_depth`` and ``_category`` arguments to all of the venusian + decorators. The ``_category`` argument can be used to affect which actions + are registered when performing a ``config.scan(..., category=...)`` with a + specific category. The ``_depth`` argument should be used when wrapping + the decorator in your own. This change affects ``pyramid.view.view_config``, + ``pyramid.view.exception_view_config``, + ``pyramid.view.forbidden_view_config``, ``pyramid.view.notfound_view_config``, + ``pyramid.events.subscriber`` and ``pyramid.response.response_adapter`` + decorators. See https://github.com/Pylons/pyramid/pull/3121 and + https://github.com/Pylons/pyramid/pull/3123 1.9 (2017-06-26) ================ -- Gitblit v1.9.3