Repository navigation
v8.3.1
Changes
- fix(email): 🐛 Enforce RFC length limits and stricter domain labels
Release details
- npm: https://www.npmjs.com/package/@haskou/value-objects/v/8.3.1
- Pull request: #90
- Source branch:
fix/email-limits - Version bump:
patch
Pull request notes
Addresses longer than 254 characters now throw InvalidStringLengthError. The local part is limited to 64 characters, and domain labels to 1-63 letters, digits or hyphens without a leading or trailing hyphen, so underscores in the domain are rejected. Includes tests and docs.