Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 19.63 KB
MD5: 622726d57013913c36824b55a64f68e1
SHA-1: 31d0ae456341c409bccc04fb7ecdccc7fa9180dd
SHA-256: 4df7579d7cd1d0a601370f102fdd0266f5b560ed3d9680302e7261976fe480e1
Download zip 32.16 KB
MD5: 647ae0ee616945644d797fc89f185cfe
SHA-1: e47be60d57283eb29cd40b579f4802f308c5b956
SHA-256: 1858037555e6fb7e409118afeb731436a01db3a4f21baf12d0f4717c1a1fffcf

Release notes

Adds the new validation service API ahead of 3.0 and deprecates the old methods, so you can migrate now. No configuration or behaviour changes for site builders.

Changes for developers

  • New service method validateEmail() returns an EmailValidationResult (outcome and message). It replaces the two older methods and is forward-compatible with 3.0.
  • validate() and errorMessageFromCode() are deprecated and will be removed in 3.0.0. Move to validateEmail().

Also

  • Fixed an intermittent test failure caused by comparing a random string against rendered markup.

Contributors (2)

darvanen

Changelog

Issues: 1 issues resolved.

Changes since 1.2.1 (compare):

Feature

  • task: #3534056 Deprecate internals to support downstream changes

Misc

  • Fix flaky test: use randomMachineName() for error-message assertions
Created by: darvanen
Created on: 10 Jun 2026 at 13:24 UTC
Last updated: 11 Jun 2026 at 02:55 UTC
Bug fixes
New features

Other releases