Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version and 22.3 changelog #2418

Merged
merged 2 commits into from
Mar 30, 2022
Merged

Bump version and 22.3 changelog #2418

merged 2 commits into from
Mar 30, 2022

Conversation

ahopkins
Copy link
Member

@ahopkins ahopkins commented Mar 30, 2022

Release PRs

Version 22.3.0

Features

  • #2347 API for multi-application server
    • 🚨 BREAKING CHANGE: The old sanic.worker.GunicornWorker has been removed. To run Sanic with gunicorn, you should use it thru uvicorn as described in their docs.
    • 🧁 SIDE EFFECT: Named background tasks are now supported, even in Python 3.7
  • #2357 Parse Authorization header as Request.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

Bugfixes

  • #2373 Remove error_logger on websockets
  • #2381 Fix newly assigned None in task registry

Deprecations and Removals

  • #2362 22.3 Deprecations and changes
    1. debug=True and --debug do NOT automatically run auto_reload
    2. Default error render is with plain text (browsers still get HTML by default because auto looks at headers)
    3. config is required for ErrorHandler.finalize
    4. ErrorHandler.lookup requires two positional args
    5. Unused websocket protocol args removed
  • #2344 Deprecate loading of lowercase environment variables

Developer infrastructure

  • #2363 Revert code coverage back to Codecov
  • #2405 Upgrade tests for sanic-routing changes

Improved Documentation

  • #2350 Fix link in README for ASGI
  • #2398 Document middleware on_request and on_response
  • #2409 Add missing documentation for Request.respond

Miscellaneous

  • #2376 Fix typing for ListenerMixin.listener
  • #2383 Clear deprecation warning in asyncio.wait
  • #2387 Cleanup __slots__ implementations
  • #2390 Clear deprecation warning in asyncio.get_event_loop

@ahopkins ahopkins requested review from a team as code owners March 30, 2022 06:43
@codecov
Copy link

codecov bot commented Mar 30, 2022

Codecov Report

Merging #2418 (335a905) into main (bb44748) will decrease coverage by 0.059%.
The diff coverage is 100.000%.

@@              Coverage Diff              @@
##              main     #2418       +/-   ##
=============================================
- Coverage   87.301%   87.242%   -0.060%     
=============================================
  Files           60        60               
  Lines         5040      5040               
  Branches       907       907               
=============================================
- Hits          4400      4397        -3     
- Misses         470       472        +2     
- Partials       170       171        +1     
Impacted Files Coverage Δ
sanic/__version__.py 100.000% <100.000%> (ø)
sanic/server/protocols/http_protocol.py 84.523% <0.000%> (-3.572%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb44748...335a905. Read the comment docs.

@ahopkins ahopkins merged commit 874718d into main Mar 30, 2022
@ahopkins ahopkins deleted the 22.3-release branch March 30, 2022 12:09
ChihweiLHBird pushed a commit to ChihweiLHBird/sanic that referenced this pull request Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant