diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-26 01:52:16 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-26 01:52:16 -0400 |
| commit | 9b8d0ca728b9668d853032dc2ed9136887a9bdf9 (patch) | |
| tree | 4645c24f93a755508d729cab46d434f26168b538 /CHANGES.txt | |
| parent | 8df795a82d4ee0a5670964ad18f7cfa54583aedb (diff) | |
| download | pyramid-9b8d0ca728b9668d853032dc2ed9136887a9bdf9.tar.gz pyramid-9b8d0ca728b9668d853032dc2ed9136887a9bdf9.tar.bz2 pyramid-9b8d0ca728b9668d853032dc2ed9136887a9bdf9.zip | |
add handler code
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). |
