- Last updated: 2024-04-11T12:32:44Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
3.7.0 (2024-03-21)
- add weightedProbability() (393dcaa)
3.6.13 (2023-11-09)
- update all tests (packages A-S) (e3085e4)
3.6.6 (2023-10-05)
- update ARandom.minmaxInt/Uint() (33c35b4)
- fix NaN bug iff min == max
3.6.1 (2023-08-12)
- add/re-use internal buf for uuid() (6bf7f1d)
- avoid temp allocations (10% faster)
3.6.0 (2023-08-12)
- add IRandom.minmaxUint() (6558eb1)
- clarify .minmaxInt() is for signed (i32)
- new .minmaxUint() is for unsigned (u32)
- add ARandom.minmaxUint()
- add IRandom.probability() (efdd49c)
- add impl for ARandom base class
- increase Crypto default size to 1KB (a30075a)
- minor update randomBytesFrom() (770dbe5)
- switch loop direction
3.5.0 (2023-07-14)
- add pickRandomUnique() (a70c951)
- add generics for uniqueValuesFrom()
3.4.0 (2023-04-19)
- add INorm.normMinMax(), update ARandom (89c6b76)
3.3.0 (2022-05-22)
3.2.2 (2021-11-21)
- off-by-one error in ARandom (0bf9828)
3.2.0 (2021-11-17)
- Using workspaces for local tools (bf7a404)
Improving the overall build ergonomics
- introduced a tools workspaces
- imported it in all needed packages/examples
- inclusive project root
- testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.
3.1.4 (2021-11-10)
- update all countdown loops (a5f374b)
3.1.0 (2021-10-25)
- add pickRandom() (0899aed)
3.0.1 (2021-10-13)
- update imports in all pkgs (5fa2b6f)
- add .js suffix for all relative imports
- update imports in all tests/pkgs (effd591)
3.0.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- BREAKING CHANGE: discontinue CommonJS & UMD versions
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
node --experimental-specifier-resolution=node --experimental-repl-await
- in the node REPL use
await import(...)
instead ofrequire()
- UMD obsolete due to widespread browser support for ESM Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests
- update all tests in all pkgs (8b582bc)
- update all to use @thi.ng/testament
- update all test stubs (f2d6d53)
- update imports (138571a)
- update deps & imports in various pkgs (e1cf29e)
- largely related to recent updates/restructuring of these packages:
- api
- defmulti
- errors
- logger
- largely related to recent updates/restructuring of these packages:
2.4.4 (2021-08-04)
- update weightedRandom() (70afa70)
- assume missing weights as zero
2.4.0 (2021-04-19)
- add uniqueValuesFrom/uniqueIndices() (3b3b5d8)
- HOF issue w/ exponential() (12586b9)
- minor updates weightedRandom() (c6741bc)
2.3.1 (2021-02-24)
- update weightedRandom() (b1cf4d8)
- don't throw error if total weights <= 0 (only print warning)
2.3.0 (2021-02-20)
- add coin()/fairCoin() (ed66a64)
- update uuid() (91372d9)
- reuse fn from @thi.ng/hex
2.2.0 (2021-01-13)
- add opt start index arg for uuid() (268ec3f)
- minor update weightedRandom() (258fd7b)
- avoid sorting if no weights are given
- minor update randomID() (9d278ad)
2.1.2 (2020-12-07)
- update type-only imports in various tests/pkgs (3fd9c24)
2.1.1 (2020-11-26)
- add missing subdir to pkg "files" (916dbe7)
2.1.0 (2020-11-24)
- add randomBytesFrom(), update UUID fns (b31c872)
- add @thi.ng/hex dependency
- update uuidv4Bytes() to take opt IRandom arg
- refactor/optimize uuid()
- add tests
- add distribution HOFs, move gaussian() (9328821)
- add exponential(), geometric(), normal(), uniform() HOFs
- migrate gaussian() to /distributions
2.0.0 (2020-08-28)
- add INorm, extract gaussianCLT() (c687598)
- BREAKING CHANGE: remove gaussian() from IRandom,
extract as standalone gaussianCLT()
- update gaussianCLT() default args to be more meaningful
- off-by-one error in SYSTEM.int() (ca0492d)
- update imports/docstrings (ecb2a36)
1.4.0 (2020-03-01)
- add Xoshiro128, refactor default seeds (b535628)
- use correct 160bit default seed for XorWow (38d511b)
1.3.0 (2020-02-25)
- add uuidv4Bytes() (e9ea10f)
- update imports, internal restruct (8548a80)
1.2.0 (2020-01-26)
- add randomBytes() wrapper (c536bcd)
1.1.15 (2020-01-24)
- minor update ARandom.norm() (babbbaa)
1.1.14 (2019-11-30)
- update weightedRandom (d609182)
1.1.0 (2019-02-15)
- add randomID() & weightedRandom() (f719724)
- add opt scale arg to IRandom.float() (5a7e448)
1.0.0 (2019-01-21)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
- build scripts now first build ES6 modules in package root, then call
scripts/bundle-module
to build minified CJS & UMD bundles in/lib
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
- build scripts now first build ES6 modules in package root, then call
0.1.0 (2018-11-24)
- re-import, extend & refactor random package (MBP2010) (4aea85d)