Skip to content

chore(deps): bump django-countries from 8.2.0 to 9.1.0 - #3143

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/django-countries-9.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/django-countries-9.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps django-countries from 8.2.0 to 9.1.0.

Changelog

Sourced from django-countries's changelog.

9.1.0 (11 September 2026)

Features

  • Add Django 6.1 support. Django 4.2 remains supported for now, despite reaching end of life in April 2026; it will be dropped in the next major release. (#494)
  • Rename Nauru to Naoero, falling back to the old name's translation until translators catch up. (#496)

9.0.0 (10 June 2026)

Features

  • Nullable CountryField (with null=True) now returns None instead of Country(code=None) when the database value is NULL. This makes the nullability explicit at the field level rather than inside the Country object, resulting in cleaner typing where Country.code is always a str (never None).

    Breaking change: Code that previously checked obj.country.code is None should now check obj.country is None. The common pattern if obj.country: continues to work unchanged. (#481)

  • Add Django 6.0 and Python 3.14 support. Drop Django 3.2, 5.0, 5.1 and Python 3.8, 3.9. Minimum DRF bumped to 3.14.

  • Add an opt-in Countries.sorted(locale=...) helper to return country choices sorted by translated display names.

Bugfixes

  • Fix multiple type stub issues in fields.pyi: correct return types for Country.name, Country.alpha3, Country.ioc_code (now str instead of str | None), Country.numeric (now int | None instead of str | None), and MultipleCountriesDescriptor.__iter__ (now Iterator[Country] instead of Any). Also add missing blank_label attribute and accept positional verbose_name argument in CountryField.__init__ overloads. (#483)
  • Exclude .mypy_cache directory from source distributions (was 73% of the sdist). (#490)

Improved Documentation

  • Clarify that multiple=True returns a MultipleCountriesDescriptor, not a plain list. (#485)
Commits
  • a6462d3 Preparing release 9.1.0
  • 668237c Update translations from Transifex
  • 6991134 Update English translation source file
  • c433dc1 Add Django 6.1 support
  • 1d1b5d0 Fall back to Nauru translation for Naoero
  • 8896448 Change Nauru to Naoero
  • ee82223 Preparing release 9.0.0
  • 4c391e3 Update translations from Transifex
  • 08d54b2 Update English translation source file
  • 1ada565 Add changelog fragments for 9.0.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 1, 2026
@dependabot
dependabot Bot requested a review from JacobCoffee as a code owner October 1, 2026 08:04
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 1, 2026
Bumps [django-countries](https://github.com/SmileyChris/django-countries) from 8.2.0 to 9.1.0.
- [Changelog](https://github.com/SmileyChris/django-countries/blob/main/CHANGES.md)
- [Commits](SmileyChris/django-countries@v8.2.0...v9.1.0)

---
updated-dependencies:
- dependency-name: django-countries
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/django-countries-9.1.0 branch from 3a4ecf2 to 02e089b Compare October 1, 2026 17:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants