From 251ce7d166fa901b33f20cf46315ec464e3eac64 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 19 Dec 2009 21:14:30 +0000 Subject: - Add two new APIs to the ``repoze.bfg.configuration.Configurator`` class: ``add_adapter`` and ``add_utility``. These, respectively, perform the same functions as the ``registerAdapter`` and ``registerUtility`` functions of a ZCA registry. They were added to allow for a more consistent testing API for applications that make use of the ZCA directly. - Cause the ``adapter``, ``utility``, and ``subscriber`` ZCML directives to use a ``Configurator`` instance and associated configurator APIs rather than a ZCA registry directly. --- CHANGES.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index abef4ab0e..0a8caac24 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,13 @@ Next release Features -------- +- Add two new APIs to the ``repoze.bfg.configuration.Configurator`` + class: ``add_adapter`` and ``add_utility``. These, respectively, + perform the same functions as the ``registerAdapter`` and + ``registerUtility`` functions of a ZCA registry. They were added to + allow for a more consistent testing API for applications that make + use of the ZCA directly. + - Add a ``custom_predicates`` argument to the ``Configurator`` ``add_view`` method, the ``bfg_view`` decorator and the attribute list of the ZCML ``view`` directive. If ``custom_predicates`` is @@ -26,6 +33,13 @@ Features predicates when no existing predefined predicate is useful. Predefined and custom predicates can be mixed freely. +Internal +-------- + +- Cause the ``adapter``, ``utility``, and ``subscriber`` ZCML + directives to use a ``Configurator`` instance and associated + configurator APIs rather than a ZCA registry directly. + 1.2a6 (2009-12-18) ================== -- cgit v1.2.3