File python-django-cors-headers.changes of Package python-django-cors-headers
-------------------------------------------------------------------
Tue Nov 19 12:13:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.6.0:
* Drop Django 3.2 to 4.1 support.
-------------------------------------------------------------------
Mon Oct 28 11:34:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.5.0:
* Drop Python 3.8 support.
* Support Python 3.13.
-------------------------------------------------------------------
Sat Jun 29 17:11:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.4.0:
* Support Django 5.1.
* Fixed ASGI compatibility on Python 3.12. Thanks to Adrian
Capitanu for the report in Issue #908 and Rooyal in PR #911.
* Avoid adding the access-control-allow-credentials header to
unallowed responses.
* Drop Python 3.7 support.
* Support Python 3.12.
* Add CORS_ALLOW_PRIVATE_NETWORK setting, which enables support
for the Local Network Access draft specification. Thanks to
Issac Kelly in PR #745 and jjurgens0 in PR #833.
* Switch from urlparse() to urlsplit() for URL parsing,
reducing the middleware runtime up to 5%. This changes the
type passed to origin_found_in_white_lists(), so if you have
subclassed the middleware to override this method, you should
check it is compatible (it most likely is). Thanks to Thibaut
Decombe in PR #793.
-------------------------------------------------------------------
Thu Mar 21 07:44:24 UTC 2024 - Max Lin <mlin@suse.com>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Tue Oct 11 06:24:39 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Update to v3.13.0
* Support Python 3.11.
* Support Django 4.1.
- from v3.12.0 (2022-05-10)
* Drop support for Django 2.2, 3.0, and 3.1.
- from v3.11.0 (2022-01-10)
* Drop Python 3.6 support.
- from v3.10.1 (2021-12-05)
* Prevent a crash when an invalid Origin header is sent.
- from v3.10.0 (2021-10-05)
* Support Python 3.10.
- from v3.9.0 (2021-09-28)
* Support Django 4.0.
- from v3.8.0 (2021-08-15)
* Add type hints.
* Stop distributing tests to reduce package size
-------------------------------------------------------------------
Fri Jan 7 03:47:57 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Skip Tumbleweed Python 3.6 incompatible with Django 4
-------------------------------------------------------------------
Sun May 9 23:42:20 UTC 2021 - Daniel Molkentin <daniel.molkentin@suse.com>
- Update to 3.7.0
* Support Django 3.2.
* Drop Python 3.5 support.
* Support Python 3.9.
* Following Django’s example in Ticket #31670 for replacing the
term “whitelist”, plus an aim to make the setting names more
comprehensible, the following settings have been renamed:
* CORS_ORIGIN_WHITELIST -> CORS_ALLOWED_ORIGINS
* CORS_ORIGIN_REGEX_WHITELIST -> CORS_ALLOWED_ORIGIN_REGEXES
* CORS_ORIGIN_ALLOW_ALL -> CORS_ALLOW_ALL_ORIGINS
The old names will continue to work as aliases, with the new
ones taking precedence.
-------------------------------------------------------------------
Wed Jul 1 11:31:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.4.0
* Add Django 3.1 support.
-------------------------------------------------------------------
Tue Jun 9 10:46:42 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- Update to 3.3.0
* Drop Django 1.11 support. Only Django 2.0+ is supported now.
* Drop the providing_args argument from Signal to prevent
a deprecation warning on Django 3.1.
-------------------------------------------------------------------
Mon Jan 13 12:02:30 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Build on Leap by not using the macros
-------------------------------------------------------------------
Tue Jan 7 09:31:13 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.2.1:
* Converted setuptools metadata to configuration file.
* Support Python 3.8.
-------------------------------------------------------------------
Mon Oct 7 13:06:59 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.1.1:
* Support the value file:// for origins, which is accidentally
sent by some versions of Chrome on Android.
-------------------------------------------------------------------
Mon Sep 16 11:34:48 UTC 2019 - ecsos@opensuse.org
- Fix build error for Leap.
-------------------------------------------------------------------
Mon Sep 16 09:52:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.1.0:
* Drop Python 2 support, only Python 3.5-3.7 is supported now.
* Fix all links for move from github.com/ottoyiu/django-cors-headers to
github.com/adamchainz/django-cors-headers.
* Add a hint to the corsheaders.E013 check to make it more obvious how to resolve it.
* Allow 'null' in CORS_ORIGIN_WHITELIST check.
* CORS_ORIGIN_WHITELIST now requires URI schemes, and optionally ports
* Removed the CORS_MODEL setting, and associated class
-------------------------------------------------------------------
Mon May 6 11:33:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.5.3:
* Tested on Django 2.2. No changes were needed for compatibility.
* Tested on Python 3.7. No changes were needed for compatibility.
-------------------------------------------------------------------
Tue Mar 19 08:43:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.5.2:
* Improve inclusion of tests in sdist to ignore .pyc files.
-------------------------------------------------------------------
Fri Mar 15 04:04:25 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Use PyPI sdist
- Update to v2.5.1
* Include test infrastructure in sdist
-------------------------------------------------------------------
Sun Mar 10 03:18:21 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove %bcond and add %check, with 100% coverage
- Update to v2.5.0
* Drop Django 1.8, 1.9, and 1.10 support. Django 1.11+ is supported.
- from v2.4.1
* Fix DeprecationWarning from importing collections.abc.Sequence
on Python 3.7.
-------------------------------------------------------------------
Sun Feb 26 03:18:21 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add Django dependency
- Use %license
- Update to v2.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.
- from v2.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.
- from v2.2.1
* Add ``Content-Length`` header to CORS preflight requests.
This fixes issues with some HTTP proxies and servers,
e.g. AWS Elastic Beanstalk.
- from v2.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.
-------------------------------------------------------------------
Tue Aug 8 19:50:31 UTC 2017 - mardnh@gmx.de
- Initial package, version 2.1.0