Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 24.06 KB
MD5: d73b8849ad5ee91f7257123550f8498f
SHA-1: 0b56f97f8490b299223e54db6e462ff0f0c6bc64
SHA-256: a8236138402cab91b1dfdec993793752f97036a9f695ea26ebf1a03465783b07
Download zip 43.41 KB
MD5: b8b0a0afa7635aee56be48b89bc4102d
SHA-1: db58c23f129e0884d5cef9f9449f087ac72c2497
SHA-256: 4266f68c93458e0cad2016f41f3e80358e1683f703c83e6ddc941b871bd3f2a2

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 (4)

darvanen, pakmanlh, saurabh-2k17

Changelog

Issues: 2 issues resolved.

Changes since 2.0.2 (compare):

Bug

  • fix: #3540324 Call to a member function get() on null

Feature

  • task: #3534056 Deprecate internals to support downstream changes
Created by: darvanen
Created on: 10 Jun 2026 at 13:23 UTC
Last updated: 11 Jun 2026 at 02:55 UTC
Bug fixes
New features

Other releases