v15.1.16
Performance
Add a validated fast path for non-reserved ASCII LDH hostnames. Hostnames whose labels contain only ASCII letters, digits, and internal hyphens, satisfy the 63-character label and 253-character presentation limits, and do not contain -- in positions 3 and 4 now avoid Unicode mapping, Punycode, contextual, and bidi validation.
Reserved labels, including xn-- A-label candidates, continue through the complete IDNA pipeline. idnHostname continues to apply UTS #46 mapping when producing output, including lowercase conversion of uppercase ASCII input.
Verification
- All 108 package tests passed.
- All 6,077 applicable nontransitional Unicode 15.1
IdnaTestV2.txtvectors passed.