Releases: ashleysommer/sanic-cors
Releases · ashleysommer/sanic-cors
Compat release for Sanic v22.9.0
v2.2.0b1 - Testing fix for Sanic v22.9
Test fix for sanic v22.9
Fix support for sanic-ext v22.6.0+
2022-01-29 - v2.0.1 avoid sanic deprecation warning
remove fallback arg from error handler. fixes #57
2022-01-04 - v2.0.0 - Sanic v21.12 support, without SPTK
Compatibility with Sanic v21.12, remove usage of Sanic-Plugin-Toolkit
Simplified decorator code
Update examples
update readme
update changelog
bump copyright years
2021-10-03 - v1.0.1
Fix compat with Sanic v21.9.0+
Update sptk to 1.2.0
The One and Only
- Replace Sanic-Plugins-Framework (SPF) with Sanic-Plugin-Toolkit (SPTK)
- Remove python 3.6 compatibility
- Remove Pre-Sanic-21.3 compatibility
- If you need to use sanic <= 21.3, use the Sanic-CORS v0.10 branch
Incremental Update
Fixes another issue introduced with Sanic 19.12, where automatic_options cannot work when the router is run before the Sanic-CORS middleware
Changed automatic_options
to default to True when used in extension mode. (It was already default True in @decorator
mode).
Revoke async exception handler support
- Fixes the issue where the sanic asyncio server write_error routine cannot use an async Exception handler.
- Fixes #38 (again)
Sanic 19.12 CORS Error Handler fix
- Fixed the errors seen in Sanic 19.12+ where the CORS exception handler could be triggered
before the request context for a given request is created.- If on Sanic 19.9+ fallback to using the request.ctx object when request_context is not available
- Fixes #41