Replace isemail with @hapi/address #1776
Labels
breaking changes
Change that can breaking existing code
dependency
Update module dependency
release notes
Major release documentation
Milestone
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.deny
instead.tldWhitelist
- usetlds.allow
instead.Checklist
email(
and check if options are passed. If they are, convert them to use the new options as described above."first last"@example.com
and domain literalstest@[127.0.0.1]
).The text was updated successfully, but these errors were encountered: