Releases: django-money/django-money
Releases · django-money/django-money
Release 3.5.2
Release 3.5.1
Release 3.5
Release 3.4.1
Release 3.4
Release 3.3
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
Release 3.2
Changed
- Explicitly define
id
indjmoney.contrib.exchange.Rate
model - This ensures that the database table will useAutoField
even ifDEFAULT_AUTO_FIELD
is set toBigAutoField
in the Django project's settings. #716
Fixed
- Downgrade
asgiref
to 3.6 to work with pypy3
Release 3.1
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 withCoalesce
inQuerySet.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)
Release 3.0
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 fromnull=...
argument toMoneyField
. #638
Fixed
- Improve the internal check for whether a currency is provided #657
- Fix test suite for django main branch #657
MoneyField
raisesTypeError
when default contains a valid amount but no currence, i.e.Money(123, None)
. #661MoneyField
supports default of typebytes
#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.