Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django-model-utils to 5.0.0 #2570

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Sep 4, 2024

This PR updates django-model-utils from 4.2.0 to 5.0.0.

Changelog

5.0.0

------------------
- Add formal support for `Django 5.1`
- Remove MonitorField deprecation warning. `None` - instead of
`django.utils.timezone.now` will be used when nullable and no default provided (GH-599)
- Add deprecation warning for MonitorField. The default value will be `None`
instead of `django.utils.timezone.now` - when nullable and without a default.
- Add Brazilian Portuguese translation (GH-578)
- Don't use `post_init` signal for initialize tracker
- Make `contribute_to_class()` in `StatusField`, `MonitorField` and `SplitField`
forward additional arguments to Django
- `SplitField` no longer accepts `no_excerpt_field` as a keyword argument
- Make `soft` argument to `SoftDeletableModel.delete()` keyword-only
- `JoinManager` and `JoinManagerMixin` have been deprecated;
please use ``JoinQueryset.as_manager()`` instead
- Change `SoftDeletableQuerySetMixin.delete` to replicate Django's API.

4.5.1

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

- Remove `JoinQueryset.get_quoted_query()` by mthuurne (GH-618)

4.5.0

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

- Don't use `post_init` signal for initialize tracker by meanmail in -  (GH-556)
- clarify docs for managers of SoftDeletableModel by tadamcz in -  (GH-589)
- [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in -  (GH-575)
- `Language Support` - Add translations for Brazilian Portuguese by gmcrocetti in -  (GH-578)
- Remove dead `init_deferred_fields` method by joecox in -  (GH-580)
- Update where `ConnectionDoesNotExist` is imported from by mthuurne in -  (GH-566)
- Remove arguments from `InheritanceQuerySetMixin._clone()` by mthuurne in -  (GH-567)
- Allow running tests using sqlite by jayvdb in -  (GH-516)
- `MonitorField` - Change default to None when the field is nullable  by gmcrocetti in -  (GH-577)
- Explicitly re-export names from `__init__` module by mthuurne in - (GH-591)
- Switch from freezegun to time-machine. by adamchainz in -  (GH-510)
- USE_TZ = True by foarsitter in -  (GH-593)
- Remove redundant definition of `JoinManager` from tests by mthuurne in -  (GH-594)
- Pass reason to `skip` decorator by mthuurne in -  (GH-595)
- Resolve name clash among test models by mthuurne in -  (GH-596)
- Remove obsolete `tests.signals` module by mthuurne in -  (GH-597)
- Remove obsolete test models by mthuurne in -  (GH-598)
- Postgresql docker container for local development by foarsitter in -  (GH-563)
- [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in -  (GH-602)
- Add issue-manager by foarsitter in -  (GH-600)
- Translation files by foarsitter in -  (GH-608)

4.4.0

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

- Add support for `Python 3.11` (GH-545)
- Add support for `Python 3.12` (GH-545)
- Drop support for `Python 3.7` (GH-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)
- Fix ValueError when calling prefetch_related for tracked ForeignKey fields

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`

4.3.0

-----

- Never released due to packaging issues.
Links

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