Skip to content

Scheduled weekly dependency update for week 49#259

Closed
pyup-bot wants to merge 67 commits intomasterfrom
pyup-scheduled-update-2024-12-09
Closed

Scheduled weekly dependency update for week 49#259
pyup-bot wants to merge 67 commits intomasterfrom
pyup-scheduled-update-2024-12-09

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Dec 9, 2024

Update amqp from 2.5.2 to 5.3.1.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update asgiref from 3.2.5 to 3.8.1.

Changelog

3.8.1

------------------

* Fixes a regression in 3.8.0 affecting nested task cancellation inside
sync_to_async.

3.8.0

------------------

* Adds support for Python 3.12.

* Drops support for (end-of-life) Python 3.7.

* Fixes task cancellation propagation to subtasks when using synchronous Django
middleware.

* Allows nesting ``sync_to_async`` via ``asyncio.wait_for``.

* Corrects WSGI adapter handling of root path.

* Handles case where `"client"` is ``None`` in WsgiToAsgi adapter.

3.7.2

------------------

* The type annotations for SyncToAsync and AsyncToSync have been changed to
more accurately reflect the kind of callables they return.

3.7.1

------------------

* On Python 3.10 and below, the version of the "typing_extensions" package
is now constrained to be at least version 4 (as we depend on functionality
in that version and above)

3.7.0

------------------

* Contextvars are now required for the implementation of `sync` as Python 3.6
is now no longer a supported version.

* sync_to_async and async_to_sync now pass-through

* Debug and Lifespan State extensions have resulted in a typing change for some
request and response types. This change should be backwards-compatible.

* ``asgiref`` frames will now be hidden in Django tracebacks by default.

* Raw performance and garbage collection improvements in Local, SyncToAsync,
and AsyncToSync.

3.6.0

------------------

* Two new functions are added to the ``asgiref.sync`` module: ``iscoroutinefunction()``
and ``markcoroutinefunction()``.

Python 3.12 deprecates ``asyncio.iscoroutinefunction()`` as an alias for
``inspect.iscoroutinefunction()``, whilst also removing the ``_is_coroutine`` marker.
The latter is replaced with the ``inspect.markcoroutinefunction`` decorator.

The new ``asgiref.sync`` functions are compatibility shims for these
functions that can be used until Python 3.12 is the minimum supported
version.

**Note** that these functions are considered **beta**, and as such, whilst
not likely, are subject to change in a point release, until the final release
of Python 3.12. They are included in ``asgiref`` now so that they can be
adopted by Django 4.2, in preparation for support of Python 3.12.

* The ``loop`` argument to ``asgiref.timeout.timeout`` is deprecated. As per other
``asyncio`` based APIs, the running event loop is used by default. Note that
``asyncio`` provides timeout utilities from Python 3.11, and these should be
preferred where available.

* Support for the ``ASGI_THREADS`` environment variable, used by
``SyncToAsync``, is removed. In general, a running event-loop is not
available to `asgiref` at import time, and so the default thread pool
executor cannot be configured. Protocol servers, or applications, should set
the default executor as required when configuring the event loop at
application startup.

3.5.2

------------------

* Allow async-callables class instances to be passed to AsyncToSync
without warning

* Prevent giving async-callable class instances to SyncToAsync

3.5.1

------------------

* sync_to_async in thread-sensitive mode now works corectly when the
outermost thread is synchronous (214)

3.5.0

------------------

* Python 3.6 is no longer supported, and asyncio calls have been changed to
use only the modern versions of the APIs as a result

* Several causes of RuntimeErrors in cases where an event loop was assigned
to a thread but not running

* Speed improvements in the Local class

3.4.1

------------------

* Fixed an issue with the deadlock detection where it had false positives
during exception handling.

3.4.0

------------------

* Calling sync_to_async directly from inside itself (which causes a deadlock
when in the default, thread-sensitive mode) now has deadlock detection.

* asyncio usage has been updated to use the new versions of get_event_loop,
ensure_future, wait and gather, avoiding deprecation warnings in Python 3.10.
Python 3.6 installs continue to use the old versions; this is only for 3.7+

* sync_to_async and async_to_sync now have improved type hints that pass
through the underlying function type correctly.

* All Websocket* types are now spelled WebSocket, to match our specs and the
official spelling. The old names will work until release 3.5.0, but will
raise deprecation warnings.

* The typing for WebSocketScope and HTTPScope's `extensions` key has been
fixed.

3.3.4

------------------

* The async_to_sync type error is now a warning due the high false negative
rate when trying to detect coroutine-returning callables in Python.

3.3.3

------------------

* The sync conversion functions now correctly detect functools.partial and other
wrappers around async functions on earlier Python releases.

3.3.2

------------------

* SyncToAsync now takes an optional "executor" argument if you want to supply
your own executor rather than using the built-in one.

* async_to_sync and sync_to_async now check their arguments are functions of
the correct type.

* Raising CancelledError inside a SyncToAsync function no longer stops a future
call from functioning.

* ThreadSensitive now provides context hooks/override options so it can be
made to be sensitive in a unit smaller than threads (e.g. per request)

* Drop Python 3.5 support.

* Add type annotations.

3.3.1

------------------

* Updated StatelessServer to use ASGI v3 single-callable applications.

3.3.0

------------------

* sync_to_async now defaults to thread-sensitive mode being on
* async_to_sync now works inside of forked processes
* WsgiToAsgi now correctly clamps its response body when Content-Length is set

3.2.10

-------------------

* Fixed bugs due to bad WeakRef handling introduced in 3.2.8

3.2.9

------------------

* Fixed regression with exception handling in 3.2.8 related to the contextvars fix.

3.2.8

------------------

* Fixed small memory leak in local.Local
* contextvars are now persisted through AsyncToSync

3.2.7

------------------

* Bug fixed in local.Local where deleted Locals would occasionally inherit
their storage into new Locals due to memory reuse.

3.2.6

------------------

* local.Local now works in all threading situations, no longer requires
periodic garbage collection, and works with libraries that monkeypatch
threading (like gevent)
Links

Update billiard from 3.6.3.0 to 4.2.1.

Changelog

4.2.0

--------------------
- Update process.py to close during join only if process has completed.
- Adjust the __repr__ in ApplyResult.
- Remove python 3.7 from CI.
- Added Python 3.12 support.
- Fixed (co_positions): resolve issue caused by absence co_positions (395).
- Fixed: Replaced mktemp usage for Python 3 from python 2.
- Changed nose test to pytest (397) in Integration test.
- Changed nose dependency for unit test (383).

4.1.0

--------------------
- Fixed a python 2 to 3 compat issue which was missed earlier (374).
- Adde Python 3.11 primary support

4.0.2

--------------------
- ExceptionWithTraceback should be an exception.

4.0.1

--------------------
- Add support for Python 3.11 _posixsubprocess.fork_exec() arguments.
- Keep exception traceback somehow (368).

4.0.0

--------------------
- Support Sphinx 4.x.
- Remove dependency to case.
- Drop support of Python < 3.7.
- Update to psutil 5.9.0.
- Add python_requires to enforce Python version.
- Replace deprecated threading Event.isSet with Event.is_set.
- Prevent segmentation fault in get_pdeathsig while using ctypes (361).
- Migrated CI to Github actions.
- Python 3.10 support added.

3.6.4.0

--------------------
- Issue 309: Add Python 3.9 support to spawnv_passfds()
- fix 314
Links

Update boto3 from 1.12.26 to 1.35.76.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update botocore from 1.15.26 to 1.35.76.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update cachetools from 4.0.0 to 5.5.0.

Changelog

5.5.0

===================

- ``TTLCache.expire()`` returns iterable of expired ``(key, value)``
pairs.

- ``TLRUCache.expire()`` returns iterable of expired ``(key, value)``
pairs.

- Documentation improvements.

- Update CI environment.

5.4.0

===================

- Add the ``keys.typedmethodkey`` decorator.

- Deprecate ``MRUCache`` class.

- Deprecate ``func.mru_cache`` decorator.

- Update CI environment.

5.3.3

===================

- Documentation improvements.

- Update CI environment.

5.3.2

===================

- Add support for Python 3.12.

- Various documentation improvements.

5.3.1

===================

- Depend on Python >= 3.7.

5.3.0

===================

- Add ``cache_info()`` function to ``cached`` decorator.

5.2.1

===================

- Add support for Python 3.11.

- Correct version information in RTD documentation.

- ``badges/shields``: Change to GitHub workflow badge routes.

5.2.0

===================

- Add ``cachetools.keys.methodkey()``.

- Add ``cache_clear()`` function to decorators.

- Add ``src`` directory to ``sys.path`` for Sphinx autodoc.

- Modernize ``func`` wrappers.

5.1.0

===================

- Add cache decorator parameters as wrapper function attributes.

5.0.0

===================

- Require Python 3.7 or later (breaking change).

- Remove deprecated submodules (breaking change).

The ``cache``, ``fifo``, ``lfu``, ``lru``, ``mru``, ``rr`` and
``ttl`` submodules have been deleted.  Therefore, statements like

``from cachetools.ttl import TTLCache``

will no longer work. Use

``from cachetools import TTLCache``

instead.

- Pass ``self`` to ``cachedmethod`` key function (breaking change).

The ``key`` function passed to the ``cachedmethod`` decorator is
now called as ``key(self, *args, **kwargs)``.

The default key function has been changed to ignore its first
argument, so this should only affect applications using custom key
functions with the ``cachedmethod`` decorator.

- Change exact time of expiration in ``TTLCache`` (breaking change).

``TTLCache`` items now get expired if their expiration time is less
than *or equal to* ``timer()``.  For applications using the default
``timer()``, this should be barely noticeable, but it may affect the
use of custom timers with larger tick intervals.  Note that this
also implies that a ``TTLCache`` with ``ttl=0`` can no longer hold
any items, since they will expire immediately.

- Change ``Cache.__repr__()`` format (breaking change).

String representations of cache instances now use a more compact and
efficient format, e.g.

``LRUCache({1: 1, 2: 2}, maxsize=10, currsize=2)``

- Add TLRU cache implementation.

- Documentation improvements.

4.2.4

===================

- Add submodule shims for backward compatibility.

4.2.3

===================

- Add documentation and tests for using ``TTLCache`` with
``datetime``.

- Link to typeshed typing stubs.

- Flatten package file hierarchy.

4.2.2

===================

- Update build environment.

- Remove Python 2 remnants.

- Format code with Black.

4.2.1

===================

- Handle ``__missing__()`` not storing cache items.

- Clean up ``__missing__()`` example.

4.2.0

===================

- Add FIFO cache implementation.

- Add MRU cache implementation.

- Improve behavior of decorators in case of race conditions.

- Improve documentation regarding mutability of caches values and use
of key functions with decorators.

- Officially support Python 3.9.

4.1.1

===================

- Improve ``popitem()`` exception context handling.

- Replace ``float('inf')`` with ``math.inf``.

- Improve "envkey" documentation example.

4.1.0

===================

- Support ``user_function`` with ``cachetools.func`` decorators
(Python 3.8 compatibility).

- Support ``cache_parameters()`` with ``cachetools.func`` decorators
(Python 3.9 compatibility).
Links

Update celery from 4.4.2 to 5.4.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update certifi from 2019.11.28 to 2024.8.30.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update chardet from 3.0.4 to 5.2.0.

Changelog

5.2.0

Adds support for running chardet CLI via `python -m chardet` (0e9b7bc20366163efcc221281201baff4100fe19, dan-blanchard)

5.1.0

Features
- Add `should_rename_legacy` argument to most functions, which will rename older encodings to their more modern equivalents (e.g., `GB2312` becomes `GB18030`) (264, dan-blanchard)
- Add capital letter sharp S and ISO-8859-15 support (222, SimonWaldherr)
- Add a prober for MacRoman encoding (5 updated as c292b52a97e57c95429ef559af36845019b88b33, Rob Speer and dan-blanchard )
- Add `--minimal` flag to `chardetect` command (214, dan-blanchard)
- Add type annotations to the project and run mypy on CI (261, jdufresne)
- Add support for Python 3.11 (274, hugovk)

Fixes
- Clarify LGPL version in License trove classifier (255, musicinmybrain)
- Remove support for EOL Python 3.6 (260, jdufresne)
- Remove unnecessary guards for non-falsey values (259, jdufresne)

Misc changes
- Switch to Python 3.10 release in GitHub actions (257, jdufresne)
- Remove setup.py in favor of build package (262, jdufresne)
- Run tests on macos, Windows, and 3.11-dev (267, dan-blanchard)

5.0.0

⚠️ This release is the first release of chardet that no longer supports Python < 3.6 ⚠️

In addition to that change, it features the following user-facing changes:

- Added a prober for Johab Korean (207, grizlupo)
- Added a prober for UTF-16/32 BE/LE (109, 206, jpz) 
- Added test data for Croatian, Czech, Hungarian, Polish, Slovak, Slovene, Greek, and Turkish, which should help prevent future errors with those languages
- Improved XML tag filtering, which should improve accuracy for XML files (208)
- Tweaked `SingleByteCharSetProber` confidence to match latest uchardet (209)
- Made `detect_all` return child prober confidences (210)
- Updated examples in docs (223, domdfcoding)
- Documentation fixes (212, 224, 225, 226, 220, 221, 244 from too many to mention)
- Minor performance improvements (252, deedy5)
- Add support for Python 3.10 when testing (232, jdufresne)
- Lots of little development cycle improvements, mostly thanks to jdufresne

4.0.0

Benchmarking chardet 4.0.0 on CPython 3.7.5 (default, Sep  8 2020, 12:19:42)
[Clang 11.0.3 (clang-1103.0.32.62)]
--------------------------------------------------------------------------------
.......................................................................................................................................................................................................................................................................................................................................................................
Calls per second for each encoding:
Links

Update defusedxml from 0.6.0 to 0.7.1.

Changelog

0.7.1

----------------

*Release date: 08-Mar-2021*

- Fix regression ``defusedxml.ElementTree.ParseError`` (63)
The ``ParseError`` exception is now the same class object as
``xml.etree.ElementTree.ParseError`` again.

0.7.0

----------------

*Release date: 4-Mar-2021*

- No changes

0.7.0rc2

-------------------

*Release date: 12-Jan-2021*

- Re-add and deprecate ``defusedxml.cElementTree``
- Use GitHub Actions instead of TravisCI
- Restore ``ElementTree`` attribute of ``xml.etree`` module after patching

0.7.0rc1

-------------------

*Release date: 04-May-2020*

- Add support for Python 3.9
- ``defusedxml.cElementTree`` is not available with Python 3.9.
- Python 2 is deprecate. Support for Python 2 will be removed in 0.8.0.
Links

Update Django from 3.0.4 to 5.1.4.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update django-appconf from 1.0.3 to 1.0.6.

Changelog

1.0.4

Updates test matrix and PyPI metadata for latest versions of Django.
Links

Update django-celery-beat from 2.0.0 to 2.7.0.

Changelog

2.7.0

=====
:release-date: 2024-08-21
:release-by: Christian Clauss (cclauss)

Added
~~~~~

- Add official support for Django 5.1 (:github_pr:`761`)
- Relax Django upper version to allow version 5.1 (:github_pr:`756`)
- Add ``PeriodicTaskInline`` to the schedule admin to showing tasks using the schedule (:github_pr:`743`)

Fixed
~~~~~

- Fix display of long name day of week in admin (:github_pr:`745`)
- Fix a few French translations (:github_pr:`760`)
- Fix documentation about timezone changes (:github_pr:`769`)
- Remove usages of deprecated setuptools API ``setuptools.command.test`` (:github_pr:`771`)
- Clean up running of ``setup.py`` as it's deprecated (:github_pr:`737`)

Project infrastructure
~~~~~~~~~~~~~~~~~~~~~~

- Automate PyPI release from GitHub actions using trusted publisher (:github_pr:`749`)
- Simplify logic for minimum Python requirement (:github_pr:`765`)
- Add Ruff to pre-commit config (:github_pr:`778`)

.. _version-2.6.0:

2.6.0

=====
:release-date: 2024-03-03
:release-by: Christian Clauss (cclauss)

- Avoid crash when can not get human readable description (648).
- Update codeql-analysis.yml (653).
- Fix CI: Change assert self.app.timezone.zone to assert self.app.timezone.key (664).
- Drop Django 4.0 from CI to avoid security issues (662).
- Fix Issue 388: Celery Beat scheduled tasks may be executed repeatedly (660).
- Update README.rst (670).
- Update runtime.txt to include Django 5.0 (681).
- Replace case.patching fixture with mockeypatch + MagicMock (692).
- Update README.rst - Crontab effect description (689).
- Update supported Python & Django version in setup.py (672).
- Add Python 3.12 to test matrix and add classifier (690).
- Django v5.0: django.utils.timezone.utc alias --> datetime.timezone.utc (703).
- Upgrade GitHub Actions and PyPy 3.10 and Django 5.0 (699).
- Testing Django v5.0 on pypy-3.10-v7.3.14 passes (705).
- Prepare for release v2.6.0 to support Py3.12 and Dj5.0 (712).
- GitHub Actions: Do not hardcode an out-of-date version of PyPy (715).
- Use the same order in the admin as in the cron schedule expression (716).
- Upgrade pip and GitHub Actions dependencies with dependabot (721).
- Bump github/codeql-action from 2 to 3 (722).
- Bump actions/checkout from 3 to 4 (723).
- Update pytest requirement from <8.0,>=6.2.5 to >=6.2.5,<9.0 (724).
- Remove requirements/test-djangoXY.txt (728).
- Remove code for unsupported django.VERSION < (3, 2) (729).
- Added sphinxcontrib-django to extensions (736).


.. _version-2.5.0:

2.5.0

=====
:release-date: 2023-03-14 4:00 p.m. UTC+6:00
:release-by: Asif Saif Uddin

- Prefetch_related on PeriodicTaskQuerySet.enabled (608).
- Clarify month range (615).
- Declare support for Django 4.2 & Python 3.11.
- Adding human readable descriptions of crontab schedules (622).
- Start time heap block fix (636).


.. _version-2.4.0:

2.4.0

=====
:release-date: 2022-10-19 7:15 p.m. UTC+6:00
:release-by: Asif Saif Uddin

- Fixed error path for zh-Hans translate (548).
- Django>=3.2,<4.2 (567).
- fix: downgrade importlib-metadata<5.0 until celery 5.3.0 release.
- Fixed signals can not connect to OneToOneField (572) (573).
- Remove superseded ExtendedQuerySet as it's functionality is built in.
- Wrapped fieldset labels of PeriodicTaskAdmin around gettext_lazy.
- fix: update PeriodicTask from entry (344).


.. _version-2.3.0:

2.3.0

=====
:release-date:
:release-by:

- Admin "disable_tasks" action also updates PeriodicTask's last_run_at field
- feat: add periodic_task_name in favor of celery/django-celery-results
- Fix ClockedSchedule and PeriodicTasks showing UTC time when Time Zone
- Change last_run_at=None when using disable tasks admin action (501)
- fix the conflict with celery configuration (525)
- A unit Test to make sure ClockedSchedule and PeriodicTasks are shown
- Django 4.0 and Python 3.10 support (528)


.. _version-2.2.1:

2.2.1

=====
:release-date: 2021-07-02 11:15 a.m. UTC+6:00
:release-by: Asif Saif Uddin

- Require celery>=5.0,<6.0
- Enable Django 3.2 CI and add default_auto_field
- Fix locale in dir tree
- Do not blindly delete duplicate schedules (389)
- Use `python:3.8-slim` for lighter builds

.. _version-2.2.0:

2.2.0

=====
:release-date: 2021-01-19 2:30 p.m. UTC+6:00
:release-by: Asif Saif Uddin

- Fixed compatibility with django-timezone-field>=4.1.0
- Fixed deprecation warnings: 'assertEquals' in tests.
- Fixed SolarSchedule event choices i18n support.
- Updated 'es' .po file metadata
- Update 'fr' .po file metadata
- New schema migrations for SolarSchedule events choices changes in models.

.. _version-2.1.0:

2.1.0

=====
:release-date: 2020-10-20
:release-by: Asif Saif Uddin

- Fix string representation of CrontabSchedule, so it matches UNIX CRON expression format (318)
- If no schedule is selected in PeriodicTask form, raise a non-field error instead of an error bounded to the `interval` field (327)
- Fix some Spanish translations (339)
- Log "Writing entries..." message as DEBUG instead of INFO (342)
- Use CELERY_TIMEZONE setting as `CrontabSchedule.timezone` default instead of UTC (346)
- Fix bug in ClockedSchedule that made the schedule stuck after a clocked task was executed. The `enabled` field of ClockedSchedule has been dropped (341)
- Drop support for Python < 3.6 (368)
- Add support for Celery 5 and Django 3.1 (368)

.. _version-2.0.0:
Links

Update django-celery-results from 1.2.1 to 2.5.1.

Changelog

2.5.1

=====
:release-date: 2023-05-08 8:15 P.M. UTC+6:00
:release-by: Asif Saif Uddin

- Revert "feat: raw delete expired instead of Queryset.delete (235)" partially.


.. _version-2.5.0:

2.5.0

=====
:release-date: 2023-03-13 5:45 P.M. UTC+6:00
:release-by: Asif Saif Uddin

- try possible fix to avoid a oracle regression (325).
- Added periodic_task_name to admin fieldset for parity with list view.
- Only update the ChordCounter.count field when saving.
- Meta injection (366).


.. _version-2.4.0:

2.4.0

=====
:release-date: 2022-06-29 4:30 P.M. UTC+6:00
:release-by: Asif Saif Uddin

- Fix [315] Save args, kwargs and other extended props only when result_extended config is set to True.
- Fix atomic transaction not routing to the the correct DB (324).
- Drop django 2.2 from matrix


.. _version-2.3.1:

2.3.1

=====
:release-date: 2022-04-17 12:50 P.M. UTC+6:00
:release-by: Asif Saif Uddin

- Remove hard dependency on psycopg2.
- Fix 296 Stop producing a universal wheel, python 2 is unspported.
- fix: The description content type for setuptools needs to be rst to markdown.


.. _version-2.3.0:

2.3.0

=====
:release-date: 2022-03-01 1:45 p.m. UTC+6:00
:release-by: Asif Saif Uddin

- Fix default_app_config deprecation (221)
- Use string values for django-cache keys 230 (242)
- feat: raw delete expired instead of Queryset.delete (235)
- Fix ``pydoc.ErrorDuringImport`` problem in django_celery_results url
- Russian language support (255)
- Add Simplified Chinese translation strings.
- Minor code clean up
- feat: add periodic_task_name (261)
- Update CI with django 4.0 (272)
- Add translation of the messages to brazilian portuguese (278)
- Fix properties default value (281)
- Work around Oracle migration instability
- Fix field size for MySQL (285)
- Update python & pypy min version (291)
- bum min pytest versions


.. _version-2.2.0:

2.2.0

=====
:release-date: 2021-07-02 11:00 a.m. UTC+6:00
:release-by: Asif Saif Uddin

- add new urls with nouns first structure (216)
- Remove duplicate indexes
- fix group status view return data, add tests for it (215)
- typo fix (218)
- Use the DJANGO_CELERY_RESULTS_TASK_ID_MAX_LENGTH for group_id/task_id
- Minor code clean up

.. _version-2.1.0:

2.1.0

=====
:release-date: 2021-06-14 09:00 p.m. UTC+6:00
:release-by: Asif Saif Uddin

- Don't raise an error when ChordCounter is not found
- add default_auto_field to apps.py
- Use the provided chord_size when available
- Match apply_chord call signature to Celery 5.1
- Add support for GroupResult (161)
- Minor code clean up

.. _version-2.0.1:

2.0.1

=====
:release-date: 2021-01-19 07:30 p.m. UTC+6:00
:release-by:

- Fix backward compatibility in DatabaseBackend._store_result function
- Fix 'args' and 'kwargs' propiertes of AsyncResult for DatabaseBackend
- Fix task_args/task_kwargs in task_protocol=1
- Test refactors
- Add task_args and task_kwargs to admins searchable fields (182)

.. _version-2.0.0:

2.0.0

=====
:release-date:
:release-by:

- Add Spanish translations (134)
- Add support for Django 3.0 and 3.1 (145, 163)
- Add support for Celery 5 (163)
- Drop support for Django < 2.2 (147, 152)
- Drop support for Python < 3.6 (146, 147, 152)
- Add Chord syncronisation from the database (144)
- Encode `task_args` and `task_kwargs` of `TaskResult` using `json.dumps` instead of using `str` (78)

.. _version-1.1.2:
Links

Update django-cors-headers from 3.2.1 to 4.6.0.

Changelog

4.6.0

------------------

* Drop Django 3.2 to 4.1 support.

4.5.0

------------------

* Drop Python 3.8 support.

* Support Python 3.13.

4.4.0

------------------

* Support Django 5.1.

4.3.1

------------------

* Fixed ASGI compatibility on Python 3.12.

Thanks to Adrian Capitanu for the report in `Issue 908 <https://github.com/adamchainz/django-cors-headers/issues/908>`__ and Rooyal in `PR #911 <https://github.com/adamchainz/django-cors-headers/pull/911>`__.

4.3.0

------------------

* Avoid adding the ``access-control-allow-credentials`` header to unallowed responses.

Thanks to Adam Romanek in `PR 888 <https://github.com/adamchainz/django-cors-headers/pull/888>`__.

* Support Django 5.0.

4.2.0

------------------

* Drop Python 3.7 support.

4.1.0

------------------

* Support Python 3.12.

4.0.0

------------------

* Add ``CORS_ALLOW_PRIVATE_NETWORK`` setting, which enables support for the Local Network Access draft specification.

Thanks to Issac Kelly in `PR 745 <https://github.com/adamchainz/django-cors-headers/pull/745>`__ and jjurgens0 in `PR #833 <https://github.com/adamchainz/django-cors-headers/pull/833>`__.

* Remove three headers from the default "accept list": ``accept-encoding``, ``dnt``, and ``origin``.
These are `Forbidden header names <https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name>`__, which means requests JavaScript can never set them.
Consequently, allowing them via CORS has no effect.

Thanks to jub0bs for the report in `Issue 842 <https://github.com/adamchainz/django-cors-headers/issues/842>`__.

* Drop the ``CORS_REPLACE_HTTPS_REFERER`` setting and ``CorsPostCsrfMiddleware``.
Since Django 1.9, the ``CSRF_TRUSTED_ORIGINS`` setting has been the preferred solution to making CSRF checks pass for CORS requests.
The removed setting and middleware only existed as a workaround for Django versions before 1.9.

* Add async support to the middleware, reducing overhead on async views.

3.14.0

-------------------

* Support Django 4.2.

* 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 <https://github.com/adamchainz/django-cors-headers/pull/793>`__.

3.13.0

-------------------

* Support Python 3.11.

* Support Django 4.1.

3.12.0

-------------------

* Drop support for Django 2.2, 3.0, and 3.1.

3.11.0

-------------------

* Drop Python 3.6 support.

3.10.1

-------------------

* Prevent a crash when an invalid ``Origin`` header is sent.

Thanks to minusf for the report in `Issue 701 <https://github.com/adamchainz/django-cors-headers/issues/701>`__.

3.10.0

-------------------

* Support Python 3.10.

3.9.0

------------------

* Support Django 4.0.

3.8.0

------------------

* Add type hints.

* Stop distributing tests to reduce package size. Tests are not intended to be
run outside of the tox setup in the repository. Repackagers can use GitHub's
tarballs per tag.

3.7.0

------------------

* Support Django 3.2.

3.6.0

------------------

* Drop Python 3.5 support.
* Support Python 3.9.

3.5.0

------------------

* Following Django’s example in
`Ticket 31670 <https://code.djangoproject.com/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.

3.4.0

------------------

* Add Django 3.1 support.

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.
Links

Update django-environ from 0.4.5 to 0.11.2.

Changelog

0.11.2

-------------------------------
Fixed
+++++
- Revert "Add variable expansion." feature
due to `490 <https://github.com/joke2k/django-environ/issues/490>`_.

0.11.1

---------------------------
Fixed
+++++
- Revert "Add interpolate argument to avoid resolving proxied values." feature
due to `485 <https://github.com/joke2k/django-environ/issues/485>`_.

0.11.0

---------------------------
Added
+++++
- Added support for Django 4.2
`456 <https://github.com/joke2k/django-environ/pull/456>`_.
- Added support for secure Elasticsearch connections
`463 <https://github.com/joke2k/django-environ/pull/463>`_.
- Added variable expansion
`468 <https://github.com/joke2k/django-environ/pull/468>`_.
- Added capability to handle comments after , after quoted values,
like ``KEY= 'part1  part2'  comment``
`475 <https://github.com/joke2k/django-environ/pull/475>`_.
- Added support for ``interpolate`` parameter
`415 <https://github.com/joke2k/django-environ/pull/415>`_.

Changed
+++++++
- Used ``mssql-django`` as engine for SQL Server
`446 <https://github.com/joke2k/django-environ/pull/446>`_.
- Changed handling bool values, stripping whitespace around value
`475 <https://github.com/joke2k/django-environ/pull/475>`_.
- Use ``importlib.util.find_spec`` to ``replace pkgutil.find_loader``
`482 <https://github.com/joke2k/django-environ/pull/482>`_.


Removed
+++++++
- Removed support of Python 3.5.

0.10.0

-------------------------
Added
+++++
- Use the core redis library by default if running Django >= 4.0
`356 <https://github.com/joke2k/django-environ/issues/356>`_.
- Value of dict can now contain an equal sign
`241 <https://github.com/joke2k/django-environ/pull/241>`_.
- Added support for Python 3.11.
- Added ``CONN_HEALTH_CHECKS`` to database base options
`413 <https://github.com/joke2k/django-environ/issues/413>`_.
- Added ``encoding`` parameter to ``read_env`` with default value 'utf8'
`442 <https://github.com/joke2k/django-environ/pull/442>`_.
- Added support for Django 4.1
`416 <https://github.com/joke2k/django-environ/issues/416>`_.

Deprecated
++++++++++
- Support of Python < 3.6 is deprecated and will be removed
in next major version.

Changed
+++++++
- Used UTF-8 as a encoding when open ``.env`` file.
- Provided access to ``DB_SCHEMES`` through ``cls`` rather than
``Env`` in ``db_url_config``
`414 <https://github.com/joke2k/django-environ/pull/414>`_.
- Correct CI workflow to use supported Python versions/OS matrix
`441 <https://github.com/joke2k/django-environ/pull/441>`_.
- Reworked trigger CI workflows strategy
`440 <https://github.com/joke2k/django-environ/pull/440>`_.

Fixed
+++++
- Fixed logic of ``Env.get_value()`` to skip parsing only when
``default=None``, not for all default values that coerce to ``False``
`404 <https://github.com/joke2k/django-environ/issues/404>`_.
- Deleted duplicated include in docs/quickstart.rst
`439 <https://github.com/joke2k/django-environ/pull/439>`_.

Removed
+++++++
- Removed deprecated ``Env.unicode()``.
- Removed ``environ.register_schemes`` calls and do not modify global
``urllib.parse.urlparse``'s ``uses_*`` variables as this no longer needed
`246 <https://github.com/joke2k/django-environ/pull/246>`_.

0.9.0

------------------------
Added
+++++
- Added support for Postgresql cluster URI
`355 <https://github.com/joke2k/django-environ/pull/355>`_.
- Added support for Django 4.0
`371 <https://github.com/joke2k/django-environ/issues/371>`_.
- Added support for prefixed variables
`362 <https://github.com/joke2k/django-environ/issues/362>`_.
- Amended documentation.

Deprecated
++++++++++
- ``Env.unicode()`` is deprecated and will be removed in the next
major release. Use ``Env.str()`` instead.

Changed
+++++++
- Attach cause to ``ImproperlyConfigured`` exception
`360 <https://github.com/joke2k/django-environ/issues/360>`_.

Fixed
+++++
- Fixed ``_cast_urlstr`` unquoting
`357 <https://github.com/joke2k/django-environ/issues/357>`_.
- Fixed documentation regarding unsafe characters in URLs
`220 <https://github.com/joke2k/django-environ/issues/220>`_.
- Fixed ``environ.Path.__eq__()`` to compare paths correctly
`86 <https://github.com/joke2k/django-environ/issues/86>`_,
`197 <https://github.com/joke2k/django-environ/issues/197>`_.

0.8.1

---------------------------
Fixed
+++++
- Fixed "Invalid line" spam logs on blank lines in env file
`340 <https://github.com/joke2k/django-environ/issues/340>`_.
- Fixed ``memcache``/``pymemcache`` URL parsing for correct identification of
connection type `337 <https://github.com/joke2k/django-environ/issues/337>`_.

0.8.0

---------------------------
Added
+++++
- Log invalid lines when parse ``.env`` file
`283 <https://github.com/joke2k/django-environ/pull/283>`_.
- Added docker-style file variable support
`189 <https://github.com/joke2k/django-environ/issues/189>`_.
- Added option to override existing variables with ``read_env``
`103 <https://github.com/joke2k/django-environ/issues/103>`_,
`249 <https://github.com/joke2k/django-environ/issues/249>`_.
- Added support for empty var with None default value
`209 <https://github.com/joke2k/django-environ/issues/209>`_.
- Added ``pymemcache`` cache backend for Django 3.2+
`335 <https://github.com/joke2k/django-environ/pull/335>`_.

Fixed
+++++
- Keep newline/tab escapes in quoted strings
`296 <https://github.com/joke2k/django-environ/pull/296>`_.
- Handle escaped dollar sign in values
`271 <https://github.com/joke2k/django-environ/issues/271>`_.
- Fixed incorrect parsing of ``DATABASES_URL`` for Google Cloud MySQL
`294 <https://github.com/joke2k/django-environ/issues/294>`_.

0.7.0

------------------------------
Added
+++++
- Added support for negative float strings
`160 <https://github.com/joke2k/django-environ/issues/160>`_.
- Added Elasticsearch5 to search scheme
`297 <https://github.com/joke2k/django-environ/pull/297>`_.
- Added Elasticsearch7 to search scheme
`314 <https://github.com/joke2k/django-environ/issues/314>`_.
- Added the ability to use ``bytes`` or ``str`` as a default value for ``Env.bytes()``.

Fixed
+++++
- Fixed links in the documentation.
- Use default option in ``Env.bytes()``
`206 <https://github.com/joke2k/django-environ/pull/206>`_.
- Safely evaluate a string containing an invalid Python literal
`200 <https://github.com/joke2k/django-environ/issues/200>`_.

Changed
+++++++
- Added 'Funding' and 'Say Thanks!' project urls on pypi.
- Stop raising ``UserWarning`` if ``.env`` file isn't found. Log a message with
``INFO`` log level instead `243 <https://github.com/joke2k/django-environ/issues/243>`_.

0.6.0

----------------------------
Added
+++++
- Python 3.9, 3.10 and pypy 3.7 are now supported.
- Django 3.1 and 3.2 are now supported.
- Added missed classifiers to ``setup.py``.
- Accept Python 3.6 path-like objects for ``read_env``
`106 <https://github.com/joke2k/django-environ/issues/106>`_,
`286 <https://github.com/joke2k/django-environ/issues/286>`_.

Fixed
+++++
- Fixed various code linting errors.
- Fixed typos in the documentation.
- Added missed files to the package contents.
- Fixed ``db_url_config`` to work the same for all postgres-like schemes
`264 <https://github.com/joke2k/django-environ/issues/264>`_,
`268 <https://github.com/joke2k/django-environ/issues/268>`_.

Changed
+++++++
- Refactor tests to use pytest and follow DRY.
- Moved CI to GitHub Actions.
- Restructuring of project documentation.
- Build and test package documentation as a part of CI pipeline.
- Build and test package distribution as a part of CI pipeline.
- Check ``MANIFEST.in`` in a source package for completeness as a part of CI
pipeline.
- Added ``pytest`` and ``coverage[toml]`` to setuptools' ``extras_require``.

0.5.0

--------------------------
Added
+++++
- Support for Django 2.1 & 2.2.
- Added tox.ini targets.
- Added secure redis backend URLs via ``rediss://``.
- Added ``cast=str`` to ``str()`` method.

Fixed
+++++
- Fixed misspelling in the documentation.

Changed
+++++++
- Validate empty cache url and invalid cache schema.
- Set ``long_description_content_type`` in setup.
- Improved Django 1.11 database configuration support.
Links

Update django-extensions from 2.2.8 to 3.2.3.

Changelog

3.2.2

-----

Changes:

- Improvement: Add support for psycopg3 (1814)
- Improvement: runserver_plus, autoreload on template change (1796)
- Improvement: highlighting, test_should_highlight_bash_syntax_without_name to include whitespace spans (1797)
- Improvement: tests, add Python 3.11 to tox and actions to formally support python 3.11 (1786)
- Improvement: runserver_plus, Send the file_changed event when a reload is triggered (1775)
- Improvement: runserver_plus, Add REMOTE_USER to werkzeug environment (1708)
- Improvement: pipchecker, force pip to use pkg_resources as backend for resolving distributions (1782)
- Fix: Fix error with lack of PosixPath support (1785)
- Fix: Cleanup http: links (1798)

3.2.1

-----

Changes:

- Improvement: fix translation interpolation in prospective arabic translations (1740)
- Improvement: runserver_plus, Add option to ignore files on runserver_plus reload (1762)
- Improvement: docs: Fix a few typos (1764) (1751)
- Improvement: drop python 3.5 as it is EOL (1735)
- Improvement: sqldiff, Added support for meta indexes and constraints in sqldiff. (1726)
- Improvement: show_urls, Ensure consistent output in show_urls for django 4.0+ (1759)
- Fix: dumpscript, make_aware should not be called if aware already (1745)
- Fix: Use list values for requires_system_checks (1736)

3.2.0

-----

Changes:

- Improvement: Django 4 support
- Improvement: Accept both --no-input and --noinput
- Improvement: sqldsn, Added more styles to the sqldsn management command
- Improvement: graph_models, Flag for to color code relations based on on_delete
- Improvement: graph_models, Add --relation-fields-only flag
- Improvement: RandomCharField, allow keeping default values
- Fix: HexValidator, Max length validation
- Fix: runserver_plus, Fix KeyError: 'werkzeug.server.shutdown'
- New: managestate, Saves current applied migrations to a file or applies migrations from file

3.1.5

-----

Changes:

- Fix: pipchecker, crude way slow down to avoid HTTPTooManyRequests
- Fix: pipchecker, fix for removed get_installed_distributions function

3.1.4

-----

Changes:

- Fix: set_default_site, improve django.contrib.sites application detection
- Improvement: documentation, Fix name of mixin in docs
- Improvement: mypy, type ignore backwards compatible imports
- Improvement: graph_models, add --rankdir to change graph direction
- Improvement: runserver_plus, Add --sql-truncate cli modifier
- Improvement: shell_plus, Add --sql-truncate cli modifier

3.1.3

-----

Changes:

- Fix: Django 3.2, Run tests against Django 3.2
- Fix: Django 3.2, Handle warnings for default_app_config (1654)
- Fix: sqldiff, Fix for missing field/index in model case

3.1.2

-----

Changes:

- Improvement: shell_plus, not save ipython history when using Jupyter
- Improvement: docs, fix spelling mistakes
- Improvement: tests, move to Github Actions instead of Travis
- Improvement: drop_test_database, delete all cloned test databases (1637)
- Improvement: setup.py, Added minimum Django>=2.2 version to PyPI package
- Improvement: shell_plus, fix --command globals / locals error

3.1.1.post1

-----------

Changes:

- Improvement: setup.py, Added minimum Django>=2.2 version to PyPI package

3.1.1

-----

Changes:

- Improvement: graph_models, add option --app-labels
- Improvement: shell_plus, update shell_plus for jupyterlab 3
- Improvement: tests, add Python 3.9

3.1.0

-----

Changes:

- Improvement: pipchecker, sleep 60s if pypi raises a fault
- Improvement: add django_zero_downtime_migrations to list of supported postgresql engines
- Improvement: use list of supported database engines from settings for all database commands
- Improvement: reset_db, documentation
- Fix: tests, Python 3.9 fixes for some tests
- Fix: runserver_plus, parsing of RUNSERVER_PLUS_EXTRA_FILES

3.0.9

-----

Changes:

- Improvement: runserver_plus, survive syntax and configuration errors part II
- Improvement: tests, refactor test runner
- Improvement: sqlcreate, support postgresql unix domain socket

3.0.8

-----

Changes:

- Improvement: setup.cfg, remove universal flag from wheel, we only support Python 3 and up
- Improvement: sqlcreate, fixed mentioned of old syncdb
- Fix: runserver_plus, stop catching SyntaxError since reload for it was not working properly

3.0.7

-----

Changes:

- Improvement: runserver_plus, gh 1575 survive syntax and configuration errors
- Improvement: runscript, use exit-code 1 if script is not found

3.0.6

-----

Changes:

- Improvement: runscript, add --continue-on-error unless set runscript will exit on errors
- Improvement: runscript, allow to return exit-code
- Improvement: runscript, support raise CommandError(... returncode=...)
- Improvement: runscript, run Django checks() and check_migrations() before executing scripts
- Improvement: shell_plus, set application name on all postgresql backends

3.0.5

-----

Changes:

- Fix: runserver_plus, exceptions must derive from BaseException error

3.0.4

-----

Changes:

- Various cleanups
- Deprecated using `--router` instead use `--database`
- Locales: Indonesian and Polish, updated
- Improvement: show_dsn, fix crash with django-postgres-extra
- Improvement: print_settings, added wildcard support
- Improvement: print_settings, added --fail option
- Improvement: delete_squashed_migrations, add --database option
- Improvement: runserver_plus, added RUNSERVER_PLUS_EXTRA_FILES setting
- Improvement: runserver_plus, added runserver_plus_started signal

3.0.3

-----

Changes:

- New: InternalIPS, allows to specify CIDRs for INTERNAL_IPS
- Docs: restructure toctree

3.0.2

-----

Changes:

- Fix: shell_plus, fix honouring SHELL_PLUS in settings.py

3.0.1

-----

Changes:

- Fix: setup.py, add python_requires and remove legacy trove classifiers

3.0.0

-----

This is the first Django Extensions release which only targets Django 2.2 and above.
It drops official support for Python 2.7.

Changes:

- Removal of Python 2 support
- Removal of deprecated keyczar encrypted fields EncryptedTextField and EncryptedCharField
- Removal of deprecated passwd command
- Removal of truncate_letters filter
- Change: TimeStampedModel; Removed default ordering on abstract model
- New: DjangoExtensionsConfig AppConfig
- New: shell_plus, JupyterLab support
- New: list_signals, List all signals by model and signal type
- Improvement: shell_plus, use -- to directly pass additional arguments to Jupyter
- Improvement: shell_plus, improvements to MySQL support
- Improvement: jobs, use logging to record errors
- Improvement: syncdata, added --remove-before flag
- Improvement: graph_models, add field and model to template context
- Fix: syncdata, fix non existent field in fixture data
- Fix: pipchecker, compatibility with pip 20.1

2.2.9

-----

Changes:

- Fix: shell_plus, move notebook down the list of preferred shells
- Fix: sqldiff, fix KeyError when detecting missing (unique) indexes
- Improvement: encrypted fields, make it harder to use deprecated keyczar fields
- Locale: Removed empty localizations
Links

Update django-filter from 2.2.0 to 24.3.

Changelog

24.3

-------------------------

* Adds official support for Django 5.1.

* Allow using dictionaries for grouped choices on Django 5.0+.

Thanks to Sævar Öfjörð Magnússon.

* Adds ``unknown_field_behavior`` FilterSet option to allowing warning and
ignore behaviours for unknown field types during FilterSet generation.

Thanks to Loes.

24.2

-------------------------

* Fixed a regression in v23.4 where callable choices were incorrectly evaluated
at filter instantiation, on Django versions prior to 5.0.

Thanks to Craig de Stigter for the report and reproduce.

24.1

-------------------------

* Updated supported Python and Django versions, and resolved upcoming Django
deprecations.

Required versions are now at least Python 3.8 and Django 4.2.

Thanks to Michael Manganiello.

* Allowed passing a FilterSet class to the filterset_factory().

Thanks to Birger Schacht.

* Set empty default value of filterset data to MultiValueDict.

Thanks to Shlomo Gordon.

* Preserve list values passed to the data dict in CSV widgets.

Thanks to Bryan Brancotte.

* Updates French and Ukrainian localisations.

Thanks to Weblate.

23.5

-------------------------

* Fixed OrderingFilter handling of empty values. (1628)

Thanks to Matt Munns.

23.4

-------------------------

* Official support for Django 5.0 and Python 3.12.

* Fix DeprecationWarning for pkgutil.find_loader.

Thanks to `wmorrell`.

* Adopted Furo theme for docs.

23.3

------------------------

* Adds initial compatibility with Django 5.0, prior to Django 5.0a1.

* Updates packaging to use pyproject.toml and Flit.

23.2

------------------------

* Deprecated the schema generation methods of the DRF related ``DjangoFilterBackend``.
These will be removed in version 25.1.

You should use `drf-spectacular <https://drf-spectacular.readthedocs.io/en/latest/>`_
for generating OpenAPI schemas with DRF.

* In addition, stopped testing against the (very old now) ``coreapi`` schema generation.
These methods should continue to work if you're using them until v25.1, but
``coreapi`` is no longer maintained, and is raising warnings against the current
versions of Python. To workaround this is not worth the effort at this point.

* Updated Polish translations.

23.1

------------------------

* Declared support for Django 4.2.

* Various updated and new translations. Thanks to all who contributed, and
Weblate for hosting.

* Fixed QueryArrayWidget.value_from_datadict() to not mutate input data. (1540)

22.1

------------------------

* Update supported Python and Django versions: minimal Python is now 3.7,
minimum Django is now 3.2.

* Added testing for Python 3.10 and Django 4.1.

* Removed outdated deprecated warnings for code removed in version 2.1.

* Removed `filter_class` (use `filterset_class`) and `filter_fields`
(`filterset_fields`) that were deprecated in [version 2.0
(2018)](https://django-filter.readthedocs.io/en/main/guide/migration.html#view-attributes-renamed-867).

* The code base is now formatted with Black.

21.1

------------------------

This is a maintenance release updating CI testing for the latest
non-end-of-life versions of Python and Django, and updating package metadata
accordingly.

With this release ``django-filter`` is switching to a two-part CalVer
versioning scheme, such as ``21.1``. The first number is the year. The second
is the release number within that year.

On an on-going basis, Django-Filter aims to support all current Django
versions, the matching current Python versions, and the latest version of
Django REST Framework.

Please see:

* `Status of supported Python branches <https://devguide.python.org/#status-of-python-branches>`_
* `List of supported Django versions <https://www.djangoproject.com/download/#support-versions>`_

Support for Python and Django versions will be dropped when they reach
end-of-life. Support for Python versions will dropped when they reach
end-of-life, even when still supported by a current version of Django.

Other breaking changes are rare. Where required, every effort will be made to
apply a "Year plus two" deprecation period. For example, a change initially
introduced in ``23.x`` would offer a fallback where feasible and finally be
removed in ``25.1``. Where fallbacks are not feasible, breaking changes without
deprecation will be called out in the release notes.

Beyond that change, there are few changes. Some small bugfixes, improvements to
localisation, and documentation tweaks. Thanks to all who were involved.

2.4.0

--------------------------

* SECURITY: Added a ``MaxValueValidator`` to the form field for
``NumberFilter``. This prevents a potential DoS attack if numbers with very
large exponents were subsequently converted to integers.

The default limit value for the validator is ``1e50``.

The new ``NumberFilter.get_max_validator()`` allows customising the used
validator, and may return ``None`` to disable the validation entirely.

* Added testing against Django 3.1 and Python 3.9.

In addition tests against Django main development branch are now required to
pass.

2.3.0

------------------------

* Fixed import of FieldDoesNotExist. (1127)
* Added testing against Django 3.0. (1125)
* Declared support for, and added testing against, Python 3.8. (1138)
* Fix filterset multiple inheritance bug (1131)
* Allowed customising default lookup expression. (1129)
* Drop Django 2.1 and below (1180)
* Fixed IsoDateTimeRangeFieldTests for Django 3.1
* Require tests to pass against Django `master`.
Links

Update django-guardian from 2.2.0 to 2.4.0.

Changelog

2.4.0

============================

* Add support for Python 3.9
* Add support for Django 3.1, Django 3.2
* Add parameter `any_perm` to `PermissionRequiredMixin`
* Switch from Travis CI to `GitHub Actions`_

2.3.0

===============================

* Drop support for Django 2.1
* Fix compatibility with UUIDField primary keys
* Fix formatting for pyupgrade
* Fix error with get_objects_for_user on PostgreSQL
* Modify 'assign_perm' shortcut to treat lists as a queryset
* Updated links to Django documentation and django-authority repository
* Removed reference to "easy_install" in the documentation
* Run migrations check only if required version of django is installed
Links

Update django-storages from 1.9.1 to 1.14.4.

Changelog

1.14.4

*******************

S3
--

- Pull ``AWS_SESSION_TOKEN`` from the environment (`1399`_)
- Fix newline handling for text mode files (`1381`_)
- Do not sign URLs when ``querystring_auth=False`` e.g public buckets or static files (`1402`_)
- Cache CloudFront Signers (`1417`_)

Azure
-----

- Fix ``collectstatic --clear`` (`1403`_)
- Add ``mode`` kwarg to ``.url()`` to support creation of signed URLs for upload (`1414`_)
- Fix fetching user delegation key when custom domain is enabled (`1418`_)

SFTP
----

- Add implementations of ``get_(modified|accessed)_time`` (`1347`_)

Dropbox
-------

- Add support for Python 3.12 (`1421`_)

FTP
---

- Conform to ``BaseStorage`` interface (`1423`_)
- Add ``FTP_ALLOW_OVERWRITE`` setting (`1424`_)

.. _1399: https://github.com/jschneier/django-storages/pull/1399
.. _1381: https://github.com/jschneier/django-storages/pull/1381
.. _1402: https://github.com/jschneier/django-storages/pull/1402
.. _1403: https://github.com/jschneier/django-storages/pull/1403
.. _1414: https://github.com/jschneier/django-storages/pull/1414
.. _1417: https://github.com/jschneier/django-storages/pull/1417
.. _1418: https://github.com/jschneier/django-storages/pull/1418
.. _1347: https://github.com/jschneier/django-storages/pull/1347
.. _1421: https://github.com/jschneier/django-storages/pull/1421
.. _1423: https://github.com/jschneier/django-storages/pull/1423
.. _1424: https://github.com/jschneier/django-storages/pull/1424

1.14.3

*******************

General
-------

- Add support for Django 5.0 and Python 3.12 (`1331`_)

S3
--

- **Deprecated**: The ``config`` class property has been deprecated in favor of the ``client_config`` setting,
a future version will remove support for the property.
- Fix disabling CloudFront signing with class variables (`1334`_)
- Fix ``AWS_S3_*`` environment variables lookup (`1336`_)
- Add ``client_config/AWS_S3_CLIENT_CONFIG`` to configure advanced ``botocore`` settings (`1386`_)

Google Cloud
------------

- Fix re-gzipping already gzipped files (`1366`_)

SFTP
----

- Add ``SFTP_BASE_URL`` setting (`1368`_)
- Fix saving files when ``SFTP_STORAGE_ROOT`` is set (`1372`_)

FTP
---

- Add support for FTP TLS via ``ftps`` URLs (`1320`_)
- Add support for passwords with urlchars (`1329`_)

.. _1331: https://github.com/jschneier/django-storages/pull/1331
.. _1386: https://github.com/jschneier/django-storages/pull/1386
.. _1372: https://github.com/jschneier/django-storages/pull/1372
.. _1334: https://github.com/jschneier/django-storages/pull/1334
.. _1336: https://github.com/jschneier/django-storages/pull/1336
.. _1366: https://github.com/jschneier/django-storages/pull/1366
.. _1368: https://github.com/jschneier/django-storages/pull/1368
.. _1320: https://github.com/jschneier/django-storages/pull/1320
.. _1329: https://github.com/jschneier/django-storages/pull/1329

1.14.2

*******************

S3
--

- Fix re-opening of ``S3File`` (`1321`_)
- Revert raising ``ImproperlyConfigured`` when no ``bucket_name`` is set (`1322`_)

.. _1321: https://github.com/jschneier/django-storages/pull/1321
.. _1322: https://github.com/jschneier/django-storages/pull/1322

1.14.1

*******************

Azure
-----

- Do not require both ``AccountName`` and ``AccountKey`` in ``connection_string`` (`1312`_)

S3
--

- Work around boto3 closing the uploaded file (`1303`_)
- Fix crash when cleaning up during aborted connection of ``S3File.write`` (`1304`_)
- Raise ``FileNotFoundError`` when attempting to read the ``size`` of a non-existent file (`1309`_)
- Move auth & CloudFront signer validation to init (`1302`_)
- Raise ``ImproperlyConfigured`` if no ``bucket_name`` is set (`1313`_)
- Fix tracking of ``S3File.closed`` (`1311`_)

.. _1303: https://github.com/jschneier/django-storages/pull/1303

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #260

@pyup-bot pyup-bot closed this Dec 16, 2024
@Tommos0 Tommos0 deleted the pyup-scheduled-update-2024-12-09 branch December 16, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant