diff options
| -rw-r--r-- | CHANGES.txt | 4 | ||||
| -rw-r--r-- | docs/whatsnew-1.9.rst | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index bc911d1e3..dfa9844f9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -34,8 +34,8 @@ unreleased - Support `_query=None` and `_anchor=None` in ``request.route_url`` as well as ``query=None`` and ``anchor=None`` in ``request.resource_url``. Previously this would cause an `?` and a `#`, respectively, in the url - with nothing after it. - See https://github.com/Pylons/pyramid/pull/3034 + with nothing after it. Now the unnecessary parts are dropped from the + generated URL. See https://github.com/Pylons/pyramid/pull/3034 - Revamp the ``IRouter`` API used by ``IExecutionPolicy`` to force pushing/popping the request threadlocals. The diff --git a/docs/whatsnew-1.9.rst b/docs/whatsnew-1.9.rst index 9e9c1614d..3c2e75d5c 100644 --- a/docs/whatsnew-1.9.rst +++ b/docs/whatsnew-1.9.rst @@ -43,6 +43,8 @@ Minor Feature Additions - Add a ``quote_via`` argument to :func:`pyramid.encode.urlencode` to follow the stdlib's version and enable custom quoting functions. See https://github.com/Pylons/pyramid/pull/3088 +- Support `_query=None` and `_anchor=None` in :meth:`pyramid.request.Request.route_url` as well as ``query=None`` and ``anchor=None`` in :meth:`pyramid.request.Request.resource_url`. Previously this would cause an `?` and a `#`, respectively, in the url with nothing after it. Now the unnecessary parts are dropped from the generated URL. See https://github.com/Pylons/pyramid/pull/3034 + Deprecations ------------ |
