Open
Conversation
28ec478 to
841d8af
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.1Release Notes
pallets/werkzeug
v1.0.1Compare Source
Released 2020-03-31
RequestRedirect.get_responseoptional.:issue:
17181723Policy header. :pr:
1731http_datezero fills years < 1000 to always output four digits.:issue:
1739:issue:
1746io.BytesIOtoFileStorage.save. :issue:1733v1.0.0Compare Source
Released 2020-02-06
1478)(:issue:
1477)werkzeugmodule 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:1640utils.invalidate_cached_property()to invalidate cachedproperties. (:pr:
1474)Set-Cookieresponse header are notignored when parsing the
Cookierequest header. This allowscookies with names such as "expires" and "version". (:issue:
1495)MultiDictto 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_cookiealso defaults to aMultiDict.:issue:
1562, :pr:1458charset=utf-8to an HTTP exception response'sCONTENT_TYPEheader. (: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:
760match the current server name without the port if the current scheme
matches. :pr:
1584~exceptions.InternalServerErrorhas aoriginal_exceptionattribute that frameworks can use to track the original cause of the
error. :pr:
1590such that
X-Foois the same asx-foo. :pr:1605http.dump_cookieaccepts'None'as a value forsamesite. :issue:1549~test.Client.set_cookieaccepts asamesiteargument.:pr:
1705Response.content_security_policydata structure. :pr:1617LanguageAcceptwill 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:1507MIMEAcceptuses MIME parameters for specificity when matching.:issue:
458, :pr:1574SSLContextconfigured to verify client certificates, the certificate in PEM
format will be available as
environ["SSL_CLIENT_CERT"].:pr:
1469is_resource_modifiedwill run for methods other thanGETandHEAD, rather than always returningFalse. :issue:409SharedDataMiddlewarereturns 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:
1599response.cache_control.immutableflag. Keep in mind thatbrowser support for this
Cache-Controlheader option is stillexperimental and may not be implemented. :issue:
1185handled by Click instead of termcolor. :issue:
1235by cryptography instead of pyOpenSSL. :pr:
1555FileStorage.save()supportspathliband :pep:519PathLikeobjects. :issue:1653:issue:
1661host_matchingis enabled takes into accountthe current host when there are duplicate endpoints with different
hosts. :issue:
488429 TooManyRequestsand503 ServiceUnavailableHTTPexceptions takes a
retry_afterparameter to set theRetry-Afterheader. :issue:1657MapandRulehave amerge_slashesoption to collapsemultiple slashes into one, similar to how many HTTP servers behave.
This is enabled by default. :pr:
1286, 1694codes. :pr:
1678update,setlist, andsetlistdefaultmethods to theHeadersdata structure.extendmethod can takeMultiDictand kwargs. :pr:
1687, 1697rather than stripping off the first path segment. :issue:
491properties to the
RequestandResponsewrappers. :pr:1699Acceptvalues are no longer ordered alphabetically for equalquality tags. Instead the initial order is preserved. :issue:
1686Map.lock_classattribute for alternativeimplementations. :pr:
1702for use by async frameworks. :pr:
1709200, to be more compliant with :rfc:
7233. This may help servingmedia to older browsers. :issue:
410, 1704~middleware.shared_data.SharedDataMiddlewaredefaultfallback_mimetypeisapplication/octet-stream. If a filenamelooks like a text mimetype, the
utf-8charset is added to it.This matches the behavior of :class:
~wrappers.BaseResponseandFlask's
send_file(). :issue:1689v0.16.1Compare Source
Released 2020-01-27
:issue:
1663content. :issue:
1659v0.16.0Compare Source
Released 2019-09-19
Deprecate most top-level attributes provided by the
werkzeugmodule 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.exceptionsandwerkzeug.routingshould also be imported instead of accessed,but for technical reasons can't show a warning.
:issue:
2, :pr:1640v0.15.6Compare Source
Released 2019-09-04
Windows when the script was an entry point. This fixes the issue
with Flask's
flask runcommand failing with "No module namedScripts\flask". :issue:
1614ProxyFixtrusts theX-Forwarded-Protoheader by default.:issue:
1630num_proxiesargument toProxyFixsetsx_for,x_proto, andx_hostto match 0.14 behavior. Thisis intended to make intermediate upgrades less disruptive, but the
argument will still be removed in 1.0. :issue:
1630v0.15.5Compare Source
Released 2019-07-17
TypeErrordue to changes toast.Modulein Python 3.8.:issue:
1551releases. :issue:
1553~exceptions.BadRequestKeyErroradds theKeyErrormessage to the description if
e.show_exceptionis set toTrue. This is a more secure default than the original 0.15.0behavior and makes it easier to control without losing information.
:pr:
15921581reloader to fail. :issue:
1607setuptools script installed as an egg. :issue:
1600sys.executableeven 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:
1580SharedDataMiddlewaresafely handles paths with Windows drivenames. :issue:
1589v0.15.4Compare Source
Released 2019-05-14
SyntaxErroron Python 2.7.5. (:issue:1544)v0.15.3Compare Source
Released 2019-05-14
Python 2.7. (:issue:
1080)responseargument to :exc:~exceptions.Unauthorized.(:pr:
1527)~exceptions.Unauthorizeddoesn't add theWWW-Authenticateheader if
www_authenticateis not given. (:issue:1516)than representing them with
b''. (:issue:1502):class:
~middleware.profiler.ProfilerMiddlewareto correctly handlefloat values. (:issue:
1511)~middleware.lint.LintMiddlewareto 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.