Skip to content

15.0.0

Latest
Compare
Choose a tag to compare
@SamChatfield SamChatfield released this 01 Nov 13:25
cf631e6

Breaking Change

Default email validator has been made stricter to disallow leading, trailing and consecutive dots in local part of email addresses.

If this new behaviour does not meet your requirements you will need to use a regex validator or create a custom email address validator for use on the relevant fields instead.

The full new regular expression used is as follows:

/^(?!.*\.\.)[a-z0-9_%+-](?:[a-z0-9._%+-]*[a-z0-9_%+-])?@([a-z0-9]+([a-z0-9-]*[a-z0-9]+)?\.)+[a-z]{2,6}$/i

Commits

  • Merge pull request #207 from HMPO/stricter-email-validation cabb55d
  • Make email validator stricter 59ebff2

v14.1.0...v15.0.0