summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-07-02 01:49:13 +0000
committerChris McDonough <chrism@agendaless.com>2010-07-02 01:49:13 +0000
commit2876ca5b65ac33e89538d1c3f672100fcf5f7829 (patch)
treefa5f3f631e07206f9e21c57e20eadd9aaf678efe /docs
parentb29429e470c093573f3735b0dbf09d42c29cfe4d (diff)
downloadpyramid-2876ca5b65ac33e89538d1c3f672100fcf5f7829.tar.gz
pyramid-2876ca5b65ac33e89538d1c3f672100fcf5f7829.tar.bz2
pyramid-2876ca5b65ac33e89538d1c3f672100fcf5f7829.zip
update whatsnew
Diffstat (limited to 'docs')
-rw-r--r--docs/whatsnew-1.3.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index 6a20938a8..8fc7b192d 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -140,6 +140,15 @@ Minor Feature Additions
:ref:`custom_route_predicates`. In prior versions, the ``info``
argument was always ``None``.
+- The :func:`repoze.bfg.url.route_url` API has changed. If a keyword
+ ``_app_url`` is present in the arguments passed to ``route_url``,
+ this value will be used as the protocol/hostname/port/leading path
+ prefix of the generated URL. For example, using an ``_app_url`` of
+ ``http://example.com:8080/foo`` would cause the URL
+ ``http://example.com:8080/foo/fleeb/flub`` to be returned from this
+ function if the expansion of the route pattern associated with the
+ ``route_name`` expanded to ``/fleeb/flub``.
+
- It is now possible to use a URL as the ``name`` argument fed to
:meth:`repoze.bfg.configuration.Configurator.add_static_view`. When
the name argument is a URL, the :func:`repoze.bfg.url.static_url`