Sanic-cors

Latest version: v2.2.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

1.8.0

Adds support for regular expressions in the list of origins.

This allows subdomain wildcarding and should be fully backwards compatible.

Credit to marcoqu for opening https://github.com/wcdolphin/sanic-cors/issues/54 which inspired this work

Earlier
Prior version numbers were not kept track of in this system.

1.0.1

- Fix exception handler compatibility with Sanic v21.9.0
- Bump min SPTK version requirement to v1.2.0

1.0.0

- 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

0.10.0.post3

- Fixes another issue introduced with Sanic 19.12, where automatic_options cannot work when the router is run before
the Sanic-CORS middleware

0.10.0.post2

- Fixes the issue where the sanic asyncio server write_error routine cannot use an async Exception handler.
- Fixes 38 (again)

0.10.0.post1

- 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

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.