Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flask from 0.11.1 to 0.12.3 #3871

Merged
merged 2 commits into from
Jun 3, 2019
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2019

Bumps flask from 0.11.1 to 0.12.3.

Release notes

Sourced from flask's releases.

0.12.3

This release includes an important security fix for JSON and a minor backport for CLI support in PyCharm. It is provided for projects that cannot update to Flask 1.0 immediately. See the 1.0 announcement and update to it instead if possible.

JSON Security Fix

Flask previously decoded incoming JSON bytes using the content type of the request. Although JSON should only be encoded as UTF-8, Flask was more lenient. However, Python includes non-text related encodings that could result in unexpected memory use by a request.

Flask will now detect the encoding of incoming JSON data as one of the supported UTF encodings, and will not allow arbitrary encodings from the request.

Upgrade

Upgrade from PyPI with pip. Use a version identifier if you want to stay at 0.12:

pip install -U 'Flask~=0.12.3'

Or upgrade to 1.0:

pip install -U Flask
Changelog

Sourced from flask's changelog.

Version 0.12.3

Released on April 26th 2018

  • :func:Request.get_json no longer accepts arbitrary encodings.
    Incoming JSON should be encoded using UTF-8 per :rfc:8259, but
    Flask will autodetect UTF-8, -16, or -32. ([#2692](https://github-redirect.dependabot.com/pallets/flask/issues/2692)_)
  • Fix a Python warning about imports when using python -m flask.
    ([#2666](https://github-redirect.dependabot.com/pallets/flask/issues/2666)_)
  • Fix a ValueError caused by invalid Range requests in some
    cases.

.. _#2666: #2666
.. _#2692: #2692

Version 0.12.2

Released on May 16 2017

  • Fix a bug in safe_join on Windows.

Version 0.12.1

Bugfix release, released on March 31st 2017

  • Prevent flask run from showing a NoAppException when an ImportError occurs
    within the imported application module.
  • Fix encoding behavior of app.config.from_pyfile for Python 3. Fix
    [#2118](https://github-redirect.dependabot.com/pallets/flask/issues/2118).
  • Use the SERVER_NAME config if it is present as default values for
    app.run. [#2109](https://github-redirect.dependabot.com/pallets/flask/issues/2109), [#2152](https://github-redirect.dependabot.com/pallets/flask/issues/2152)
  • Call ctx.auto_pop with the exception object instead of None, in the
    event that a BaseException such as KeyboardInterrupt is raised in a
    request handler.

Version 0.12

Released on December 21st 2016, codename Punsch.

  • the cli command now responds to --version.
  • Mimetype guessing and ETag generation for file-like objects in send_file
    has been removed, as per issue [#104](https://github-redirect.dependabot.com/pallets/flask/issues/104). ([#1849](https://github-redirect.dependabot.com/pallets/flask/issues/1849)_)
  • Mimetype guessing in send_file now fails loudly and doesn't fall back to
    application/octet-stream. ([#1988](https://github-redirect.dependabot.com/pallets/flask/issues/1988)_)
  • Make flask.safe_join able to join multiple paths like os.path.join
... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 2, 2019
@arikfr arikfr merged commit e433efe into master Jun 3, 2019
@arikfr arikfr deleted the dependabot/pip/flask-0.12.3 branch June 3, 2019 15:04
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
* Bump flask from 0.11.1 to 0.12.3

Bumps [flask](https://github.com/pallets/flask) from 0.11.1 to 0.12.3.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst)
- [Commits](pallets/flask@0.11.1...0.12.3)

* Bump to Flask 0.12.4 to fix an issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant