diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-19 21:14:30 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-19 21:14:30 +0000 |
| commit | 251ce7d166fa901b33f20cf46315ec464e3eac64 (patch) | |
| tree | 2cd31c1de76f3a915dfb702cc8c18edff27e60b1 /CHANGES.txt | |
| parent | 12daf9e069b66aef5715a14641fc269367c091dd (diff) | |
| download | pyramid-251ce7d166fa901b33f20cf46315ec464e3eac64.tar.gz pyramid-251ce7d166fa901b33f20cf46315ec464e3eac64.tar.bz2 pyramid-251ce7d166fa901b33f20cf46315ec464e3eac64.zip | |
- 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.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 14 |
1 files changed, 14 insertions, 0 deletions
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) ================== |
