Bump werkzeug from 1.0.1 to 2.0.0
Bumps werkzeug from 1.0.1 to 2.0.0.
Release notes
Sourced from werkzeug's releases.
2.0.0
New major versions of all the core Pallets libraries, including Werkzeug 2.0, have been released!
🎉
- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
- Read the full list of changes: https://werkzeug.palletsprojects.com/changes/#version-2-0-0
- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
- Follow our blog, Twitter, or GitHub to see future announcements.
This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
2.0.0rc5
2.0.0rc4
2.0.0 Release Candidate 3
Use the
--preflag to install this pre-release:pip install --pre Werkzeug==2.0.0rc32.0.0 Release Candidate 2
Use the
--preflag to install this pre-release:pip install --pre Werkzeug==2.0.0rc22.0.0 Release Candidate 1
Use the
--preflag to install this pre-release:pip install --pre Werkzeug==2.0.0rc1
Changelog
Sourced from werkzeug's changelog.
Version 2.0.0
Released 2021-05-11
- Drop support for Python 2 and 3.5.
🇵🇷 1693- Deprecate :func:
utils.format_string, use :class:string.Templateinstead. :issue:1756- Deprecate :func:
utils.bind_argumentsand :func:utils.validate_arguments, use :meth:Signature.bindand :func:inspect.signatureinstead. :issue:1757- Deprecate :class:
utils.HTMLBuilder. :issue:1761- Deprecate :func:
utils.escapeand :func:utils.unescape, use MarkupSafe instead. :issue:1758- Deprecate the undocumented
python -m werkzeug.servingCLI. :issue:1834- Deprecate the
environ["werkzeug.server.shutdown"]function that is available when running the development server. :issue:1752- Deprecate the
useragentsmodule and the built-in user agent parser. Use a dedicated parser library instead by subclassinguser_agent.UserAgentand settingRequest.user_agent_class. :issue:2078- Remove the unused, internal
posixemulationmodule. :issue:1759- All
datetimevalues are timezone-aware withtzinfo=timezone.utc. This applies to anything usinghttp.parse_date:Request.date,.if_modified_since,.if_unmodified_since;Response.date,.expires,.last_modified,.retry_after;parse_if_range_header, andIfRange.date. When comparing values, the other values must also be aware, or these values must be made naive. When passing parameters or setting attributes, naive values are still assumed to be in UTC.🇵🇷 2040- Merge all request and response wrapper mixin code into single
RequestandResponseclasses. Using the mixin classes is no longer necessary and will show a deprecation warning. CheckingisinstanceorissubclassagainstBaseRequestandBaseResponsewill show a deprecation warning and check againstRequestorResponseinstead. :issue:1963- JSON support no longer uses simplejson if it's installed. To use another JSON module, override
Request.json_moduleandResponse.json_module.🇵🇷 1766Response.get_json()no longer caches the result, and thecacheparameter is removed. :issue:1698Response.freeze()generates anETagheader if one is not set. Theno_etagparameter (which usually wasn't visible anyway) is no longer used. :issue:1963- Add a
url_schemeargument to :meth:~routing.MapAdapter.buildto override the bound scheme.🇵🇷 1721- Passing an empty list as a query string parameter to
build()won't append an unnecessary?. Also drop any number ofNone
... (truncated)
Commits
-
af160e0Merge pull request #2111 from pallets/release-2.0.0 -
c987e02release version 2.0.0 -
d6a0f17update requirements -
13b8520Merge pull request #2110 from pallets/pre-commit-ci-schedule -
264446fupdate pre-commit monthly -
d6f89eeMerge pull request #2109 from pallets/more-typing -
2dfb6dcenable more mypy checks -
30ce9eeMerge pull request #2108 from pallets/pre-commit-ci-update-config -
6212134[pre-commit.ci] pre-commit autoupdate -
4970558Merge pull request #2107 from TrizlyBear/patch-1 - Additional commits viewable in compare view