fix(deps): update dependency django-countries to v8.1.0 #1167
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==8.0.1->==8.1.0Release Notes
SmileyChris/django-countries (django-countries)
v8.1.0Compare Source
Features
allow_nullparameter, returningNonefor NULL values whenallow_null=True.This enables better API consistency and is particularly useful with
unique=Trueconstraints, which allow multiple NULL values but not multiple empty strings in the database. (#453)null=Trueon multiple country fields, allowing This nullable unique constraints on multiple country fields.CountryField(multiple=True, null=True)now returnsNonefor NULL database values instead of crashing and the historical system checkE100that blockedmultiple=True+null=Truehas been removed. (#453)Bugfixes
CountryFieldwhen usingcountry_dict=Trueorname_only=True. The field now correctly generates an object schema (withcodeandnameproperties) forcountry_dict=Trueand a string schema forname_only=True, instead of incorrectly generating an enum schema. This fixes schema generation for both DRF's built-in OpenAPI support and drf-spectacular, enabling accurate TypeScript client generation and other API tooling. (#441)Countries.__iter__(), delivering 20-40× speedup when displayingCountryFieldinlist_display(admin changelist now renders in <0.5s instead of 6-10s). (#454)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.