Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
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.