Skip to content

Commit 6ac5da1

Browse files
committed
v3.0
1 parent d42285e commit 6ac5da1

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## Changelog for v3.0
2+
3+
### v3.0.0
4+
5+
##### Features
6+
7+
- Added the ability to use custom dictionaries and reserved word lists with `getDict()` and `getDictFile()`
8+
- Added more words to internal dictionaries
9+
- Made the reserved subdomain check more strict by removing special characters from value
10+
- Single-word names now use adjectives, nouns, and verbs rather than just nouns
11+
12+
##### Deprecations
13+
14+
- Deprecated `saltLength` option in `generate()`, use `salt` instead
15+
- Deprecated `subset` option in `generate()`, use `dictionary` instead
16+
- Deprecated `manly` dictionary, use `rugged` instead
17+
- Deprecated `validate()`, use `valid_subdomain()` instead
18+
19+
##### Other Updates
20+
21+
- Removed support for Node < v14
22+
- Nested the default dictionary within `default` key in `rawData`
23+
- Removed default salt length of 5 on generated names
24+
- Removed subdomain length validation in `generate()`, use `valid_subdomain()` instead
25+
- Removed previously deprecated options for `generate()`: `char`, `numbers`, and `manly`
26+
- Removed previously deprecated `isValid` method
27+
- Fixed validation regex to check for proper length

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "namor",
3-
"version": "2.0.4",
3+
"version": "3.0.0",
44
"description": "A subdomain-safe name generator",
55
"author": "Jason Maurer",
66
"license": "MIT",

0 commit comments

Comments
 (0)