Skip to content

core: bump django-countries from 7.6.1 to 8.2.0#19459

Merged
BeryJu merged 3 commits intomainfrom
dependabot/uv/django-countries-8.2.0
Feb 17, 2026
Merged

core: bump django-countries from 7.6.1 to 8.2.0#19459
BeryJu merged 3 commits intomainfrom
dependabot/uv/django-countries-8.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2026

Bumps django-countries from 7.6.1 to 8.2.0.

Changelog

Sourced from django-countries's changelog.

8.2.0 (25 November 2025)

Features

  • Add django_countries.django_filters.CountryFilter for django-filters integration with support for custom empty_label. This filter automatically sets country choices and seamlessly integrates with django-filters FilterSets, making it easier to add country filtering to your views. (#307)

  • Enable CountryFieldMixin to accept name_only, country_dict, and output customization options via Meta.extra_kwargs. You can now configure country field serialization behavior without explicitly declaring serializer fields, making it easier to customize output for both single and multiple country fields. (#414)

  • CountryField(country_dict=...) now accepts either a boolean (existing behaviour) or an iterable/string of keys so you can control exactly which values appear in the serialized country dict (for example ("code", "name", "alpha3") or just "alpha3"). (#416)

  • Add COUNTRIES_FIRST_BY_LANGUAGE and COUNTRIES_FIRST_AUTO_DETECT settings for dynamic country ordering based on user language. Countries can now be automatically reordered based on the current language, with locale-based auto-detection (e.g., fr-CA users see Canada prepended to the French country group). (#418)

  • Add support for custom flag_url in COUNTRIES_OVERRIDE setting. You can now specify a custom flag URL for overridden countries:

    COUNTRIES_OVERRIDE = {
        "IND": {
            "names": ["Indonesia"],
            "ioc_code": "INA",
            "flag_url": "flags/id.gif",
        },
    }

    This is particularly useful when using custom country codes that need to reference existing flag images. (#449)

  • Add countries_context() context manager for temporary, thread-local override of country configuration options. Supports all country options (first, only, first_sort, first_repeat, first_break, first_by_language, first_auto_detect), enabling per-request customization based on user preferences, IP geolocation, or other dynamic factors. Each option independently overrides its corresponding setting with the highest priority.

Bugfixes

  • Fix CountryField serializer to respect current language when deserializing localized country names. The field now automatically uses Django's get_language() to detect the active language and falls back to English if the country name is not found in the current language. (#407)
  • Fixed CountryFilter to support filtering on CountryField through relations (e.g., list_filter = [("contact__country", CountryFilter)]). Previously this would fail with a FieldError. (#432)
  • Fixed CountryFilter admin filter to work correctly with CountryField(multiple=True). The filter now uses the __contains lookup instead of exact matching to properly find records where the selected country appears in the comma-separated country list. (#445)
  • Added support for empty_label parameter in CountryField.formfield() to customize the blank choice label in form fields. This allows using empty_label="" for an empty label or empty_label="Custom text" for custom text, resolving the issue where empty_label was previously ignored. (#466)
  • Fixed type annotation for CountryField.countries parameter in stub file to accept type[Countries] instead of Countries instance, resolving mypy errors when using custom Countries subclasses. Also removed unnecessary exclusion of tests from mypy checking. (#482)

Misc

  • Refactored deployment script from bash (244 lines) to Python using click for better maintainability and testability. The script is now in scripts/deploy.py with these improvements:

    • Interactive mode: Run just deploy without arguments to get an interactive prompt showing version options (e.g., "8.1.1 → 8.2.0")
    • Enhanced dry-run: DRY_RUN=1 now validates package builds, documentation builds, runs pre-commit checks, shows full changelog preview, checks PyPI for existing versions, displays translation status, and checks for uncommitted changes (same as real run)
    • Comprehensive summary: Shows a detailed list of completed steps at the end of each run
    • Allow dirty: --allow-dirty flag to bypass git status check when needed (not recommended for production)
    • Better error handling: Clear error messages with proper exception types
    • Colorful output: Uses click's styling for better readability

8.1.1 (18 November 2025)

Bugfixes

  • Fixed CountryField(multiple=True) not marking selected options in Django forms. (#480)

... (truncated)

Commits
  • e40f591 Preparing release 8.2.0
  • 6ee30f8 Update English translation source file
  • 2b43e3d Fix CountryFilter to support filtering through relations (issue #432)
  • 6917e2a Fix legacy test compatibility and achieve 100% test coverage
  • 3b47112 Add browser language detection tests for COUNTRIES_FIRST_AUTO_DETECT
  • 7bfef7e Fix test_dynamic_first tests to skip when i18n is disabled
  • 6a8389b Add .pre-commit-cache/ to .gitignore
  • 04def8c Add deploy_docs command and standardize version markers
  • a3eaa92 Add documentation guidance for version markers in CLAUDE.md
  • 7994bbe Update documentation for deployment script and reset version markers
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 14, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 14, 2026 22:59
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 14, 2026
@netlify
Copy link

netlify bot commented Jan 14, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 4d4cd4f
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69681fdcf0aa4e0007504f52
😎 Deploy Preview https://deploy-preview-19459--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.59%. Comparing base (ef8a325) to head (4bec67c).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

❗ There is a different number of reports uploaded between BASE (ef8a325) and HEAD (4bec67c). Click for more details.

HEAD has 18 uploads less than BASE
Flag BASE (ef8a325) HEAD (4bec67c)
e2e 10 5
unit 10 5
unit-migrate 10 4
conformance 2 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main   #19459       +/-   ##
===========================================
- Coverage   93.32%   67.59%   -25.74%     
===========================================
  Files         981      981               
  Lines       55134    55134               
===========================================
- Hits        51453    37266    -14187     
- Misses       3681    17868    +14187     
Flag Coverage Δ
conformance ?
e2e 40.42% <ø> (-2.85%) ⬇️
integration 22.44% <ø> (+<0.01%) ⬆️
unit 64.73% <ø> (-26.79%) ⬇️
unit-migrate 65.07% <ø> (-26.50%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BeryJu BeryJu requested a review from a team as a code owner January 14, 2026 23:25
dependabot bot and others added 2 commits February 17, 2026 17:20
Bumps [django-countries](https://github.com/SmileyChris/django-countries) from 7.6.1 to 8.2.0.
- [Changelog](https://github.com/SmileyChris/django-countries/blob/main/CHANGES.md)
- [Commits](SmileyChris/django-countries@v7.6.1...v8.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
# Conflicts:
#	pyproject.toml
#	uv.lock
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the dependabot/uv/django-countries-8.2.0 branch from 37a0c13 to 4bec67c Compare February 17, 2026 16:21
@netlify
Copy link

netlify bot commented Feb 17, 2026

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 3a8e4fb
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/699498aac4988500086d53cd
😎 Deploy Preview https://deploy-preview-19459--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Feb 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.17%. Comparing base (ef8a325) to head (4bec67c).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

❗ There is a different number of reports uploaded between BASE (ef8a325) and HEAD (4bec67c). Click for more details.

HEAD has 16 uploads less than BASE
Flag BASE (ef8a325) HEAD (4bec67c)
e2e 10 6
unit 10 5
unit-migrate 10 5
conformance 2 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main   #19459       +/-   ##
===========================================
- Coverage   93.32%   68.17%   -25.16%     
===========================================
  Files         981      981               
  Lines       55134    55134               
===========================================
- Hits        51453    37585    -13868     
- Misses       3681    17549    +13868     
Flag Coverage Δ
conformance ?
e2e 41.28% <ø> (-1.99%) ⬇️
integration 22.44% <ø> (+<0.01%) ⬆️
unit 64.73% <ø> (-26.79%) ⬇️
unit-migrate 65.07% <ø> (-26.50%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov
Copy link

codecov bot commented Feb 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.32%. Comparing base (ef8a325) to head (3a8e4fb).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #19459   +/-   ##
=======================================
  Coverage   93.32%   93.32%           
=======================================
  Files         981      981           
  Lines       55134    55134           
=======================================
+ Hits        51453    51454    +1     
+ Misses       3681     3680    -1     
Flag Coverage Δ
conformance 37.46% <ø> (+<0.01%) ⬆️
e2e 43.27% <ø> (+<0.01%) ⬆️
integration 22.44% <ø> (+<0.01%) ⬆️
unit 91.52% <ø> (+<0.01%) ⬆️
unit-migrate 91.56% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-3a8e4fb5499825eb3529098b90a687186cc61d7f
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-3a8e4fb5499825eb3529098b90a687186cc61d7f

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu BeryJu merged commit fe0f559 into main Feb 17, 2026
103 checks passed
@BeryJu BeryJu deleted the dependabot/uv/django-countries-8.2.0 branch February 17, 2026 17:13
kensternberg-authentik added a commit that referenced this pull request Feb 18, 2026
* main: (52 commits)
  web/admin: bug: stage update forms not rendering, several modal form buttons missing (#20373)
  lifecycle: bump rac guacd base image (#20390)
  web: revert `tree-sitter` removal from lockfile (#20377)
  root: fix dependabot config for docker (#20380)
  website/docs: Fix broken link to flow executor (#20364)
  core: add cause to `ak_groups` deprecation event and logs (#20361)
  rbac: fix object permission request (#20304)
  enterprise/providers/ws_federation: fix incorrect metadata download URL (#20173)
  core, web: update translations (#20303)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#20305)
  core: bump django-countries from 7.6.1 to 8.2.0 (#19459)
  web: bump the storybook group across 1 directory with 5 updates (#20130)
  web: bump pino from 10.3.0 to 10.3.1 in /web (#20133)
  core: bump github.com/pires/go-proxyproto from 0.10.0 to 0.11.0 (#20182)
  web: bump @patternfly/elements from 4.2.0 to 4.3.1 in /web (#20185)
  lifecycle/aws: bump aws-cdk from 2.1105.0 to 2.1106.0 in /lifecycle/aws (#20272)
  web: bump chromedriver from 145.0.1 to 145.0.3 in /web (#20313)
  web: bump @sentry/browser from 10.38.0 to 10.39.0 in /web in the sentry group across 1 directory (#20340)
  web: bump mermaid from 11.12.2 to 11.12.3 in /web (#20359)
  ci: bump tj-actions/changed-files from 47.0.2 to 47.0.3 (#20357)
  ...
kensternberg-authentik added a commit that referenced this pull request Feb 18, 2026
…to web/flow/tablize-token-component-relationship-v3-error-handling

* web/flow/19999-tablize-token-component-relationship: (58 commits)
  web/admin: maintenance: centralize types that are used across stages (#20398)
  website/integrations: beszel: remove slug reference (#20393)
  web/admin: maintenance: give dialogs default exports (#20397)
  web: Fix element property names with custom attributes. (#20396)
  enterprise/providers/microsoft_entra: fix dangling comma (#20391)
  web/admin: bug: stage update forms not rendering, several modal form buttons missing (#20373)
  lifecycle: bump rac guacd base image (#20390)
  web: revert `tree-sitter` removal from lockfile (#20377)
  root: fix dependabot config for docker (#20380)
  website/docs: Fix broken link to flow executor (#20364)
  core: add cause to `ak_groups` deprecation event and logs (#20361)
  rbac: fix object permission request (#20304)
  enterprise/providers/ws_federation: fix incorrect metadata download URL (#20173)
  core, web: update translations (#20303)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#20305)
  core: bump django-countries from 7.6.1 to 8.2.0 (#19459)
  web: bump the storybook group across 1 directory with 5 updates (#20130)
  web: bump pino from 10.3.0 to 10.3.1 in /web (#20133)
  core: bump github.com/pires/go-proxyproto from 0.10.0 to 0.11.0 (#20182)
  web: bump @patternfly/elements from 4.2.0 to 4.3.1 in /web (#20185)
  ...
kensternberg-authentik added a commit that referenced this pull request Feb 21, 2026
…to web/flow/20030-one-true-api

* web/flow/19999-tablize-token-component-relationship: (58 commits)
  web: Flesh out stage mapping error handling. (#20292)
  web/admin: maintenance: centralize types that are used across stages (#20398)
  website/integrations: beszel: remove slug reference (#20393)
  web/admin: maintenance: give dialogs default exports (#20397)
  web: Fix element property names with custom attributes. (#20396)
  enterprise/providers/microsoft_entra: fix dangling comma (#20391)
  web/admin: bug: stage update forms not rendering, several modal form buttons missing (#20373)
  lifecycle: bump rac guacd base image (#20390)
  web: revert `tree-sitter` removal from lockfile (#20377)
  root: fix dependabot config for docker (#20380)
  website/docs: Fix broken link to flow executor (#20364)
  core: add cause to `ak_groups` deprecation event and logs (#20361)
  rbac: fix object permission request (#20304)
  enterprise/providers/ws_federation: fix incorrect metadata download URL (#20173)
  core, web: update translations (#20303)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#20305)
  core: bump django-countries from 7.6.1 to 8.2.0 (#19459)
  web: bump the storybook group across 1 directory with 5 updates (#20130)
  web: bump pino from 10.3.0 to 10.3.1 in /web (#20133)
  core: bump github.com/pires/go-proxyproto from 0.10.0 to 0.11.0 (#20182)
  ...
kensternberg-authentik added a commit that referenced this pull request Feb 23, 2026
…t-flow-inspector

* web/flow/20030-one-true-api: (58 commits)
  web: Flesh out stage mapping error handling. (#20292)
  web/admin: maintenance: centralize types that are used across stages (#20398)
  website/integrations: beszel: remove slug reference (#20393)
  web/admin: maintenance: give dialogs default exports (#20397)
  web: Fix element property names with custom attributes. (#20396)
  enterprise/providers/microsoft_entra: fix dangling comma (#20391)
  web/admin: bug: stage update forms not rendering, several modal form buttons missing (#20373)
  lifecycle: bump rac guacd base image (#20390)
  web: revert `tree-sitter` removal from lockfile (#20377)
  root: fix dependabot config for docker (#20380)
  website/docs: Fix broken link to flow executor (#20364)
  core: add cause to `ak_groups` deprecation event and logs (#20361)
  rbac: fix object permission request (#20304)
  enterprise/providers/ws_federation: fix incorrect metadata download URL (#20173)
  core, web: update translations (#20303)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#20305)
  core: bump django-countries from 7.6.1 to 8.2.0 (#19459)
  web: bump the storybook group across 1 directory with 5 updates (#20130)
  web: bump pino from 10.3.0 to 10.3.1 in /web (#20133)
  core: bump github.com/pires/go-proxyproto from 0.10.0 to 0.11.0 (#20182)
  ...
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants