Skip to content

Bump django-model-utils from 4.0.0 to 4.2.0#3565

Merged
rtibbles merged 1 commit intounstablefrom
dependabot/pip/django-model-utils-4.2.0
Aug 23, 2022
Merged

Bump django-model-utils from 4.0.0 to 4.2.0#3565
rtibbles merged 1 commit intounstablefrom
dependabot/pip/django-model-utils-4.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Aug 22, 2022

Bumps django-model-utils from 4.0.0 to 4.2.0.

Release notes

Sourced from django-model-utils's releases.

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)
  • Fix performance regression of FieldTracker on FileField subclasses on Django 3.1+ (GH-#498)

4.1.1

  • Applied isort to codebase (Refs GH-402)
  • Fix TypeError in save when model inherits from both TimeStampModel and StatusModel. (Fixes GH-465)

4.1.0

  • 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()
  • FieldTracker now marks fields as not changed after refresh_from_db
  • FieldTracker now respects update_fields changed in overridden save() method
  • 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
Changelog

Sourced from django-model-utils's changelog.

4.2.0 (2021-10-11)

  • 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)
  • Fix performance regression of FieldTracker on FileField subclasses on Django 3.1+ (GH-#498)

4.1.1 (2020-12-01)

  • Applied isort to codebase (Refs GH-#402)
  • Fix TypeError in save when model inherits from both TimeStampModel and StatusModel. (Fixes GH-465)

4.1.0 (2020-11-29)

Breaking changes:

  • FieldTracker now marks fields as not changed after refresh_from_db respecting fields argument (GH-#404)
  • FieldTracker now respects update_fields changed in overridden save() method (GH-#404)
  • FieldTracker now resets states after pre_save() and not anymore save() signals, possibly altering the behaviour of overridden save() methods (GH-#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
Commits
  • 5ca515a docs: Fix Markdown formatting of CHANGES
  • b65a2ee set deafult DB_host as localhost
  • e4629a0 Prepare 4.2.0 release
  • a1920d2 Merge pull request #499 from joshuadavidthomas/python3.10
  • 6d4112e Fix performance regression: avoid pickling the whole instance when deepcopyin...
  • dd0f62b Fix QuerySet._chain for django main (post-3.2)
  • 6736a5b Update CHANGES.rst
  • 4aa1886 update trove classifiers
  • 51f8118 add 3.10 to strategy matrix and py310 to tox.ini
  • 8f4f24f fix Callable import
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-model-utils](https://github.com/jazzband/django-model-utils) from 4.0.0 to 4.2.0.
- [Release notes](https://github.com/jazzband/django-model-utils/releases)
- [Changelog](https://github.com/jazzband/django-model-utils/blob/master/CHANGES.rst)
- [Commits](jazzband/django-model-utils@4.0.0...4.2.0)

---
updated-dependencies:
- dependency-name: django-model-utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added python Pull requests that update Python code TAG: dependencies labels Aug 22, 2022
@bjester
Copy link
Copy Markdown
Member

bjester commented Aug 22, 2022

FieldTracker now respects update_fields changed in overridden save() method

The above is listed as a breaking change. Not sure if we could be affected by that

@rtibbles
Copy link
Copy Markdown
Member

We're not dynamically modifying the update_fields in our save method so this seems like it won't affect us.

@rtibbles rtibbles merged commit f55eaa3 into unstable Aug 23, 2022
@dependabot dependabot bot deleted the dependabot/pip/django-model-utils-4.2.0 branch August 23, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code TAG: dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants