Install

Works with Drupal: ^9.5 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 76.73 KB
MD5: e1799bd1a68db0ce9146e123e07e224c
SHA-1: 4a583a0007cb1754fc872817333c3f402cabef21
SHA-256: 4da9442f79f406317d290c9f81c66e7f39cc962a989cfb947e74c8e220292036
Download zip 138.2 KB
MD5: 664aa3884ba9c74be26597584b50b3ef
SHA-1: 380888a9dc6eca9baee4b5c255f2b544a7ac62b1
SHA-256: 93c8f19df387e47f6f03e20c1560590abd5cb7da8a3caaacfae7630a970d4cbe

Release notes

Compatibility with drupal/diff 2.*, bug fixes and hardening

Possible breaking change

Unfortunately, after tagging this release, we discovered that #3564725: InvalidArgumentException: "code" is an invalid render array key. Value should be an array but got a string. is potentially disruptive. Any code (custom field formatter, prerender functions, possibly theme templates, etc) that's directly manipulating Address field render arrays might need to be updated to handle the change. Technically, Drupal Core doesn't support backwards compatibility in render arrays. But it's still a possible break for existing sites. Beware!

Contributors (18)

ajayyadav, benstallings, bluegeek9, bojanz, cmlara, cosmicdreams, cspitzlay, dieterholvoet, douggreen, dww, idebr, jonathan1055, jwilson3, malcomio, oana.hulpoi, porchlight, tbkot, yusuf_khan

Changelog

Issues: 13 issues resolved.

Changes since 2.0.4:

Bug (6)

  • fix: #3460590 Incompatibility with drupal/diff:^2
  • fix: #3495659 Remove VERSION from libraries.yml
  • fix: #3497225 Plain Text Formatter does not set Locality properly
  • fix: #3508727 Entity validation: "State field is required" error for countries with no administrative area
  • fix: #3550247 AddressFormatConstraintValidator does not always set a label
  • fix: #3564725 InvalidArgumentException: "code" is an invalid render array key

Task (7)

  • ci: #3634183 Use _RUNTESTS_EXTRA not _PHPUNIT_EXTRA to suppress deprecations
  • ci: #3634224 Reduce size of .cspell-project-words.txt, convert to cspell:ignore
  • ci: #3623506 Ignore deprecations from addressing v2.3 API
  • task: #3612977 Fix phpstan finding: Call to deprecated function views_ui_build_form_url()
  • task: #3589015 Add test for diff plugin and compatibility with diff ^2.0
  • task: #3578759 Fix GitLab pipelines (tests, phpstan, phpcs, cspell) and reduce waste
  • ci: #3558403 Remove CI_DEBUG_SERVICES to restore access to job logs for non-maintainers
Created by: dww
Created on: 4 Nov 2026 at 22:06 UTC
Last updated: 5 Nov 2026 at 04:24 UTC
Bug fixes

Other releases