diff options
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index cf40de0e6..8070a3d62 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,6 +7,19 @@ Features (delta from BFG 1.3.X) - Add ``pyramid.httpexceptions`` module, which is a facade for the ``webob.exc`` module. +- Direct built-in support for the Mako templating language. + +- A "squiggly" (Pylons-style) route syntax is now supported by + ``pyramid.configuration.Configurator.add_route`` (and thus, by the + ``route`` ZCML directive too). For example, the following route + patterns are equivalent: ``{foo}/{bar}`` and ``:foo/:bar``. This is + purely a syntactic affordance to make route patterns more tolerable + for people coming from Pylons. + +- A new configurator method exists: ``add_handler``. This method adds + a Pylons-style "view handler" (such a thing used to be called a + "controller" in Pylons 1.0). + Documentation (delta from BFG 1.3) ----------------------------------- @@ -27,9 +40,6 @@ Backwards Incompatibilities (with BFG 1.3.X) - The logger which used to have the name of ``repoze.bfg.debug`` now has the name ``pyramid.debug``. -- The deprecated API named ``pyramid.router.make_app`` (aka - ``pyramid.configuration.make_app``) was removed. - - The deprecated API named ``pyramid.request.get_request`` was removed. - The deprecated API named ``pyramid.security.Unauthorized`` was @@ -40,3 +50,6 @@ Backwards Incompatibilities (with BFG 1.3.X) - The deprecated API named ``pyramid.view.NotFound`` was removed. +- The literal pattern ``{<anything>}`` is no longer permitted in route + patterns (due to the addition of squiggly route pattern syntax + support). |
