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