Skip to content

Commit

Permalink
update the whatsnew-1.9 with changes from Pylons#3034
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Jun 20, 2017
1 parent 5aa1afb commit 53cfb83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/whatsnew-1.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------

Expand Down

0 comments on commit 53cfb83

Please sign in to comment.