Werkzeug v2.0.2 Release Notes
-
๐ Released 2021-10-05
- Handle multiple tokens in
Connection
header when routing WebSocket requests. :issue:2131
- ๐ Set the debugger pin cookie secure flag when on https. :pr:
2150
- โก๏ธ Fix type annotation for
MultiDict.update
to accept iterable values :pr:2142
- ๐ Prevent double encoding of redirect URL when
merge_slash=True
forRule.match
. :issue:2157
-
CombinedMultiDict.to_dict
withflat=False
considers all component dicts when building value lists. :issue:2189
-
send_file
only sets a detectedContent-Encoding
ifas_attachment
is disabled to avoid browsers saving decompressed.tar.gz
files. :issue:2149
- Fix type annotations for
TypeConversionDict.get
to not return anOptional
value if bothdefault
andtype
are notNone
. :issue:2169
- Fix type annotation for routing rule factories to accept
Iterable[RuleFactory]
instead ofIterable[Rule]
for therules
parameter. :issue:2183
- Add missing type annotation for
FileStorage.__getattr__
:issue:2155
- ๐ The debugger pin cookie is set with
SameSite
set toStrict
instead ofNone
to be compatible with modern browser security. :issue:2156
- Type annotations use
IO[bytes]
andIO[str]
instead ofBinaryIO
andTextIO
for wider type compatibility. :issue:2130
- Ad-hoc TLS certs are generated with SAN matching CN. :issue:
2158
- Fix memory usage for locals when using Python 3.6 or pre 0.4.17
greenlet versions. :pr:
2212
- Fix type annotation in
CallbackDict
, because it is not utilizing a bound TypeVar. :issue:2235
- Fix setting CSP header options on the response. :pr:
2237
- Fix an issue with with the interactive debugger where lines would
not expand on click for very long tracebacks. :pr:
2239
- ๐ป The interactive debugger handles displaying an exception that does
not have a traceback, such as from
ProcessPoolExecutor
. :issue:2217
- Handle multiple tokens in