Skip to content

Latest commit

 

History

History
370 lines (244 loc) · 16.8 KB

CHANGELOG.md

File metadata and controls

370 lines (244 loc) · 16.8 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.0.1 (2025-01-14)

Bug Fixes

  • Bring back support for maker functions as values in oneOfWeighted() (195e72f)

3.0.0 (2025-01-14)

⚠ BREAKING CHANGES

  • algorithm for oneOfWeighted has better distribution (#47)

Bug Fixes

  • algorithm for oneOfWeighted has better distribution (#47) (5b9ed8e), closes #46

2.1.1 (2024-12-30)

Bug Fixes

  • oneOfWeighted remaining probability (#45) (21161d9)

2.1.0 (2024-10-10)

Features

  • support min and max Date inputs for dateString() (#41) (716c94c)

2.0.3 (2024-08-01)

Bug Fixes

  • Import js export directly for siphash (ad5323a)

2.0.2 (2024-06-04)

2.0.1 (2024-03-13)

Bug Fixes

  • types for projects with module resolution "bundler" (#38) (291e221)

2.0.0 (2024-02-22)

⚠ BREAKING CHANGES

  • someOf() with ranges always returning []

Bug Fixes

  • someOf() with ranges always returning [] (d66a0f2)

1.0.0 (2024-01-02)

⚠ BREAKING CHANGES

  • Improve float()'s distribution (#36)

Bug Fixes

0.10.1 (2023-10-05)

Bug Fixes

  • Include lorem.json when publishing (4426410)

0.10.0 (2023-10-05)

Bug Fixes

0.9.0 (2023-10-02)

0.8.6 (2023-10-02)

Bug Fixes

0.8.5 (2023-09-28)

Features

  • Expose expandRanges() and fromCodePoint() (3e4b748)

0.8.4 (2023-09-20)

0.8.3 (2023-09-20)

Bug Fixes

  • Account for setKey() now supporting string inputs in typedefs (d77a406)

0.8.2 (2023-09-13)

Features

  • Support string inputs for setKey() (15e1cce)

0.8.1 (2023-01-04)

0.7.7 (2022-10-27)

Bug Fixes

  • Change remaining % to .mod() to work with #30's change (7fb8791), closes #32

0.7.6 (2022-10-25)

0.7.5 (2022-10-25)

Bug Fixes

  • JSonSerializable typedefs to properly include nested types (5d6e204)

0.7.4 (2022-10-19)

0.7.3 (2022-10-19)

Bug Fixes

  • Limit float() to have max 5 decimal places (a073d81)

0.7.2 (2022-10-17)

Bug Fixes

  • bool() to not always return false (32bce0d), closes #30

0.7.1 (2022-10-12)

Bug Fixes

  • Fix float() to actually return floats again (05cb879)

0.7.0 (2022-10-12)

⚠ BREAKING CHANGES

  • Use Number.MAX_SAFE_INTEGER as the max for int() and float()

Features

  • Support forwarding options with oneOf() (5e10736)

Bug Fixes

  • Use Number.MAX_SAFE_INTEGER as the max for int() and float() (9ebcef8), closes #30

0.6.0 (2022-10-12)

⚠ BREAKING CHANGES

  • Use Number.MAX_SAFE_INTEGER as the max for int() and float()

Features

  • Support forwarding options with oneOf() (5e10736)

Bug Fixes

  • Use Number.MAX_SAFE_INTEGER as the max for int() and float() (9ebcef8), closes #30

0.5.0 (2022-09-19)

⚠ BREAKING CHANGES

  • Use only md5 for hashing (remove string-hash)

Features

  • Use only md5 for hashing (remove string-hash) (05d2354), closes #29

0.4.15 (2022-07-14)

0.4.14 (2022-07-14)

0.4.13 (2022-05-09)

0.4.12 (2022-05-03)

0.4.11 (2022-05-02)

0.4.10 (2022-05-02)

0.4.9 (2022-05-02)

0.4.8 (2022-04-30)

0.4.7 (2022-04-30)

0.4.6 (2022-04-30)

0.4.5 (2020-05-29)

0.4.4 (2020-05-24)

0.4.3 (2020-05-24)

Bug Fixes

  • esm: Fix paths for conditional exports (9bf236c)

0.4.2 (2020-05-24)

Bug Fixes

  • esm: Fix module paths in esm wrapper (27812db)

0.4.1 (2020-05-21)

0.4.0 (2020-05-21)

Features

  • Improve quality of results via namespaced hashes again (0f86278)

0.3.0 (2020-05-17)

Features

  • Use simpler hash inputs to improve performance (f501fdf)

0.2.0 (2020-05-17)

Features

  • char: Change char range shorthands (037b216)
  • Faster char() for ranges < 256 (ea745ea)

0.1.0 (2020-05-16)

Features

  • char: Change char api and behaviour (f2e15c5)
  • paragraph: Change {min,max}Sentences to {3,7} (6a1027d)
  • Alterations to syllables and word generation (e3ad280)
  • Consistent approach to hashing across makers (340a0db)
  • Allow multiple .options() (9e86cd8)
  • bool: Obligatory bool() generator (e67385d)
  • char: Support generating chars within a codepoint range (534db3e)
  • datestr: Support basic datestr (ea385be)
  • dateString: Support min and max year options (9a22bd6)
  • float: Support float() type (b8e047e)
  • float: Support min and max (1851528)
  • int: Support basic int() type (a9e2c1f)
  • int: Support min and max options (9e8db55)
  • join: Flatten before joining (1ff0282)
  • join: Support delimeter as joiner (1d441be)
  • join: Support join() (6ce20c6)
  • modules: Support es modules via index.mjs (e28f4f4)
  • one-of: Support basic oneOf (70ead0f)
  • oneOf: Support maker functions as items (4d80335)
  • oneOfWeighted: Support weighted choosing (784452a)
  • paragraph: Support paragraphs and sentences (ab2e6dd)
  • shape: Support generating objects of fake data (fc13ec1)
  • someOf: Support picking multiple items from sample list (afee583)
  • times: Support creating a list out of repeated calls to a maker (c279c9e)
  • tuple: Support easier composition via tuple() (0392ae4)
  • tuple: Support non-fn makers (879c1d1)
  • word: Always use unicode for individual words by default (1116dad)
  • word: Include unicode characters in generated output (acdc0ea)
  • word: Proof of concept word implementation (8f8b204)
  • word: Support capitalize option and default to true (d3fda55)
  • word: Use japenese syllables (4033e21)
  • words: Capitalize all when option is true (b64ec17)
  • words: Support words() (a68a3d2)
  • Add typescript type definitions (c245deb)
  • Exports for mjs (85a72e8)

Bug Fixes

  • Avoid rarer diacritics when unicodifying (00b4c39)
  • Ensure all types hash inputs (8562404)
  • Use compound ids for id sequences (1e1c598)
  • types: Use correct type for char() options parameter (59e8063)
  • Pass down options correctly for words and sentences (5cc21c8)
  • typedefs: Update type definitions to match api changes and additions (a9b6424)
  • Accept null inputs in curried functions (10a658f)
  • datestr: Ensure generated date strings are timezone-independent (9a237c7)
  • float: Avoid whole segment colliding with int() (b38f5ad)