discodo
discodo copied to clipboard
build(deps): bump sanic from 21.6.2 to 22.3.2
Bumps sanic from 21.6.2 to 22.3.2.
Release notes
Sourced from sanic's releases.
Version 22.3.2
Full Changelog: https://github.com/sanic-org/sanic/compare/v22.3.1...v22.3.2
- Resolve warning issue with error handler mismatch warning https://github.com/sanic-org/sanic/commit/3a1a9f071df24e2fe0ff5aac7d529019034fe898
Version 22.3.1
What's Changed
- Add fall back for Windows even loop fetching by
@ahopkins
in sanic-org/sanic#2421Full Changelog: https://github.com/sanic-org/sanic/compare/v22.3.0...v22.3.1
Version 22.3.0
Features
- #2347 API for multi-application server
- 🚨 BREAKING CHANGE: The old
sanic.worker.GunicornWorker
has been removed. To run Sanic withgunicorn
, you should use it thruuvicorn
as described in their docs.- 🧁 SIDE EFFECT: Named background tasks are now supported, even in Python 3.7
- #2357 Parse
Authorization
header asRequest.credentials
- #2361 Add config option to skip
Touchup
step in application startup- #2372 Updates to CLI help messaging
- #2382 Downgrade warnings to backwater debug messages
- #2396 Allow for
multidict
v0.6- #2401 Upgrade CLI catching for alternative application run types
- #2402 Conditionally inject CLI arguments into factory
- #2413 Add new start and stop event listeners to reloader process
- #2414 Remove loop as required listener arg
- #2415 Better exception for bad URL parsing
- sanic-routing#47 Add a new extention parameter type:
<file:ext>
,<file:ext=jpg>
,<file:ext=jpg|png|gif|svg>
,<file=int:ext>
,<file=int:ext=jpg|png|gif|svg>
,<file=float:ext=tar.gz>
- 👶 BETA FEATURE: This feature will not work with
path
type matching, and is being released as a beta feature only.- sanic-routing#57 Change
register_pattern
to accept astr
orPattern
- sanic-routing#58 Default matching on non-empty strings only, and new
strorempty
pattern type
- 🚨 BREAKING CHANGE: Previously a route with a dynamic string parameter (
/<foo>
or/<foo:str>
) would match on any string, including empty strings. It will now only match a non-empty string. To retain the old behavior, you should use the new parameter type:/<foo:strorempty>
.Bugfixes
- #2373 Remove
error_logger
on websockets- #2381 Fix newly assigned
None
in task registry- sanic-routing#52 Add type casting to regex route matching
- sanic-routing#60 Add requirements check on regex routes (this resolves, for example, multiple static directories with differing
host
values)Deprecations and Removals
- #2362 22.3 Deprecations and changes
debug=True
and--debug
do NOT automatically runauto_reload
- Default error render is with plain text (browsers still get HTML by default because
auto
looks at headers)config
is required forErrorHandler.finalize
ErrorHandler.lookup
requires two positional args- Unused websocket protocol args removed
- #2344 Deprecate loading of lowercase environment variables
... (truncated)
Commits
8aecbdb
Bump version3a1a9f0
Resolve warning issue with error handler mismatch warningcc97287
Add fall back for Windows even loop fetching (#2421)00218aa
22.3 Internal version bumps (#2419)874718d
Bump version and 22.3 changelog (#2418)bb44748
Fix "DeprecationWarning: There is no current event loop" (#2390)0cb342a
Better exception for bad URL parse (#2415)0309874
Add config option to skip Touchup step, for debugging purposes (#2361)f6fdc80
allow multidict version 6 (#2396)361c242
remove error_logger on websockets (#2373)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)