Django Money Versions Save

Money fields for Django forms and models.

3.3

7 months ago

Fixed

  • Fix detection of necessary migrations. Note that this means that previously undetected migrations will be detected as of this version #725 (vanschelven)

Full Changelog: https://django-money.readthedocs.io/en/latest/changes.html

3.2

9 months ago

Changed

  • Explicitly define id in djmoney.contrib.exchange.Rate model - This ensures that the database table will use AutoField even if DEFAULT_AUTO_FIELD is set to BigAutoField in the Django project's settings. #716

Fixed

  • Downgrade asgiref to 3.6 to work with pypy3

3.1

1 year ago

Added

  • Python 3.11 support #700 (@sdarmofal)
  • Django 4.2 support #700 (@sdarmofal)
  • Pyright support for .pyi files #686 (@karolyi)
  • Support for Coalesce #678 (@stianjensen)

Fixed

  • Support for Money type with Coalesce in QuerySet.update() #678 (@stianjensen)
  • pre-commit config for moved flake8 repo (@sdarmofal)
  • Use latest setup-python GitHub Action #692 (@sondrelg)
  • Optimize: Rate is always 1 if source and target are equal #689 (@nschlemm)
  • Fixer.io backend: Avoid 403 errors #681 (@spaut33)

3.0

1 year ago

Changed

  • Update py-moneyed to 2.0. #638
  • Remove the deprecated Money.decimal_places_display property and argument. #638
  • Remove the deprecated CURRENCY_DECIMAL_PLACES_DISPLAY setting. #638
  • Null constraint on an implicit CurrencyField is now declared from null=... argument to MoneyField. #638

Fixed

  • Improve the internal check for whether a currency is provided #657
  • Fix test suite for django main branch #657
  • MoneyField raises TypeError when default contains a valid amount but no currence, i.e. Money(123, None). #661
  • MoneyField supports default of type bytes #661

Added

  • Add support for Django 4.0 and 4.1.
  • Add support for Python 3.10.

Removed

  • Drop support for Django 3.1.
  • Drop support for Python 3.6.

2.1.1

2 years ago

Changed

  • Renamed master branch to main (@benjaoming)

Fixed

  • Make Django REST Framework integration always raise lower-level errors as ValidationError. #601, #637 (@flaeppe)
  • False positives in Migration changes, improvements to MoneyField.deconstruct. #646, #648 (@flaeppe)

2.1

2 years ago

Added

  • Add support for Django 3.2. #612

Removed

  • Drop support for Django 1.11, 2.1 and 3.0. #612
  • Drop support for Python 3.5. #612

2.0.3

2 years ago

Fixed

  • Inconsistent Money._copy_attributes behaviour when non-Money instances are involved. #630 (@tned73)

2.0.2

2 years ago

Fixed

  • Inconsistent Money._copy_attributes behaviour. #629 @tned73