Releases: ashleysommer/sanic-cors
The Sanic 19.12 comatibility release
- Fixed compatibility with Sanic 19.12
- New minimum supported sanic version is 18.12LTS
- Fixed bugs with Sanic 19.12
- Max supported sanic version for this release series is unknown for now.
- Fixed catch LookupError when request context doesn't exist
Thanks for your patience
Bugfix release
This is the last version of sanic-cors to support Sanic 0.8.3
- Update to Sanic 18.12LTS (or higher) to use future Sanic-CORS releases
Bump Sanic-Plugins-Framework to 0.8.2.post1 to fix a big.
- This is also the last version of SPF to support Sanic 0.8.3
Simplify and comment the header (CIMultidict) imports
Update for new Sanic
Finally a new Sanic is released on PyPI.
Bump min sanic to v0.8.1
Bump sanic-plugins-framework to latest
Use CIMultiDict from Sanic by default, rather than CIDict
Fix a test which broke after the CIDict change
0.9.4
Finally making a release after merging the dict change. This has been tested by quite a few people now and it seems that the majority of users prefer this change to the old version. So I'm tagging and releasing it. It just means that now all CORS headers are CASE SENSITIVE! This shouldn't be an issue for the majority of users, but if you are setting or getting the headers outside of using this plugin, then you will need to ensure you are using the correct casing for your dict keys.
0.9.3: Updates
Now rely on newer SPF and newer Sanic.
0.9.2
On Sanic 0.6.0, some exceptions can be thrown after a request has finished.
In this case, the request context has been destroyed and cannot be accessed. Added a fix for those scenarios.
0.9.1
Bumped to new version of SPF, to handle tracking multiple Request contexts at once.
Note: If you are intentionally using an older version, this release should be the earliest version that you use, all versions earlier than this rely on an older, buggy, and non-functional SPF.
Sanic-CORS ported to Sanic-Plugins-Framework
Ported Sanic-CORS to use Sanic-Plugins-Framework!
This is a big change. Some major architectural changes needed to occur.
All tests pass, so hopefully there's no fallout in any user facing way.
Updated changelog.
No longer tracking SANIC version numbers, we are doing our own versioning now.
0.6.0.2
Fixed a long-standing issue, that caused Sanic-CORS to prevent any other middleware running after Sanic-CORS was applied.
0.6.0.1: A further fix for https://github.com/ashleysommer/sanic-cors/issues/2
Fixed #2
in the case of using websockets
Fix other edge cases where response
might be None
and don't try to apply CORS to these cases
Bump to version 0.6.0.1