uppsaladatavetare / foobar-api

The backend of the FooBar kiosk and inventory system.
MIT License
12 stars 6 forks source link

Update django-model-utils to 3.0.0 #52

Closed pyup-bot closed 6 years ago

pyup-bot commented 6 years ago

There's a new version of django-model-utils available. You are currently using 2.2. I have updated it to 3.0.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

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.
  • Add support for Django 1.11 GH-269

2.6.1


  • Fix infinite recursion with multiple MonitorField and defer() or only() on Django 1.10+. Thanks Romain Garrigues. Merge of GH-242, fixes GH-241.

  • Fix InheritanceManager and SoftDeletableManager to respect self._queryset_class instead of hardcoding the queryset class. Merge of GH-250, fixes GH-249.

  • Add mixins for SoftDeletableQuerySet and SoftDeletableManager, as stated in the the documentation.

  • Fix SoftDeletableModel.delete() to use the correct database connection. Merge of GH-239.

  • Added boolean keyword argument soft to SoftDeletableModel.delete() that revert to default behavior when set to False. Merge of GH-240.

  • Enforced default manager in StatusModel to avoid manager order issues when using abstract models that redefine objects manager. Merge of GH-253, fixes GH-251.

2.6


  • Added SoftDeletableModel abstract class, its manageer SoftDeletableManager and queryset SoftDeletableQuerySet.

  • Fix issue with field tracker and deferred FileField for Django 1.10.

2.5.2


  • Include runtests.py in sdist.

2.5.1


  • Fix InheritanceQuerySet raising an AttributeError exception under Django 1.9.

  • Django 1.10 support regressed with changes between pre-alpha and final release; 1.10 currently not supported.

2.5


  • Drop support for Python 3.2.

  • Add support for Django 1.10 pre-alpha.

  • Track foreign keys on parent models properly when a tracker is defined on a child model. Fixes GH-214.

2.4


  • Remove PassThroughManager. Use Django's built-in QuerySet.as_manager() and/or Manager.from_queryset() utilities instead.

  • Add support for Django 1.9.

2.3.1


  • Remove all translation-related automation in setup.py. Fixes GH-178 and GH-179. Thanks Joe Weiss, Matt Molyneaux, and others for the reports.

2.3


  • Keep track of deferred fields on model instance instead of on FieldInstanceTracker instance. Fixes accessing deferred fields for multiple instances of a model from the same queryset. Thanks Bram Boogaard. Merge of GH-151.

  • Fix Django 1.7 migrations compatibility for SplitField. Thanks ad-m. Merge of GH-157; fixes GH-156.

  • Add German translations.

  • Django 1.8 compatibility.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

codecov[bot] commented 6 years ago

Codecov Report

Merging #52 into develop will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #52   +/-   ##
========================================
  Coverage    91.59%   91.59%           
========================================
  Files           82       82           
  Lines         3475     3475           
  Branches       184      184           
========================================
  Hits          3183     3183           
  Misses         262      262           
  Partials        30       30

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d57529...bd3fc96. Read the comment docs.