[BACK]Return to PLIST CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / py-flask

File: [cvs.NetBSD.org] / pkgsrc / www / py-flask / PLIST (download)

Revision 1.6, Sat Jul 13 09:28:58 2019 UTC (18 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, HEAD
Changes since 1.5: +1 -2 lines

py-flask: updated to 1.1.1

Version 1.1.1

The flask.json_available flag was added back for compatibility with some extensions. It will raise a deprecation warning when used, and will be removed in version 2.0.0.

Version 1.1.0

Bump minimum Werkzeug version to >= 0.15.
Drop support for Python 3.4.
Error handlers for InternalServerError or 500 will always be passed an instance of InternalServerError. If they are invoked due to an unhandled exception, that original exception is now available as e.original_exception rather than being passed directly to the handler. The same is true if the handler is for the base HTTPException. This makes error handler behavior more consistent.
Flask.finalize_request() is called for all unhandled exceptions even if there is no 500 error handler.
Flask.logger takes the same name as Flask.name (the value passed as Flask(import_name). This reverts 1.0 behavior of always logging to "flask.app", in order to support multiple apps in the same process. A warning will be shown if old configuration is detected that needs to be moved.
flask.RequestContext.copy() includes the current session object in the request context copy. This prevents session pointing to an out-of-date object.
Using built-in RequestContext, unprintable Unicode characters in Host header will result in a HTTP 400 response and not HTTP 500 as previously.
send_file() supports PathLike objects as described in PEP 0519, to support pathlib in Python 3.
send_file() supports BytesIO partial content.
open_resource() accepts the tfile mode. This still does the same thing as 
The MethodView.methods attribute set in a base class is used by subclasses.
Flask.jinja_options is a dict instead of an ImmutableDict to allow easier configuration. Changes must still be made before creating the environment.
Flask JSONMixin for the request and response wrappers was moved into Werkzeug. Use Werkzeug version with Flask-specific support. This bumps the Werkzeug dependency to >= 0.15.
The flask command entry point is simplified to take advantage of Werkzeug 0.15 better reloader support. This bumps the Werkzeug dependency to >= 0.15.
Support static_url_path that ends with a forward slash.
Support empty static_folder without requiring setting an empty static_url_path as well.
jsonify() supports dataclasses.dataclass objects.
Allow customizing the Flask.url_map_class used for routing.
The development server port can be set to 0, which tells the OS to pick an available port.
The return value from cli.load_dotenv() is more consistent with the documentation. It will return False if python-dotenv is not installed, or if the given path isn a file.
Signaling support has a stub for the connect_via method when the Blinker library is not installed.
Add an --extra-files option to the flask run CLI command to specify extra files that will trigger the reloader on change.
Allow returning a dictionary from a view function. Similar to how returning a string will produce a text/html response, returning a dict will call jsonify to produce a application/json response.
Blueprints have a cli Click group like app.cli. CLI commands registered with a blueprint will be available as a group under the flask command..
When using the test client as a context manager (with client:), all preserved request contexts are popped when the block exits, ensuring nested contexts are cleaned up correctly.
Show a better error message when the view return type is not supported.
flask.testing.make_test_environ_builder() has been deprecated in favour of a new class flask.testing.EnvironBuilder.
The flask run command no longer fails if Python is not built with SSL support. Using the --cert option will show an appropriate error message.
URL matching now occurs after the request context is pushed, rather than when it created. This allows custom URL converters to access the app and request contexts, such as to query a database for an id.

@comment $NetBSD: PLIST,v 1.6 2019/07/13 09:28:58 adam Exp $
bin/flask-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/flask/__init__.py
${PYSITELIB}/flask/__init__.pyc
${PYSITELIB}/flask/__init__.pyo
${PYSITELIB}/flask/__main__.py
${PYSITELIB}/flask/__main__.pyc
${PYSITELIB}/flask/__main__.pyo
${PYSITELIB}/flask/_compat.py
${PYSITELIB}/flask/_compat.pyc
${PYSITELIB}/flask/_compat.pyo
${PYSITELIB}/flask/app.py
${PYSITELIB}/flask/app.pyc
${PYSITELIB}/flask/app.pyo
${PYSITELIB}/flask/blueprints.py
${PYSITELIB}/flask/blueprints.pyc
${PYSITELIB}/flask/blueprints.pyo
${PYSITELIB}/flask/cli.py
${PYSITELIB}/flask/cli.pyc
${PYSITELIB}/flask/cli.pyo
${PYSITELIB}/flask/config.py
${PYSITELIB}/flask/config.pyc
${PYSITELIB}/flask/config.pyo
${PYSITELIB}/flask/ctx.py
${PYSITELIB}/flask/ctx.pyc
${PYSITELIB}/flask/ctx.pyo
${PYSITELIB}/flask/debughelpers.py
${PYSITELIB}/flask/debughelpers.pyc
${PYSITELIB}/flask/debughelpers.pyo
${PYSITELIB}/flask/globals.py
${PYSITELIB}/flask/globals.pyc
${PYSITELIB}/flask/globals.pyo
${PYSITELIB}/flask/helpers.py
${PYSITELIB}/flask/helpers.pyc
${PYSITELIB}/flask/helpers.pyo
${PYSITELIB}/flask/json/__init__.py
${PYSITELIB}/flask/json/__init__.pyc
${PYSITELIB}/flask/json/__init__.pyo
${PYSITELIB}/flask/json/tag.py
${PYSITELIB}/flask/json/tag.pyc
${PYSITELIB}/flask/json/tag.pyo
${PYSITELIB}/flask/logging.py
${PYSITELIB}/flask/logging.pyc
${PYSITELIB}/flask/logging.pyo
${PYSITELIB}/flask/sessions.py
${PYSITELIB}/flask/sessions.pyc
${PYSITELIB}/flask/sessions.pyo
${PYSITELIB}/flask/signals.py
${PYSITELIB}/flask/signals.pyc
${PYSITELIB}/flask/signals.pyo
${PYSITELIB}/flask/templating.py
${PYSITELIB}/flask/templating.pyc
${PYSITELIB}/flask/templating.pyo
${PYSITELIB}/flask/testing.py
${PYSITELIB}/flask/testing.pyc
${PYSITELIB}/flask/testing.pyo
${PYSITELIB}/flask/views.py
${PYSITELIB}/flask/views.pyc
${PYSITELIB}/flask/views.pyo
${PYSITELIB}/flask/wrappers.py
${PYSITELIB}/flask/wrappers.pyc
${PYSITELIB}/flask/wrappers.pyo