File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " namor" ,
3
- "version" : " 2 .0.4 " ,
3
+ "version" : " 3 .0.0 " ,
4
4
"description" : " A subdomain-safe name generator" ,
5
5
"author" : " Jason Maurer" ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments