Bump werkzeug from 0.16.1 to 1.0.1
Bumps werkzeug from 0.16.1 to 1.0.1.
Release notes
Sourced from werkzeug's releases.
1.0.1
1.0.0
After 13 years of development, we're finally 1.0!
Note that previously deprecated code has been removed in this release. Use 0.16.1 as an intermediate step to see deprecation warnings and upgrade.
- Blog: https://palletsprojects.com/blog/werkzeug-1-0-0-released
- Changelog: https://werkzeug.palletsprojects.com/en/1.0.x/changes/#version-1-0-0
- Twitter: https://twitter.com/PalletsTeam/status/1225561504004689920
1.0.0 Release Candidate 1
Use the
--pre
flag to install this pre-release:pip install --pre Werkzeug==1.0.0rc1
Changelog
Sourced from werkzeug's changelog.
Version 1.0.1
Released 2020-03-31
- Make the argument to
RequestRedirect.get_response
optional. :issue:1718
- Only allow a single access control allow origin value.
🇵🇷 1723
- Fix crash when trying to parse a non-existent Content Security Policy header.
🇵🇷 1731
http_date
zero fills years < 1000 to always output four digits. :issue:1739
- Fix missing local variables in interactive debugger console. :issue:
1746
- Fix passing file-like objects like
io.BytesIO
toFileStorage.save
. :issue:1733
Version 1.0.0
Released 2020-02-06
- Drop support for Python 3.4. (:issue:
1478
)- Remove code that issued deprecation warnings in version 0.15. (:issue:
1477
)- Remove most top-level attributes provided by the
werkzeug
module in favor of direct imports. For example, instead ofimport werkzeug; werkzeug.url_quote
, dofrom werkzeug.urls import url_quote
. Install version 0.16 first to see deprecation warnings while upgrading. :issue:2
,🇵🇷 1640
- Added
utils.invalidate_cached_property()
to invalidate cached properties. (🇵🇷 1474
)- Directive keys for the
Set-Cookie
response header are not ignored when parsing theCookie
request header. This allows cookies with names such as "expires" and "version". (:issue:1495
)- Request cookies are parsed into a
MultiDict
to capture all values for cookies with the same key.cookies[key]
returns the first value rather than the last. Usecookies.getlist(key)
to get all values.parse_cookie
also defaults to aMultiDict
. :issue:1562
,🇵🇷 1458
- Add
charset=utf-8
to an HTTP exception response'sCONTENT_TYPE
header. (🇵🇷 1526
)- The interactive debugger handles outer variables in nested scopes such as lambdas and comprehensions. :issue:
913
, :issue:1037
,🇵🇷 1532
- The user agent for Opera 60 on Mac is correctly reported as "opera" instead of "chrome". :issue:
1556
- The platform for Crosswalk on Android is correctly reported as "android" instead of "chromeos". (
🇵🇷 1572
)
... (truncated)
Commits
-
1dde4b1
release version 1.0.1 -
1527e05
Merge pull request #1743 from Dreamsorcerer/patch-1 -
a9ba22a
Add missing documentation about None return type. -
244b486
Merge pull request #1734 from alexa-infra/fix-filestorage-save-bytes-io -
c341a0a
fix os.fspath call on file-like objects -
32f3b07
Merge pull request #1741 from mbertoldi/1.0.x -
c761ff8
fix locals in InteractiveConsole -
6ff5cd1
Merge pull request #1740 from nicolary/hf-zfill_4_year_dump_date -
b70df18
zfill year < 1000 -
8568bed
Merge pull request #1736 from magula/1.0.x - Additional commits viewable in compare view