unstale

npm / tldts

tldts

What changed in tldts 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

6 breaking1 security2 new APIs and options2 performance1 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.5 on npm

tldts 714 changes

Breaking changes 6

Security 1

  • Adds IPv6 hextet validation as security-review hardening.

    7.1.2release notes

New APIs and options 2

  • Adds getFullDomain to return the full hostname including its subdomain.

    7.4.0release notes

  • Adds opt-in detection of IANA special-use domains.

    7.2.0release notes

Performance 2

  • Hostname validation is performed inline during extraction, dropping a redundant scan.

    7.3.0release notes

  • Performance improved and memory allocations were reduced.

    7.1.0release notes

Behavior and default changes 1

Fixes and other changes 2

  • Extraction now handles unbracketed IPv6 hostnames instead of mangling them.

    7.2.1release notes

  • Labels ending with an underscore are now accepted.

    7.0.32release notes