repoze.bfg 1.2a5 has been released.

Install via:

    easy_install -i repoze.bfg

Or via PyPI.

The changelog follows.

1.2a5 (2009-12-10)


- When the ``repoze.bfg.exceptions.NotFound`` or
   ``repoze.bfg.exceptions.Forbidden`` error is raised from within a
   custom root factory or the ``factory`` of a route, the appropriate
   response is now sent to the requesting user agent (the result of the
   notfound view or the forbidden view, respectively).  When these
   errors are raised from within a root factory, the ``context`` passed
   to the notfound or forbidden view will be ``None``.  Also, the
   request will not be decorated with ``view_name``, ``subpath``,
   ``context``, etc. as would normally be the case if traversal had
   been allowed to take place.


- The exception class representing the error raised by various methods
   of a ``Configurator`` is now importable as


- General documentation freshening which takes imperative
   configuration into account in more places and uses glossary
   references more liberally.

- Remove explanation of changing the request type in a new request
   event subscriber, as other predicates are now usually an easier way
   to get this done.

- Added "Thread Locals" narrative chapter to documentation, and added
   a API chapter documenting the ``repoze.bfg.threadlocals`` module.

- Added a "Special Exceptions" section to the "Views" narrative
   documentation chapter explaining the effect of raising
   ``repoze.bfg.exceptions.NotFound`` and
   ``repoze.bfg.exceptions.Forbidden`` from within view code.


- A new dependency on the ``twill`` package was added to the
   ```` ``tests_require`` argument (Twill will only be
   downloaded when ``repoze.bfg`` `` test`` or ``
   nosetests`` is invoked).

Repoze-dev mailing list

Reply via email to