Changelog
### 2.5.2
```
------------------
* Improve inclusion of tests in ``sdist`` to ignore ``.pyc`` files.
```
### 2.5.1
```
------------------
* Include test infrastructure in ``sdist`` to allow consumers to use it.
```
### 2.5.0
```
------------------
* Drop Django 1.8, 1.9, and 1.10 support. Only Django 1.11+ is supported now.
```
### 2.4.1
```
------------------
* Fix ``DeprecationWarning`` from importing ``collections.abc.Sequence`` on
Python 3.7.
```
### 2.4.0
```
------------------
* Always add 'Origin' to the 'Vary' header for responses to enabled URL's,
to prevent caching of responses intended for one origin being served for
another.
```
### 2.3.0
```
------------------
* Match ``CORS_URLS_REGEX`` to ``request.path_info`` instead of
``request.path``, so the patterns can work without knowing the site's path
prefix at configuration time.
```
### 2.2.1
```
------------------
* Add ``Content-Length`` header to CORS preflight requests. This fixes issues
with some HTTP proxies and servers, e.g. AWS Elastic Beanstalk.
```
### 2.2.0
```
------------------
* Django 2.0 compatibility. Again there were no changes to the actual library
code, so previous versions probably work.
* Ensured that ``request._cors_enabled`` is always a ``bool()`` - previously it
could be set to a regex match object.
```
### 2.1.0
```
------------------
* Django 1.11 compatibility. There were no changes to the actual library code,
so previous versions probably work, though they weren't properly tested on
1.11.
```
Links
- PyPI: https://pypi.org/project/django-cors-headers
- Changelog: https://pyup.io/changelogs/django-cors-headers/
- Repo: https://github.com/ottoyiu/django-cors-headers
This PR updates django-cors-headers from 2.0.2 to 2.5.2.
Changelog
### 2.5.2 ``` ------------------ * Improve inclusion of tests in ``sdist`` to ignore ``.pyc`` files. ``` ### 2.5.1 ``` ------------------ * Include test infrastructure in ``sdist`` to allow consumers to use it. ``` ### 2.5.0 ``` ------------------ * Drop Django 1.8, 1.9, and 1.10 support. Only Django 1.11+ is supported now. ``` ### 2.4.1 ``` ------------------ * Fix ``DeprecationWarning`` from importing ``collections.abc.Sequence`` on Python 3.7. ``` ### 2.4.0 ``` ------------------ * Always add 'Origin' to the 'Vary' header for responses to enabled URL's, to prevent caching of responses intended for one origin being served for another. ``` ### 2.3.0 ``` ------------------ * Match ``CORS_URLS_REGEX`` to ``request.path_info`` instead of ``request.path``, so the patterns can work without knowing the site's path prefix at configuration time. ``` ### 2.2.1 ``` ------------------ * Add ``Content-Length`` header to CORS preflight requests. This fixes issues with some HTTP proxies and servers, e.g. AWS Elastic Beanstalk. ``` ### 2.2.0 ``` ------------------ * Django 2.0 compatibility. Again there were no changes to the actual library code, so previous versions probably work. * Ensured that ``request._cors_enabled`` is always a ``bool()`` - previously it could be set to a regex match object. ``` ### 2.1.0 ``` ------------------ * Django 1.11 compatibility. There were no changes to the actual library code, so previous versions probably work, though they weren't properly tested on 1.11. ```Links
- PyPI: https://pypi.org/project/django-cors-headers - Changelog: https://pyup.io/changelogs/django-cors-headers/ - Repo: https://github.com/ottoyiu/django-cors-headers