From 53cfb8383593288f5114c1a31a6253987e9233bd Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 19 Jun 2017 21:43:03 -0500 Subject: update the whatsnew-1.9 with changes from #3034 --- docs/whatsnew-1.9.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/whatsnew-1.9.rst') 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 ------------ -- cgit v1.2.3