diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..46b15f08 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,34 @@ +# CHANGELOG 6.X + +## 6.0.0 + +### Breaking Changes + +- [c45912f](https://github.com/dubzzz/pure-rand/commit/c45912f) 💥 Require generators uniform in int32 (#513) +- [0bde03e](https://github.com/dubzzz/pure-rand/commit/0bde03e) 💥 Drop congruencial generator (#511) + +### Features + +- [7587984](https://github.com/dubzzz/pure-rand/commit/7587984) ⚡️ Faster uniform distribution on bigint (#517) +- [464960a](https://github.com/dubzzz/pure-rand/commit/464960a) ⚡️ Faster uniform distribution on small ranges (#516) +- [b4852a8](https://github.com/dubzzz/pure-rand/commit/b4852a8) ⚡️ Faster Congruencial 32bits (#512) +- [fdb6ec8](https://github.com/dubzzz/pure-rand/commit/fdb6ec8) ⚡️ Faster Mersenne-Twister (#510) +- [bb69be5](https://github.com/dubzzz/pure-rand/commit/bb69be5) ⚡️ Drop infinite loop for explicit loop (#507) + +### Fixes + +- [00fc62b](https://github.com/dubzzz/pure-rand/commit/00fc62b) 🔨 Add missing benchType to the script (#522) +- [db4a0a6](https://github.com/dubzzz/pure-rand/commit/db4a0a6) 🔨 Add more options to benchmark (#521) +- [5c1ca0e](https://github.com/dubzzz/pure-rand/commit/5c1ca0e) 🔨 Fix typo in benchmark code (#520) +- [36c965f](https://github.com/dubzzz/pure-rand/commit/36c965f) 👷 Define a benchmark workflow (#519) +- [0281cfd](https://github.com/dubzzz/pure-rand/commit/0281cfd) 🔨 More customizable benchmark (#518) +- [a7e19a8](https://github.com/dubzzz/pure-rand/commit/a7e19a8) 🔥 Clean internals of uniform distribution (#515) +- [520cca7](https://github.com/dubzzz/pure-rand/commit/520cca7) 🔨 Add some more benchmarks (#514) +- [c2d6ee6](https://github.com/dubzzz/pure-rand/commit/c2d6ee6) 🔨 Fix typo in bench for large reference (#509) +- [2dd7280](https://github.com/dubzzz/pure-rand/commit/2dd7280) 🔥 Clean useless variable (#506) +- [dd621c9](https://github.com/dubzzz/pure-rand/commit/dd621c9) 🔨 Adapt benchmarks to make them reliable (#505) +- [122f968](https://github.com/dubzzz/pure-rand/commit/122f968) 👷 Drop dependabot +- [f11d2e8](https://github.com/dubzzz/pure-rand/commit/f11d2e8) 💸 Add GitHub sponsors in repository's configuration +- [6a23e48](https://github.com/dubzzz/pure-rand/commit/6a23e48) 👷 Stop running tests against node 12 (#486) +- [cbefd3e](https://github.com/dubzzz/pure-rand/commit/cbefd3e) 🔧 Better configuration of prettier (#474) +- [c6712d3](https://github.com/dubzzz/pure-rand/commit/c6712d3) 🔧 Configure Renovate (#470) diff --git a/CHANGELOG_3.X.md b/CHANGELOG_3.X.md new file mode 100644 index 00000000..243b2cda --- /dev/null +++ b/CHANGELOG_3.X.md @@ -0,0 +1,38 @@ +# CHANGELOG 3.X + +## 3.1.0 + +### Features + +- [21990ee](https://github.com/dubzzz/pure-rand/commit/21990ee) ⚡ Faster computation of uniformBigInt (#64) +- [a7cc22e](https://github.com/dubzzz/pure-rand/commit/a7cc22e) ⚡ Improve performances of uniform distributions on wide ranges (#53) + +### Fixes + +- [22da324](https://github.com/dubzzz/pure-rand/commit/22da324) 💡 Add some comments concerning possible overflows (#57) +- [d1cda0a](https://github.com/dubzzz/pure-rand/commit/d1cda0a) 🔥 Remove useless configuration files +- [a52bbb1](https://github.com/dubzzz/pure-rand/commit/a52bbb1) ✅ Add snapshots for distributions to avoid regressions (#52) + +## 3.0.0 + +### Breaking Changes + +- [4a14bce](https://github.com/dubzzz/pure-rand/commit/4a14bce) (💥)✨ Support ES Modules and CommonJS (#35) +- [1563d5e](https://github.com/dubzzz/pure-rand/commit/1563d5e) 💥 Remove support for TypeScript <3.2 (#33) + +### Features + +- [5301ffc](https://github.com/dubzzz/pure-rand/commit/5301ffc) ✨ Add metadata on the generated sources and .js on esm imports (#34) +- [c92e942](https://github.com/dubzzz/pure-rand/commit/c92e942) ⚡️ Replace product32bits by Math.imul in mersenne +- [ab8b82d](https://github.com/dubzzz/pure-rand/commit/ab8b82d) ⚡️ Replace toUint32 in mersenne by >>>0 + +### Fixes + +- [a33fc65](https://github.com/dubzzz/pure-rand/commit/a33fc65) 🔨 Add some types of profilers into profiler.cjs (#37) +- [8f5b252](https://github.com/dubzzz/pure-rand/commit/8f5b252) 🎨 Move scripts for benchmark to cjs (#36) +- [f5ca954](https://github.com/dubzzz/pure-rand/commit/f5ca954) 🔧 Migrate to yarn (#30) +- [cc739b4](https://github.com/dubzzz/pure-rand/commit/cc739b4) 🔧 Bump prettier (#29) +- [3955c2d](https://github.com/dubzzz/pure-rand/commit/3955c2d) 🔧 Update .travis.yml +- [75311b1](https://github.com/dubzzz/pure-rand/commit/75311b1) 🔧 Update .travis.yml +- [074d0bf](https://github.com/dubzzz/pure-rand/commit/074d0bf) 🔧 Do not run travis outside of master and PRs for master +- [96790fd](https://github.com/dubzzz/pure-rand/commit/96790fd) 🔧 Create dependabot.yml diff --git a/CHANGELOG_4.X.md b/CHANGELOG_4.X.md new file mode 100644 index 00000000..cb432d84 --- /dev/null +++ b/CHANGELOG_4.X.md @@ -0,0 +1,59 @@ +# CHANGELOG 4.X + +## 4.2.1 + +### Fixes + +- [153895c](https://github.com/dubzzz/pure-rand/commit/153895c) ⚡️ Avoid creating an unneeded instance in `xoroshiro::jump` (#239) + +## 4.2.0 + +### Features + +- [44a96be](https://github.com/dubzzz/pure-rand/commit/44a96be) ⚡️ Faster jump for `xoroshiro` by avoiding intermediate instances (#232) +- [e277205](https://github.com/dubzzz/pure-rand/commit/e277205) ⚡️ Faster `jump` for xorshift by avoiding intermediate instances (#231) + +### Fixes + +- [c95a0a2](https://github.com/dubzzz/pure-rand/commit/c95a0a2) 👷 Rename script `format:fix` into `format` (#234) +- [124e6b5](https://github.com/dubzzz/pure-rand/commit/124e6b5) ⬆️ Bump prettier from 2.2.1 to 2.3.0 (#218) +- [a760fb6](https://github.com/dubzzz/pure-rand/commit/a760fb6) 👷 Drop node 10 from build chain and move to node 16 (#233) + +## 4.1.2 + +### Fixes + +- [123313f](https://github.com/dubzzz/pure-rand/commit/123313f) 🚚 Rename master into main (#175) +- [d108d64](https://github.com/dubzzz/pure-rand/commit/d108d64) 💰 Add funding details (#174) +- [944c593](https://github.com/dubzzz/pure-rand/commit/944c593) 👷 Move CI to gh actions (#171) + +## 4.1.1 + +### Fixes + +- [b26320a](https://github.com/dubzzz/pure-rand/commit/b26320a) 🐛 Prevent infinite loops when array int for from and to start by zeros (#143) + +## 4.1.0 + +### Features + +- [b71a557](https://github.com/dubzzz/pure-rand/commit/b71a557) ✨ Add uniform distribution for ranges outside of integers (#141) + +### Fixes + +- [8db6236](https://github.com/dubzzz/pure-rand/commit/8db6236) 🔖 Back to 4.1.0 as publications for both 4.1.0 and 4.1.1 fail +- [cefbf62](https://github.com/dubzzz/pure-rand/commit/cefbf62) 👷 Update travis key +- [7a65041](https://github.com/dubzzz/pure-rand/commit/7a65041) 🚑 Add missing uniformArrayIntDistribution in 4.1.x + +## 4.0.0 + +- [df3d188](https://github.com/dubzzz/pure-rand/commit/df3d188) 🐛 uniformIntDistribution not uniform for gaps outside of 32 bits integers (#117) +- [0322eb5](https://github.com/dubzzz/pure-rand/commit/0322eb5) 🔧 Clean warnings related to ts-jest (#130) +- [4fed949](https://github.com/dubzzz/pure-rand/commit/4fed949) 🔨 Faster and more precise benchmarks (#129) +- [eceb8fd](https://github.com/dubzzz/pure-rand/commit/eceb8fd) 🔨 Benchmark `--allow-local-changes` failed to un-stash (#126) +- [8f358da](https://github.com/dubzzz/pure-rand/commit/8f358da) 🔨 Reports for benchmarks expose a confidence range option (#125) +- [dd39020](https://github.com/dubzzz/pure-rand/commit/dd39020) 🔨 Rework benchmarks test suite of `pure-rand` (#123) +- [c55f987](https://github.com/dubzzz/pure-rand/commit/c55f987) ♻️ Extract internal logic of uniformIntDistribution into shared internals (#116) +- [670e2ab](https://github.com/dubzzz/pure-rand/commit/670e2ab) 📝 Add JSDoc on public code in /distribution (#115) +- [cde43b5](https://github.com/dubzzz/pure-rand/commit/cde43b5) Revert "👷 Update dependabot configuration on versioning-strategy" +- [56b1546](https://github.com/dubzzz/pure-rand/commit/56b1546) 👷 Update dependabot configuration on versioning-strategy diff --git a/CHANGELOG_5.X.md b/CHANGELOG_5.X.md new file mode 100644 index 00000000..34e243f4 --- /dev/null +++ b/CHANGELOG_5.X.md @@ -0,0 +1,62 @@ +# CHANGELOG 5.X + +## 5.0.5 + +### Fixes + +- [97fae65](https://github.com/dubzzz/pure-rand/commit/97fae65) 💸 Move GitHub sponsors link first for npm display (#468) + +## 5.0.4 + +### Fixes + +- [a922a54](https://github.com/dubzzz/pure-rand/commit/a922a54) 👷 Add extra runs in benchmarks (#463) +- [aa21bc8](https://github.com/dubzzz/pure-rand/commit/aa21bc8) 👷 Rework benchmark part (#461) +- [f2937e8](https://github.com/dubzzz/pure-rand/commit/f2937e8) 💸 Add link to GitHub sponsors in funding (#462) + +## 5.0.3 + +### Fixes + +- [bccd91a](https://github.com/dubzzz/pure-rand/commit/bccd91a) 🐛 Avoid BigInt crash when importing pure-rand (#432) + +## 5.0.2 + +### Fixes + +- [e3c3052](https://github.com/dubzzz/pure-rand/commit/e3c3052) 🐛 More resiliency to poisoning on globals (#431) + +## 5.0.1 + +### Fixes + +- [e4cafac](https://github.com/dubzzz/pure-rand/commit/e4cafac) 🐛 Add "types" to "exports" (#363) + +## 5.0.0 + +### Breaking Changes + +- [4d43670](https://github.com/dubzzz/pure-rand/commit/4d43670) 💥 Remove old API of `RandomGenerator` (#245) + +### Features + +- [64c9033](https://github.com/dubzzz/pure-rand/commit/64c9033) 🏷️ Remove never used type (#253) +- [79dcea6](https://github.com/dubzzz/pure-rand/commit/79dcea6) ⚡️ Re-implement safe skipN/generateN with unsafe ones (#251) +- [1137604](https://github.com/dubzzz/pure-rand/commit/1137604) ⚡️ Add unsafe version of `uniformArrayIntDistribution` (#252) +- [1d23433](https://github.com/dubzzz/pure-rand/commit/1d23433) ⚡️ Add unsafe version of `uniformBigIntDistribution` (#250) +- [eb6fdea](https://github.com/dubzzz/pure-rand/commit/eb6fdea) ⚡️ Add unsafe version of `uniformIntDistribution` (#249) +- [0c66c2a](https://github.com/dubzzz/pure-rand/commit/0c66c2a) ⚡️ Prefer unsafe for internal on uniform array-int distributions (#248) +- [d4b6353](https://github.com/dubzzz/pure-rand/commit/d4b6353) ⚡️ Prefer unsafe for internal on uniform int distributions (#247) +- [ac1afe1](https://github.com/dubzzz/pure-rand/commit/ac1afe1) 🏷️ Introduce typings for `UnsafeDistribution` (#246) +- [5b29db5](https://github.com/dubzzz/pure-rand/commit/5b29db5) ✨ Migrate congruential to new API (#244) +- [b5da3e9](https://github.com/dubzzz/pure-rand/commit/b5da3e9) ✨ Migrate mersenne to new API (#243) +- [08cb943](https://github.com/dubzzz/pure-rand/commit/08cb943) ✨ Migrate xorshift to new API (#242) +- [1c8b02f](https://github.com/dubzzz/pure-rand/commit/1c8b02f) ✨ Migrate xoroshiro to new API (#241) +- [153895c](https://github.com/dubzzz/pure-rand/commit/153895c) ⚡️ Avoid creating an unneeded instance in `xoroshiro::jump` (#239) +- [fa94947](https://github.com/dubzzz/pure-rand/commit/fa94947) ⚡️ Avoid creating an unneeded instance in `xoroshiro::jump` (#239) +- [bbad88f](https://github.com/dubzzz/pure-rand/commit/bbad88f) 🏷️ Add temporary typings of `RandomGeneratorWithUnsafe` (#238) +- [dbc8582](https://github.com/dubzzz/pure-rand/commit/dbc8582) 🚧 Temporarily add a forked interface for `RandomGenerator` (#235) + +### Fixes + +- [1eb1467](https://github.com/dubzzz/pure-rand/commit/1eb1467) ✅ Add test helpers for new generators (#240)