Path to this page:
Subject: CVS commit: pkgsrc/www/py-sanic
From: Adam Ciarcinski
Date: 2022-10-14 10:39:49
Message id: 20221014083949.4A445FA90@cvs.NetBSD.org
Log Message:
py-sanic: updated to 22.9.0
Version 22.9.0
Features
* Add custom loads function
* Make WebsocketImplProtocol async iterable
* Sanic Server WorkerManager refactor
* Use pathlib for path resolution (for static file serving)
* Use path.parts instead of match (for static file serving)
* Better request cancel handling
* Add request properties for HTTP method info:
request.is_safe
request.is_idempotent
request.is_cacheable
See MDN docs for more information about when these apply
* Always show server location in ASGI
* Cache control support for static files for returning 304 when appropriate
* Refactor _static_request_handler
* Add signals before and after handler execution
http.handler.before
http.handler.after
* Add [redacted] to CLI :)
* Add deprecation warning filter
* Middleware priority and performance enhancements
Bugfixes
* Prevent directory traversion with static files
* Do not apply double slash to paths in certain static dirs in Blueprints
Deprecations and Removals
* Warn on duplicate route names, will be prevented outright in v23.3
* Raise warning and deprecation notice on duplicate exceptions, will be \
prevented outright in v23.3
Developer infrastructure
* Cleanup test suite
* Replace Unsupported Python Version Number from the Contributing Doc
* Do not include tests folder in installed package resolver
Improved Documentation
* Fix a few typos
* Add some type hints
Files: