Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.15.2
->==1.0.1
Release Notes
pallets/werkzeug
v1.0.1
Compare Source
Released 2020-03-31
RequestRedirect.get_response
optional.:issue:
1718
1723
Policy header. :pr:
1731
http_date
zero fills years < 1000 to always output four digits.:issue:
1739
:issue:
1746
io.BytesIO
toFileStorage.save
. :issue:1733
v1.0.0
Compare Source
Released 2020-02-06
1478
)(:issue:
1477
)werkzeug
module in favor of direct imports. For example, instead of
import werkzeug; werkzeug.url_quote
, dofrom werkzeug.urls import url_quote
. Install version 0.16 firstto see deprecation warnings while upgrading. :issue:
2
, :pr:1640
utils.invalidate_cached_property()
to invalidate cachedproperties. (:pr:
1474
)Set-Cookie
response header are notignored when parsing the
Cookie
request header. This allowscookies with names such as "expires" and "version". (:issue:
1495
)MultiDict
to capture allvalues for cookies with the same key.
cookies[key]
returns thefirst value rather than the last. Use
cookies.getlist(key)
toget all values.
parse_cookie
also defaults to aMultiDict
.:issue:
1562
, :pr:1458
charset=utf-8
to an HTTP exception response'sCONTENT_TYPE
header. (:pr:1526
)such as lambdas and comprehensions. :issue:
913
, :issue:1037
,:pr:
1532
"opera" instead of "chrome". :issue:
1556
"android" instead of "chromeos". (:pr:
1572
)configured server name. :issue:
760
match the current server name without the port if the current scheme
matches. :pr:
1584
~exceptions.InternalServerError
has aoriginal_exception
attribute that frameworks can use to track the original cause of the
error. :pr:
1590
such that
X-Foo
is the same asx-foo
. :pr:1605
http.dump_cookie
accepts'None'
as a value forsamesite
. :issue:1549
~test.Client.set_cookie
accepts asamesite
argument.:pr:
1705
Response.content_security_policy
data structure. :pr:1617
LanguageAccept
will fall back to matching "en" for "en-US" or"en-US" for "en" to better support clients or translations that
only match at the primary language tag. :issue:
450
, :pr:1507
MIMEAccept
uses MIME parameters for specificity when matching.:issue:
458
, :pr:1574
SSLContext
configured to verify client certificates, the certificate in PEM
format will be available as
environ["SSL_CLIENT_CERT"]
.:pr:
1469
is_resource_modified
will run for methods other thanGET
andHEAD
, rather than always returningFalse
. :issue:409
SharedDataMiddleware
returns 404 rather than 500 when trying toaccess a directory instead of a file with the package loader. The
dependency on setuptools and pkg_resources is removed.
:issue:
1599
response.cache_control.immutable
flag. Keep in mind thatbrowser support for this
Cache-Control
header option is stillexperimental and may not be implemented. :issue:
1185
handled by Click instead of termcolor. :issue:
1235
by cryptography instead of pyOpenSSL. :pr:
1555
FileStorage.save()
supportspathlib
and :pep:519
PathLike
objects. :issue:1653
:issue:
1661
host_matching
is enabled takes into accountthe current host when there are duplicate endpoints with different
hosts. :issue:
488
429 TooManyRequests
and503 ServiceUnavailable
HTTPexceptions takes a
retry_after
parameter to set theRetry-After
header. :issue:1657
Map
andRule
have amerge_slashes
option to collapsemultiple slashes into one, similar to how many HTTP servers behave.
This is enabled by default. :pr:
1286, 1694
codes. :pr:
1678
update
,setlist
, andsetlistdefault
methods to theHeaders
data structure.extend
method can takeMultiDict
and kwargs. :pr:
1687, 1697
rather than stripping off the first path segment. :issue:
491
properties to the
Request
andResponse
wrappers. :pr:1699
Accept
values are no longer ordered alphabetically for equalquality tags. Instead the initial order is preserved. :issue:
1686
Map.lock_class
attribute for alternativeimplementations. :pr:
1702
for use by async frameworks. :pr:
1709
200, to be more compliant with :rfc:
7233
. This may help servingmedia to older browsers. :issue:
410, 1704
~middleware.shared_data.SharedDataMiddleware
defaultfallback_mimetype
isapplication/octet-stream
. If a filenamelooks like a text mimetype, the
utf-8
charset is added to it.This matches the behavior of :class:
~wrappers.BaseResponse
andFlask's
send_file()
. :issue:1689
v0.16.1
Compare Source
Released 2020-01-27
:issue:
1663
content. :issue:
1659
v0.16.0
Compare Source
Released 2019-09-19
Deprecate most top-level attributes provided by the
werkzeug
module in favor of direct imports. The deprecated imports will be
removed in version 1.0.
For example, instead of
import werkzeug; werkzeug.url_quote
, dofrom werkzeug.urls import url_quote
. A deprecation warning willshow the correct import to use.
werkzeug.exceptions
andwerkzeug.routing
should also be imported instead of accessed,but for technical reasons can't show a warning.
:issue:
2
, :pr:1640
v0.15.6
Compare Source
Released 2019-09-04
Windows when the script was an entry point. This fixes the issue
with Flask's
flask run
command failing with "No module namedScripts\flask". :issue:
1614
ProxyFix
trusts theX-Forwarded-Proto
header by default.:issue:
1630
num_proxies
argument toProxyFix
setsx_for
,x_proto
, andx_host
to match 0.14 behavior. Thisis intended to make intermediate upgrades less disruptive, but the
argument will still be removed in 1.0. :issue:
1630
v0.15.5
Compare Source
Released 2019-07-17
TypeError
due to changes toast.Module
in Python 3.8.:issue:
1551
releases. :issue:
1553
~exceptions.BadRequestKeyError
adds theKeyError
message to the description if
e.show_exception
is set toTrue
. This is a more secure default than the original 0.15.0behavior and makes it easier to control without losing information.
:pr:
1592
1581
reloader to fail. :issue:
1607
setuptools script installed as an egg. :issue:
1600
sys.executable
even if the script ismarked executable, reverting a behavior intended for NixOS
introduced in 0.15. The reloader should no longer cause
OSError: [Errno 8] Exec format error
. :issue:1482
,:issue:
1580
SharedDataMiddleware
safely handles paths with Windows drivenames. :issue:
1589
v0.15.4
Compare Source
Released 2019-05-14
SyntaxError
on Python 2.7.5. (:issue:1544
)v0.15.3
Compare Source
Released 2019-05-14
Python 2.7. (:issue:
1080
)response
argument to :exc:~exceptions.Unauthorized
.(:pr:
1527
)~exceptions.Unauthorized
doesn't add theWWW-Authenticate
header if
www_authenticate
is not given. (:issue:1516
)than representing them with
b''
. (:issue:1502
):class:
~middleware.profiler.ProfilerMiddleware
to correctly handlefloat values. (:issue:
1511
)~middleware.lint.LintMiddleware
to work on Python 3.(:issue:
1510
)out in that case. (:issue:
1536
)pin is now unique per container.
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.