Releases: stefanfoulis/django-phonenumber-field
Releases · stefanfoulis/django-phonenumber-field
6.1.0
What's Changed
Features
- Make
formfields.PhoneNumberField
honorPHONENUMBER_DEFAULT_REGION
by @francoisfreitag in #476 - Use the default region’s format in form errors by @francoisfreitag in #483
Translations
- Update and translate uk_AR locale. by @trufanovoleh in #360
- Add persian(farsi) translation by @maktoobgar in #479
- Update turkish translations by @realsuayip in #487
Versioning
- Add support for Django 4.0 by @francoisfreitag in #478
- Drop support for Python 3.6 by @francoisfreitag in #482
Miscellaneous
- Remove unnecessary STR cast from
PhoneNumber.__repr__
by @francoisfreitag in #485 - Prefer f-string to format strings by @francoisfreitag in #484
- Cleanup import in tests by @francoisfreitag in #475
New Contributors
- @trufanovoleh made their first contribution in #360
- @maktoobgar made their first contribution in #479
Full Changelog: 6.0.0...6.1.0
6.0.0
What's Changed
- Add support for Python 3.10
- Update Czech, Dutch and pt_BR translations
Backwards incompatible changes
formfields.PhoneNumberField
with aregion
now display national phone
numbers in the national format instead ofPHONENUMBER_DEFAULT_FORMAT
.
International numbers are displayed in thePHONENUMBER_DEFAULT_FORMAT
.
New Contributors
- @maartenkling made their first contribution in #449
- @melanger made their first contribution in #454
- @willunicamp made their first contribution in #456
- @fraimondo made their first contribution in #469
Full Changelog: 5.2.0...6.0.0