Releases: jsonmaur/namor.js
Releases · jsonmaur/namor.js
v3.0.1
v3.0.0
Features
- Added the ability to use custom dictionaries and reserved word lists with
getDict()
andgetDictFile()
- 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 ingenerate()
, usesalt
instead - Deprecated
subset
option ingenerate()
, usedictionary
instead - Deprecated
manly
dictionary, userugged
instead - Deprecated
validate()
, usevalid_subdomain()
instead
Other Updates
- Removed support for Node < v14
- Nested the default dictionary within
default
key inrawData
- Removed default salt length of 5 on generated names
- Removed subdomain length validation in
generate()
, usevalid_subdomain()
instead - Removed previously deprecated options for
generate()
:char
,numbers
, andmanly
- Removed previously deprecated
isValid
method - Fixed validation regex to check for proper length
v2.0.2
- Renamed
isValid
method tovalidate
- Renamed
char
option toseparator
in.generate()
- Deprecated
numbers
in lieu ofsaltType
andsaltLength
in.generate()
- Deprecated
manly
in lieu ofsubset
in.generate()
- Added ability to define dictionary subsets, currently only option is
manly
- Added ability to determine trailing salt type, which can now be
number
,string
, ormixed
- Added ability to access raw dictionary data through
namor.rawData
- Converted codebase to Typescript
v1.1.1
- Removed inappropriate words from blacklist. This will no longer be a feature and will be left up to the users what to filter.
- "blacklist" has been renamed to "reserved". The list will still contain subdomains that should not be available for third-parties to register.
- Bumped up minimum Node version to 6.