summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2017-06-19 21:43:03 -0500
committerMichael Merickel <michael@merickel.org>2017-06-19 21:43:03 -0500
commit53cfb8383593288f5114c1a31a6253987e9233bd (patch)
tree4f9aeb32ed3cf606279a477c1ecf5a0e7a9cf06e
parent5aa1afbb216a800a420ffa6121a54b4ea194482b (diff)
downloadpyramid-53cfb8383593288f5114c1a31a6253987e9233bd.tar.gz
pyramid-53cfb8383593288f5114c1a31a6253987e9233bd.tar.bz2
pyramid-53cfb8383593288f5114c1a31a6253987e9233bd.zip
update the whatsnew-1.9 with changes from #3034
-rw-r--r--CHANGES.txt4
-rw-r--r--docs/whatsnew-1.9.rst2
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
------------