Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.14 KB

CHANGELOG.md

File metadata and controls

32 lines (23 loc) · 1.14 KB

Changelog for v3.0

v3.0.1

  • Fixed CommonJS exports
  • Deprecated rawData access

v3.0.0

Features

  • Added the ability to use custom dictionaries and reserved word lists with getDict() and getDictFile()
  • Added more words to internal dictionaries
  • Made the reserved subdomain check more strict by removing special characters from value
  • Single-word names now use adjectives, nouns, and verbs rather than just nouns

Deprecations

  • Deprecated saltLength option in generate(), use salt instead
  • Deprecated subset option in generate(), use dictionary instead
  • Deprecated manly dictionary, use rugged instead
  • Deprecated validate(), use valid_subdomain() instead

Other Updates

  • Removed support for Node < v14
  • Nested the default dictionary within default key in rawData
  • Removed default salt length of 5 on generated names
  • Removed subdomain length validation in generate(), use valid_subdomain() instead
  • Removed previously deprecated options for generate(): char, numbers, and manly
  • Removed previously deprecated isValid method
  • Fixed validation regex to check for proper length