uuid 3.3.2 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,110 +1,135 @@
1
- # Change Log
1
+ # Changelog
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- <a name="3.3.2"></a>
6
- ## [3.3.2](https://github.com/kelektiv/node-uuid/compare/v3.3.1...v3.3.2) (2018-06-28)
5
+ ## [7.0.0](https://github.com/uuidjs/uuid/compare/v3.4.0...v7.0.0) (2020-02-24)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ - The default export, which used to be the v4() method
10
+ but which was already discouraged in v3.x of this library, has been
11
+ removed.
12
+ - Explicitly note that deep imports of the different uuid
13
+ version functions are deprecated and no longer encouraged and that
14
+ ECMAScript module named imports should be used instead.
15
+ Emit a deprecation warning for people who deep-require the different
16
+ algorithm variants.
17
+ - Remove builtin support for insecure random number
18
+ generators in the browser. Users who want that will have to supply their
19
+ own random number generator function.
20
+ - Remove support for generating v3 and v5 UUIDs in
21
+ Node.js<4.x
22
+ - Convert code base to ECMAScript Modules (ESM) and
23
+ release CommonJS build for node and ESM build for browser bundlers.
7
24
 
25
+ ### Features
26
+
27
+ - add UMD build to npm package ([#357](https://github.com/uuidjs/uuid/issues/357)) ([4e75adf](https://github.com/uuidjs/uuid/commit/4e75adf435196f28e3fbbe0185d654b5ded7ca2c)), closes [#345](https://github.com/uuidjs/uuid/issues/345)
28
+ - add various es module and CommonJS examples ([b238510](https://github.com/uuidjs/uuid/commit/b238510bf352463521f74bab175a3af9b7a42555))
29
+ - ensure that docs are up-to-date in CI ([ee5e77d](https://github.com/uuidjs/uuid/commit/ee5e77db547474f5a8f23d6c857a6d399209986b))
30
+ - hybrid CommonJS & ECMAScript modules build ([a3f078f](https://github.com/uuidjs/uuid/commit/a3f078faa0baff69ab41aed08e041f8f9c8993d0))
31
+ - remove insecure fallback random number generator ([3a5842b](https://github.com/uuidjs/uuid/commit/3a5842b141a6e5de0ae338f391661e6b84b167c9)), closes [#173](https://github.com/uuidjs/uuid/issues/173)
32
+ - remove support for pre Node.js v4 Buffer API ([#356](https://github.com/uuidjs/uuid/issues/356)) ([b59b5c5](https://github.com/uuidjs/uuid/commit/b59b5c5ecad271c5453f1a156f011671f6d35627))
33
+ - rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([c37a518](https://github.com/uuidjs/uuid/commit/c37a518e367ac4b6d0aa62dba1bc6ce9e85020f7)), closes [#338](https://github.com/uuidjs/uuid/issues/338)
8
34
 
9
35
  ### Bug Fixes
10
36
 
11
- * typo ([305d877](https://github.com/kelektiv/node-uuid/commit/305d877))
37
+ - add deep-require proxies for local testing and adjust tests ([#365](https://github.com/uuidjs/uuid/issues/365)) ([7fedc79](https://github.com/uuidjs/uuid/commit/7fedc79ac8fda4bfd1c566c7f05ef4ac13b2db48))
38
+ - add note about removal of default export ([#372](https://github.com/uuidjs/uuid/issues/372)) ([12749b7](https://github.com/uuidjs/uuid/commit/12749b700eb49db8a9759fd306d8be05dbfbd58c)), closes [#370](https://github.com/uuidjs/uuid/issues/370)
39
+ - deprecated deep requiring of the different algorithm versions ([#361](https://github.com/uuidjs/uuid/issues/361)) ([c0bdf15](https://github.com/uuidjs/uuid/commit/c0bdf15e417639b1aeb0b247b2fb11f7a0a26b23))
12
40
 
41
+ ## [3.4.0](https://github.com/uuidjs/uuid/compare/v3.3.3...v3.4.0) (2020-01-16)
13
42
 
43
+ ### Features
14
44
 
15
- <a name="3.3.1"></a>
16
- ## [3.3.1](https://github.com/kelektiv/node-uuid/compare/v3.3.0...v3.3.1) (2018-06-28)
45
+ - rename repository to github:uuidjs/uuid ([#351](https://github.com/uuidjs/uuid/issues/351)) ([e2d7314](https://github.com/uuidjs/uuid/commit/e2d7314)), closes [#338](https://github.com/uuidjs/uuid/issues/338)
17
46
 
47
+ ## [3.3.3](https://github.com/uuidjs/uuid/compare/v3.3.2...v3.3.3) (2019-08-19)
18
48
 
19
49
  ### Bug Fixes
20
50
 
21
- * fix [#284](https://github.com/kelektiv/node-uuid/issues/284) by setting function name in try-catch ([f2a60f2](https://github.com/kelektiv/node-uuid/commit/f2a60f2))
51
+ - no longer run ci tests on node v4
52
+ - upgrade dependencies
22
53
 
54
+ ## [3.3.2](https://github.com/uuidjs/uuid/compare/v3.3.1...v3.3.2) (2018-06-28)
23
55
 
56
+ ### Bug Fixes
24
57
 
25
- <a name="3.3.0"></a>
26
- # [3.3.0](https://github.com/kelektiv/node-uuid/compare/v3.2.1...v3.3.0) (2018-06-22)
58
+ - typo ([305d877](https://github.com/uuidjs/uuid/commit/305d877))
27
59
 
60
+ ## [3.3.1](https://github.com/uuidjs/uuid/compare/v3.3.0...v3.3.1) (2018-06-28)
28
61
 
29
62
  ### Bug Fixes
30
63
 
31
- * assignment to readonly property to allow running in strict mode ([#270](https://github.com/kelektiv/node-uuid/issues/270)) ([d062fdc](https://github.com/kelektiv/node-uuid/commit/d062fdc))
32
- * fix [#229](https://github.com/kelektiv/node-uuid/issues/229) ([c9684d4](https://github.com/kelektiv/node-uuid/commit/c9684d4))
33
- * Get correct version of IE11 crypto ([#274](https://github.com/kelektiv/node-uuid/issues/274)) ([153d331](https://github.com/kelektiv/node-uuid/commit/153d331))
34
- * mem issue when generating uuid ([#267](https://github.com/kelektiv/node-uuid/issues/267)) ([c47702c](https://github.com/kelektiv/node-uuid/commit/c47702c))
64
+ - fix [#284](https://github.com/uuidjs/uuid/issues/284) by setting function name in try-catch ([f2a60f2](https://github.com/uuidjs/uuid/commit/f2a60f2))
35
65
 
36
- ### Features
66
+ # [3.3.0](https://github.com/uuidjs/uuid/compare/v3.2.1...v3.3.0) (2018-06-22)
37
67
 
38
- * enforce Conventional Commit style commit messages ([#282](https://github.com/kelektiv/node-uuid/issues/282)) ([cc9a182](https://github.com/kelektiv/node-uuid/commit/cc9a182))
39
-
40
-
41
- <a name="3.2.1"></a>
42
- ## [3.2.1](https://github.com/kelektiv/node-uuid/compare/v3.2.0...v3.2.1) (2018-01-16)
68
+ ### Bug Fixes
43
69
 
70
+ - assignment to readonly property to allow running in strict mode ([#270](https://github.com/uuidjs/uuid/issues/270)) ([d062fdc](https://github.com/uuidjs/uuid/commit/d062fdc))
71
+ - fix [#229](https://github.com/uuidjs/uuid/issues/229) ([c9684d4](https://github.com/uuidjs/uuid/commit/c9684d4))
72
+ - Get correct version of IE11 crypto ([#274](https://github.com/uuidjs/uuid/issues/274)) ([153d331](https://github.com/uuidjs/uuid/commit/153d331))
73
+ - mem issue when generating uuid ([#267](https://github.com/uuidjs/uuid/issues/267)) ([c47702c](https://github.com/uuidjs/uuid/commit/c47702c))
44
74
 
45
- ### Bug Fixes
75
+ ### Features
46
76
 
47
- * use msCrypto if available. Fixes [#241](https://github.com/kelektiv/node-uuid/issues/241) ([#247](https://github.com/kelektiv/node-uuid/issues/247)) ([1fef18b](https://github.com/kelektiv/node-uuid/commit/1fef18b))
77
+ - enforce Conventional Commit style commit messages ([#282](https://github.com/uuidjs/uuid/issues/282)) ([cc9a182](https://github.com/uuidjs/uuid/commit/cc9a182))
48
78
 
79
+ ## [3.2.1](https://github.com/uuidjs/uuid/compare/v3.2.0...v3.2.1) (2018-01-16)
49
80
 
81
+ ### Bug Fixes
50
82
 
51
- <a name="3.2.0"></a>
52
- # [3.2.0](https://github.com/kelektiv/node-uuid/compare/v3.1.0...v3.2.0) (2018-01-16)
83
+ - use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b))
53
84
 
85
+ # [3.2.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.2.0) (2018-01-16)
54
86
 
55
87
  ### Bug Fixes
56
88
 
57
- * remove mistakenly added typescript dependency, rollback version (standard-version will auto-increment) ([09fa824](https://github.com/kelektiv/node-uuid/commit/09fa824))
58
- * use msCrypto if available. Fixes [#241](https://github.com/kelektiv/node-uuid/issues/241) ([#247](https://github.com/kelektiv/node-uuid/issues/247)) ([1fef18b](https://github.com/kelektiv/node-uuid/commit/1fef18b))
59
-
89
+ - remove mistakenly added typescript dependency, rollback version (standard-version will auto-increment) ([09fa824](https://github.com/uuidjs/uuid/commit/09fa824))
90
+ - use msCrypto if available. Fixes [#241](https://github.com/uuidjs/uuid/issues/241) ([#247](https://github.com/uuidjs/uuid/issues/247)) ([1fef18b](https://github.com/uuidjs/uuid/commit/1fef18b))
60
91
 
61
92
  ### Features
62
93
 
63
- * Add v3 Support ([#217](https://github.com/kelektiv/node-uuid/issues/217)) ([d94f726](https://github.com/kelektiv/node-uuid/commit/d94f726))
94
+ - Add v3 Support ([#217](https://github.com/uuidjs/uuid/issues/217)) ([d94f726](https://github.com/uuidjs/uuid/commit/d94f726))
64
95
 
65
-
66
- # [3.1.0](https://github.com/kelektiv/node-uuid/compare/v3.1.0...v3.0.1) (2017-06-17)
96
+ # [3.1.0](https://github.com/uuidjs/uuid/compare/v3.1.0...v3.0.1) (2017-06-17)
67
97
 
68
98
  ### Bug Fixes
69
99
 
70
- * (fix) Add .npmignore file to exclude test/ and other non-essential files from packing. (#183)
71
- * Fix typo (#178)
72
- * Simple typo fix (#165)
100
+ - (fix) Add .npmignore file to exclude test/ and other non-essential files from packing. (#183)
101
+ - Fix typo (#178)
102
+ - Simple typo fix (#165)
73
103
 
74
104
  ### Features
75
- * v5 support in CLI (#197)
76
- * V5 support (#188)
77
105
 
106
+ - v5 support in CLI (#197)
107
+ - V5 support (#188)
78
108
 
79
109
  # 3.0.1 (2016-11-28)
80
110
 
81
- * split uuid versions into separate files
82
-
111
+ - split uuid versions into separate files
83
112
 
84
113
  # 3.0.0 (2016-11-17)
85
114
 
86
- * remove .parse and .unparse
87
-
115
+ - remove .parse and .unparse
88
116
 
89
117
  # 2.0.0
90
118
 
91
- * Removed uuid.BufferClass
92
-
119
+ - Removed uuid.BufferClass
93
120
 
94
121
  # 1.4.0
95
122
 
96
- * Improved module context detection
97
- * Removed public RNG functions
98
-
123
+ - Improved module context detection
124
+ - Removed public RNG functions
99
125
 
100
126
  # 1.3.2
101
127
 
102
- * Improve tests and handling of v1() options (Issue #24)
103
- * Expose RNG option to allow for perf testing with different generators
104
-
128
+ - Improve tests and handling of v1() options (Issue #24)
129
+ - Expose RNG option to allow for perf testing with different generators
105
130
 
106
131
  # 1.3.0
107
132
 
108
- * Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!
109
- * Support for node.js crypto API
110
- * De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code
133
+ - Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!
134
+ - Support for node.js crypto API
135
+ - De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code
@@ -0,0 +1,20 @@
1
+ # Contributing
2
+
3
+ Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss
4
+ improvements to this library!
5
+
6
+ ## Testing
7
+
8
+ ```shell
9
+ npm test
10
+ ```
11
+
12
+ ## Releasing
13
+
14
+ Releases are supposed to be done from master, version bumping is automated through
15
+ [`standard-version`](https://github.com/conventional-changelog/standard-version):
16
+
17
+ ```shell
18
+ npm run release -- --dry-run # verify output manually
19
+ npm run release # follow the instructions from the output of this command
20
+ ```