From 2eb64f7a8bc7830667c3cb924bb5c13be3859b38 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 24 Jul 2010 08:32:21 +0000 Subject: Remove match_val feature: it's a pretty nuisance --- docs/whatsnew-1.3.rst | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'docs/whatsnew-1.3.rst') diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst index f55ac88a6..48fe8f4f0 100644 --- a/docs/whatsnew-1.3.rst +++ b/docs/whatsnew-1.3.rst @@ -158,18 +158,6 @@ Minor Feature Additions media package-internal and served by the development webserver during development. -- A new :ref:`view predicate` was added named ``match_val``. The - ``match_val`` value represents the presence of a value in the - structure added to the request named ``matchdict`` during :term:`URL - dispatch` representing the match values from the route pattern - (e.g. if the route pattern has ``:foo`` in it, and the route - matches, a key will exist in the matchdict named ``foo``). Like all - other view predicates, this feature is exposed via the - :class:`repoze.bfg.view.bfg_view` API, the - :class:`repoze.bfg.configuration.Configurator.add_view` API, and the - ZCML :ref:`view_directive` directive. See the documentation for - those APIs for more inforamtion. - - New argument to :class:`repoze.bfg.configuration.Configurator.add_route` and the ZCML ``route`` directive: ``traverse``. If you would like to cause @@ -182,6 +170,13 @@ Minor Feature Additions :class:`repoze.bfg.configuration.Configurator.add_route` for more information (the ``traverse`` argument). +- A new method of the ``Configurator`` exists: + ``set_request_factory``. If used, this method will set the factory + used by the :mod:`repoze.bfg` router to create all request objects. + The ``Configurator`` constructor also takes an additional argument: + ``request_factory``. If used, this argument will set the factory + used by the :mod:`repoze.bfg` router to create all request objects. + Backwards Incompatibilities --------------------------- @@ -248,6 +243,9 @@ Documentation Enhancements changed to demonstrate authorization via a group rather than via a direct username. +- The :ref:`hooks_chapter` chapter now contains a section about + changing the request factory. + Licensing Changes ----------------- -- cgit v1.2.3