Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 310.08 KB
MD5: 9184825aef3f2f03c1b4827aa38b8e80
SHA-1: 91fa4fd9eefc61193949a67e24cbaed87ea612a3
SHA-256: f3fab3ac729c8a2c104c7fe97f9429e992adf77ea51abc98c62cfc0d2aeec4a8
Download zip 354.27 KB
MD5: f4504585460b59decb49fec1271838cc
SHA-1: 9525ecd0473f9f9318fab4e08bf3ce47ef144b88
SHA-256: 968ef5b2ac775a8bd26e531bb0df521f1ff7f52f61490877b6059f7178826957

Release notes

IP2country 2.1.2 restores registry downloads over HTTPS and fixes settings and Rules integration errors.

- Switch regional registry data and checksum downloads from FTP to HTTPS. #3532194: ARIN FTP service discontinued(https://www.drupal.org/project/ip2country/issues/3532194)
- Replace obsolete ARIN mirrors with current feeds from all five registries and use canonical APNIC URLs. Existing registry settings are preserved. #3599238: Automated Drupal 12 compatibility fixes for ip2location 11.0.1(https://git.drupalcode.org/project/ip2country/-/work_items/3599238)
- Fix a PHP dynamic-property deprecation when saving country settings. #3476131: Error while saving the settings Form(https://www.drupal.org/project/ip2country/issues/3476131)
- Fix execution of the Rules action that sets a user's country on PHP 8, and add regression coverage. #2959759: Port Rules integration from D7(https://www.drupal.org/project/ip2country/issues/2959759)
- Correct an unsupported argument in the Rules condition attribute. #3599239: Automated Drupal 12 compatibility fixes for ip2location_api 1.0.x-dev(https://git.drupalcode.org/project/ip2country/-/work_items/3599239)
- Rename the administration page to “IP2country settings.” #3447356: Update admin page title(https://www.drupal.org/project/ip2country/issues/3447356)
- Clarify anonymous visitor lookups and country persistence in the documentation. #3238319: Working with anonymous users(https://www.drupal.org/project/ip2country/issues/3238319)
- Improve functional coverage with repeatable registry data, including all registry choices and failed downloads. #3599240: Automated Drupal 12 compatibility fixes for ip_anon 2.x-dev(https://git.drupalcode.org/project/ip2country/-/work_items/3599240)

Validated locally on Drupal 10.6.18 and 11.4.8 with PHP 8.3.30. Both full test suites pass using controlled registry data for functional checks. Live endpoint validation is separate. Drupal 11 deprecation notices remain; this release does not add Drupal 12 or IPv6 support. No database schema changes are included.

Created by: bdunphy
Created on: 17 Oct 2026 at 20:17 UTC
Last updated: 17 Oct 2026 at 20:17 UTC
Bug fixes

Other releases