luismayta / example-django-sales

GNU Lesser General Public License v3.0
1 stars 0 forks source link

ci(deps): Update dependency django-model-utils to v4 #43

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
django-model-utils ==2.6.1 -> ==4.5.1 age adoption passing confidence

:warning: MAJOR MAJOR MAJOR :warning:


Release Notes

jazzband/django-model-utils (django-model-utils) ### [`v4.5.1`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#451-2024-05-02) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.5.0...4.5.1) - Remove `JoinQueryset.get_quoted_query()` by [@​mthuurne](https://togithub.com/mthuurne) ([GH-#​618](https://togithub.com/GH-/django-model-utils/issues/618)) ### [`v4.5.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#450-2024-04-01) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.4.0...4.5.0) - Don't use `post_init` signal for initialize tracker by [@​meanmail](https://togithub.com/meanmail) in - ([GH-#​556](https://togithub.com/GH-/django-model-utils/issues/556)) - clarify docs for managers of SoftDeletableModel by [@​tadamcz](https://togithub.com/tadamcz) in - ([GH-#​589](https://togithub.com/GH-/django-model-utils/issues/589)) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in - ([GH-#​575](https://togithub.com/GH-/django-model-utils/issues/575)) - `Language Support` - Add translations for Brazilian Portuguese by [@​gmcrocetti](https://togithub.com/gmcrocetti) in - ([GH-#​578](https://togithub.com/GH-/django-model-utils/issues/578)) - Remove dead `init_deferred_fields` method by [@​joecox](https://togithub.com/joecox) in - ([GH-#​580](https://togithub.com/GH-/django-model-utils/issues/580)) - Update where `ConnectionDoesNotExist` is imported from by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​566](https://togithub.com/GH-/django-model-utils/issues/566)) - Remove arguments from `InheritanceQuerySetMixin._clone()` by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​567](https://togithub.com/GH-/django-model-utils/issues/567)) - Allow running tests using sqlite by [@​jayvdb](https://togithub.com/jayvdb) in - ([GH-#​516](https://togithub.com/GH-/django-model-utils/issues/516)) - `MonitorField` - Change default to None when the field is nullable by [@​gmcrocetti](https://togithub.com/gmcrocetti) in - ([GH-#​577](https://togithub.com/GH-/django-model-utils/issues/577)) - Explicitly re-export names from `__init__` module by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​591](https://togithub.com/GH-/django-model-utils/issues/591)) - Switch from freezegun to time-machine. by [@​adamchainz](https://togithub.com/adamchainz) in - ([GH-#​510](https://togithub.com/GH-/django-model-utils/issues/510)) - USE_TZ = True by [@​foarsitter](https://togithub.com/foarsitter) in - ([GH-#​593](https://togithub.com/GH-/django-model-utils/issues/593)) - Remove redundant definition of `JoinManager` from tests by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​594](https://togithub.com/GH-/django-model-utils/issues/594)) - Pass reason to `@skip` decorator by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​595](https://togithub.com/GH-/django-model-utils/issues/595)) - Resolve name clash among test models by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​596](https://togithub.com/GH-/django-model-utils/issues/596)) - Remove obsolete `tests.signals` module by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​597](https://togithub.com/GH-/django-model-utils/issues/597)) - Remove obsolete test models by [@​mthuurne](https://togithub.com/mthuurne) in - ([GH-#​598](https://togithub.com/GH-/django-model-utils/issues/598)) - Postgresql docker container for local development by [@​foarsitter](https://togithub.com/foarsitter) in - ([GH-#​563](https://togithub.com/GH-/django-model-utils/issues/563)) - \[pre-commit.ci] pre-commit autoupdate by [@​pre-commit-ci](https://togithub.com/pre-commit-ci) in - ([GH-#​602](https://togithub.com/GH-/django-model-utils/issues/602)) - Add issue-manager by [@​foarsitter](https://togithub.com/foarsitter) in - ([GH-#​600](https://togithub.com/GH-/django-model-utils/issues/600)) - Translation files by [@​foarsitter](https://togithub.com/foarsitter) in - ([GH-#​608](https://togithub.com/GH-/django-model-utils/issues/608)) ### [`v4.4.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#440-2024-02-10) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.3.1...4.4.0) - Add support for `Python 3.11` ([GH-#​545](https://togithub.com/GH-/django-model-utils/issues/545)) - Add support for `Python 3.12` ([GH-#​545](https://togithub.com/GH-/django-model-utils/issues/545)) - Drop support for `Python 3.7` ([GH-#​545](https://togithub.com/GH-/django-model-utils/issues/545)) - Add support for `Django 4.2` - Add support for `Django 5.0` - Remove `SaveSignalHandlingModel`. This model used a modified copy of the internal Django method `Model.save_base()` and had not been updated for upstream bug fixes changes since its addition. - Add Swedish translation - Use proper column name instead of attname ([GH-#​573](https://togithub.com/GH-/django-model-utils/issues/573)) - Fix ValueError when calling prefetch_related for tracked ForeignKey fields ### [`v4.3.1`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#431-2022-11-15) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.2.0...4.3.1) - Confirm support for `Django 4.0` - Add Spanish translation - Add French translation - Drop Django 1.7 workaround from `select_subclasses()` - Drop support for `Django < 3.2` - Drop support for `Python 3.6` - Confirm support for `Django 4.1` ### [`v4.2.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#420-2021-10-11) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.1.1...4.2.0) - Add support for `Django 3.2` - Drop support for `Django 3.0` - Add support for `Python 3.10` - Added urlsafe token field. - Introduce context manager for FieldTracker state reset ([GH-#​491](https://togithub.com/GH-/django-model-utils/issues/491)) - Fix performance regression of FieldTracker on FileField subclasses on Django 3.1+ ([GH-#​498](https://togithub.com/GH-/django-model-utils/issues/498)) ### [`v4.1.1`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#411-2020-12-01) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.1.0...4.1.1) - Applied `isort` to codebase (Refs [GH-#​402](https://togithub.com/GH-/django-model-utils/issues/402)) - Fix `TypeError` in save when model inherits from both TimeStampModel and StatusModel. (Fixes [GH-465](https://togithub.com/jazzband/django-model-utils/issues/465)) ### [`v4.1.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#410-2020-11-29) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/4.0.0...4.1.0) **Breaking changes:** - `FieldTracker` now marks fields as not changed after `refresh_from_db` respecting `fields` argument ([GH-#​404](https://togithub.com/GH-/django-model-utils/issues/404)) - `FieldTracker` now respects `update_fields` changed in overridden `save()` method ([GH-#​404](https://togithub.com/GH-/django-model-utils/issues/404)) - `FieldTracker` now resets states after `pre_save()` and not anymore `save()` signals, possibly altering the behaviour of overridden `save()` methods ([GH-#​404](https://togithub.com/GH-/django-model-utils/issues/404)) **Other changes:** - Update InheritanceQuerySetMixin to avoid querying too much tables - TimeStampedModel now automatically adds 'modified' field as an update_fields parameter even if it is forgotten while using save() - Replace ugettext_lazy with gettext_lazy to satisfy Django deprecation warning - Add available_objects manager to SoftDeletableModel and add deprecation warning to objects manager. - StatusModel now automatically adds 'status_changed' field during save as an update_fieldsparameter when 'status' is present in it to make sure it is not forgotten. - Update test requirements - Move tests to GitHub Actions: https://github.com/jazzband/django-model-utils/actions - Drop support for `Django 2.1` - Add support for `Python 3.9` - Add support for `Django 3.1` ### [`v4.0.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#400-2019-12-11) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/3.2.0...4.0.0) - Added `Choices.subset`. - Remove hacks for previously supported Django versions. (Fixes [GH-390](https://togithub.com/jazzband/django-model-utils/issues/390)) - Dropped support for Python 2.7. (Fixes [GH-393](https://togithub.com/jazzband/django-model-utils/issues/393)) - Dropped usage of `six` - Drop support for `Django 1.11` - Add support for `Python 3.8` - Add support for `Django 3.0` ### [`v3.2.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#320-20190621) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/3.1.2...3.2.0) - Catch `AttributeError` for deferred abstract fields, fixes [GH-331](https://togithub.com/jazzband/django-model-utils/issues/331). - Update documentation to explain usage of `timeframed` model manager, fixes [GH-118](https://togithub.com/jazzband/django-model-utils/issues/118) - Honor `OneToOneField.parent_link=False`. - Fix handling of deferred attributes on Django 1.10+, fixes [GH-278](https://togithub.com/jazzband/django-model-utils/issues/278) - Fix `FieldTracker.has_changed()` and `FieldTracker.previous()` to return correct responses for deferred fields. - Add Simplified Chinese translations. - Update AutoLastModifiedField so that at instance creation it will always be set equal to created to make querying easier. Fixes [GH-254](https://togithub.com/jazzband/django-model-utils/issues/254) - Support `reversed` for all kinds of `Choices` objects, fixes [GH-309](https://togithub.com/jazzband/django-model-utils/issues/309) - Fix Model instance non picklable [GH-330](https://togithub.com/jazzband/django-model-utils/issues/330) - Fix patched `save` in FieldTracker - Upgrades test requirements (pytest, pytest-django, pytest-cov) and skips tox test with Python 3.5 and Django (trunk) - Add UUIDModel and UUIDField support. ### [`v3.1.2`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#312-20180509) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/3.1.1...3.1.2) - Update InheritanceIterable to inherit from ModelIterable instead of BaseIterable, fixes [GH-277](https://togithub.com/jazzband/django-model-utils/issues/277). - Add all_objects Manager for 'SoftDeletableModel' to include soft deleted objects on queries as per issue [GH-255](https://togithub.com/jazzband/django-model-utils/issues/255) ### [`v3.1.1`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#311-20171217) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/3.1.0...3.1.1) - Update classifiers and README via [GH-306](https://togithub.com/jazzband/django-model-utils/issues/306), fixes [GH-305](https://togithub.com/jazzband/django-model-utils/issues/305) ### [`v3.1.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#310-20171211) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/3.0.0...3.1.0) - Support for Django 2.0 via [GH-298](https://togithub.com/jazzband/django-model-utils/issues/298), fixes [GH-297](https://togithub.com/jazzband/django-model-utils/issues/297) - Remove old travis script via [GH-300](https://togithub.com/jazzband/django-model-utils/issues/300) - Fix codecov and switch to py.test [#​301](https://togithub.com/jazzband/django-model-utils/issues/301) ### [`v3.0.0`](https://togithub.com/jazzband/django-model-utils/blob/HEAD/CHANGES.rst#300-20170413) [Compare Source](https://togithub.com/jazzband/django-model-utils/compare/2.6.1...3.0.0) - Drop support for Python 2.6. - Drop support for Django 1.4, 1.5, 1.6, 1.7. - Exclude tests from the distribution, fixes [GH-258](https://togithub.com/jazzband/django-model-utils/issues/258). - Add support for Django 1.11 [GH-269](https://togithub.com/jazzband/django-model-utils/issues/269) - Add a new model to disable pre_save/post_save signals

Configuration

📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone America/Lima, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.