-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
breaking changesChange that can breaking existing codeChange that can breaking existing codedependencyUpdate module dependencyUpdate module dependencyrelease notesMajor release documentationMajor release documentation
Milestone
Description
Breaking changes:
Joi.string().email() options changed. The following options are no longer supported:
checkDNS(remains unsupported)errorLevel- unsupported with no replacement. The new validation rules treat quoted-strings, comments, obsolete formats, and domain literals as errors.minDomainAtoms- useminDomainSegments.tldBlacklist- usetlds.denyinstead.tldWhitelist- usetlds.allowinstead.
Checklist
- Scan you code for any reference to
email(and check if options are passed. If they are, convert them to use the new options as described above. - Ensure you understand that some email addresses considered valid before are no longer valid (specifically those with quoted strings
"first last"@example.comand domain literalstest@[127.0.0.1]).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changesChange that can breaking existing codeChange that can breaking existing codedependencyUpdate module dependencyUpdate module dependencyrelease notesMajor release documentationMajor release documentation