diff --git a/CHANGES.rst b/CHANGES.rst index 5717e48d..461284c0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -21,6 +21,14 @@ Unreleased - Support View and MethodView instances with async handlers. :issue:`4112` - Enhance typing of ``app.errorhandler`` decorator. :issue:`4095` - Fix registering a blueprint twice with differing names. :issue:`4124` +- Fix the type of ``static_folder`` to accept ``pathlib.Path``. + :issue:`4150` +- ``jsonify`` handles ``decimal.Decimal`` by encoding to ``str``. + :issue:`4157` +- Correctly handle raising deferred errors in CLI lazy loading. + :issue:`4096` +- The CLI loader handles ``**kwargs`` in a ``create_app`` function. + :issue:`4170` Version 2.0.1 diff --git a/docs/api.rst b/docs/api.rst index e6862878..09fc71a9 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -256,7 +256,7 @@ the filter to render data inside `` diff --git a/docs/deploying/asgi.rst b/docs/deploying/asgi.rst index c7e04027..39cd76b7 100644 --- a/docs/deploying/asgi.rst +++ b/docs/deploying/asgi.rst @@ -5,7 +5,7 @@ ASGI If you'd like to use an ASGI server you will need to utilise WSGI to ASGI middleware. The asgiref -[WsgiToAsgi](https://github.com/django/asgiref#wsgi-to-asgi-adapter) +`WsgiToAsgi `_ adapter is recommended as it integrates with the event loop used for Flask's :ref:`async_await` support. You can use the adapter by wrapping the Flask app, @@ -21,7 +21,7 @@ wrapping the Flask app, asgi_app = WsgiToAsgi(app) -and then serving the ``asgi_app`` with the asgi server, e.g. using +and then serving the ``asgi_app`` with the ASGI server, e.g. using `Hypercorn `_, .. sourcecode:: text diff --git a/docs/patterns/jquery.rst b/docs/patterns/jquery.rst index fafbdf18..0a75bb71 100644 --- a/docs/patterns/jquery.rst +++ b/docs/patterns/jquery.rst @@ -23,8 +23,7 @@ to add a script statement to the bottom of your ```` to load jQuery: .. sourcecode:: html - + Another method is using Google's `AJAX Libraries API `_ to load jQuery: @@ -59,7 +58,7 @@ like this: .. sourcecode:: html+jinja - @@ -109,7 +108,7 @@ usually a better idea to have that in a separate script file: .. sourcecode:: html -