Skip to content

Commit

Permalink
Bumping up version from 19.12.0 to 19.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsadowski committed Dec 27, 2019
1 parent 2b5f8d2 commit 2889935
Show file tree
Hide file tree
Showing 10 changed files with 502 additions and 25 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
Version 19.12.0
===============

Bugfixes
********

- Fix blueprint middleware application

Currently, any blueprint middleware registered, irrespective of which blueprint was used to do so, was
being applied to all of the routes created by the :code:`@app` and :code:`@blueprint` alike.

As part of this change, the blueprint based middleware application is enforced based on where they are
registered.

- If you register a middleware via :code:`@blueprint.middleware` then it will apply only to the routes defined by the blueprint.
- If you register a middleware via :code:`@blueprint_group.middleware` then it will apply to all blueprint based routes that are part of the group.
- If you define a middleware via :code:`@app.middleware` then it will be applied on all available routes (`#37 <https://github.com/huge-success/sanic/issues/37>`__)
- Fix `url_for` behavior with missing SERVER_NAME

If the `SERVER_NAME` was missing in the `app.config` entity, the `url_for` on the `request` and `app` were failing
due to an `AttributeError`. This fix makes the availability of `SERVER_NAME` on our `app.config` an optional behavior. (`#1707 <https://github.com/huge-success/sanic/issues/1707>`__)


Improved Documentation
**********************

- Move docs from RST to MD

Moved all docs from markdown to restructured text like the rest of the docs to unify the scheme and make it easier in
the future to update documentation. (`#1691 <https://github.com/huge-success/sanic/issues/1691>`__)
- Fix documentation for `get` and `getlist` of the `request.args`

Add additional example for showing the usage of `getlist` and fix the documentation string for `request.args` behavior (`#1704 <https://github.com/huge-success/sanic/issues/1704>`__)


Version 19.6.3
==============

Expand Down
26 changes: 26 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
towncrier = "*"
requests = "*"
jinja2-time = "*"
multidict = "*"
uvloop = "*"
ujson = "*"
aiofiles = "*"
websockets = "*"
sphinx = "*"
sphinx-rtd-theme = "*"
recommonmark = "*"
httpx = "*"
docutils = "*"
pygments = "*"
httptools = "*"

[requires]
python_version = "3.7"
Loading

0 comments on commit 2889935

Please sign in to comment.