75 lines
3.7 KiB
Markdown
75 lines
3.7 KiB
Markdown
## Version 22.9.1
|
|
|
|
### Features
|
|
|
|
- [#2585](https://github.com/sanic-org/sanic/pull/2585) Improved error message when no applications have been registered
|
|
|
|
|
|
### Bugfixes
|
|
|
|
- [#2578](https://github.com/sanic-org/sanic/pull/2578) Add certificate loader for in process certificate creation
|
|
- [#2591](https://github.com/sanic-org/sanic/pull/2591) Do not use sentinel identity for `spawn` compatibility
|
|
- [#2592](https://github.com/sanic-org/sanic/pull/2592) Fix properties in nested blueprint groups
|
|
- [#2595](https://github.com/sanic-org/sanic/pull/2595) Introduce sleep interval on new worker reloader
|
|
|
|
|
|
### Deprecations and Removals
|
|
|
|
|
|
### Developer infrastructure
|
|
|
|
- [#2588](https://github.com/sanic-org/sanic/pull/2588) Markdown templates on issue forms
|
|
|
|
|
|
### Improved Documentation
|
|
|
|
- [#2556](https://github.com/sanic-org/sanic/pull/2556) v22.9 documentation
|
|
- [#2582](https://github.com/sanic-org/sanic/pull/2582) Cleanup documentation on Windows support
|
|
|
|
|
|
## Version 22.9.0
|
|
|
|
### Features
|
|
|
|
- [#2445](https://github.com/sanic-org/sanic/pull/2445) Add custom loads function
|
|
- [#2490](https://github.com/sanic-org/sanic/pull/2490) Make `WebsocketImplProtocol` async iterable
|
|
- [#2499](https://github.com/sanic-org/sanic/pull/2499) Sanic Server WorkerManager refactor
|
|
- [#2506](https://github.com/sanic-org/sanic/pull/2506) Use `pathlib` for path resolution (for static file serving)
|
|
- [#2508](https://github.com/sanic-org/sanic/pull/2508) Use `path.parts` instead of `match` (for static file serving)
|
|
- [#2513](https://github.com/sanic-org/sanic/pull/2513) Better request cancel handling
|
|
- [#2516](https://github.com/sanic-org/sanic/pull/2516) Add request properties for HTTP method info:
|
|
- `request.is_safe`
|
|
- `request.is_idempotent`
|
|
- `request.is_cacheable`
|
|
- *See* [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) *for more information about when these apply*
|
|
- [#2522](https://github.com/sanic-org/sanic/pull/2522) Always show server location in ASGI
|
|
- [#2526](https://github.com/sanic-org/sanic/pull/2526) Cache control support for static files for returning 304 when appropriate
|
|
- [#2533](https://github.com/sanic-org/sanic/pull/2533) Refactor `_static_request_handler`
|
|
- [#2540](https://github.com/sanic-org/sanic/pull/2540) Add signals before and after handler execution
|
|
- `http.handler.before`
|
|
- `http.handler.after`
|
|
- [#2542](https://github.com/sanic-org/sanic/pull/2542) Add *[redacted]* to CLI :)
|
|
- [#2546](https://github.com/sanic-org/sanic/pull/2546) Add deprecation warning filter
|
|
- [#2550](https://github.com/sanic-org/sanic/pull/2550) Middleware priority and performance enhancements
|
|
|
|
### Bugfixes
|
|
|
|
- [#2495](https://github.com/sanic-org/sanic/pull/2495) Prevent directory traversion with static files
|
|
- [#2515](https://github.com/sanic-org/sanic/pull/2515) Do not apply double slash to paths in certain static dirs in Blueprints
|
|
|
|
### Deprecations and Removals
|
|
|
|
- [#2525](https://github.com/sanic-org/sanic/pull/2525) Warn on duplicate route names, will be prevented outright in v23.3
|
|
- [#2537](https://github.com/sanic-org/sanic/pull/2537) Raise warning and deprecation notice on duplicate exceptions, will be prevented outright in v23.3
|
|
|
|
### Developer infrastructure
|
|
|
|
- [#2504](https://github.com/sanic-org/sanic/pull/2504) Cleanup test suite
|
|
- [#2505](https://github.com/sanic-org/sanic/pull/2505) Replace Unsupported Python Version Number from the Contributing Doc
|
|
- [#2530](https://github.com/sanic-org/sanic/pull/2530) Do not include tests folder in installed package resolver
|
|
|
|
### Improved Documentation
|
|
|
|
- [#2502](https://github.com/sanic-org/sanic/pull/2502) Fix a few typos
|
|
- [#2517](https://github.com/sanic-org/sanic/pull/2517) [#2536](https://github.com/sanic-org/sanic/pull/2536) Add some type hints
|