From 53cfb8383593288f5114c1a31a6253987e9233bd Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Tue, 20 Jun 2017 04:43:03 +0200 Subject: [PATCH] update the whatsnew-1.9 with changes from #3034 --- docs/whatsnew-1.9.rst | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/docs/whatsnew-1.9.rst b/docs/whatsnew-1.9.rst index 9e9c161..3c2e75d 100644 --- a/docs/whatsnew-1.9.rst +++ b/docs/whatsnew-1.9.rst @@ -43,6 +43,8 @@ - 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 ------------ -- Gitblit v1.9.3