Skip to content

Releases: mfussenegger/mkjson

0.4.0

18 Apr 13:13
0.4.0
Compare
Choose a tag to compare

What's Changed

  • Updated dependencies

  • Improved performance of the fromRegex provider.

  • Allowed whitespace before and after parenthesis of function calls

Full Changelog: 0.3.0...0.4.0

0.3.0

01 May 14:00
0.3.0
Compare
Choose a tag to compare

Changes:

  • 97f6322 Release 0.3.0
  • e28e7a7 Use mersenne-random-pure64 RandomGen
  • 4e778eb Change asDouble to asScientific
  • b087801 Add syntax sugar for object definitions
  • 080a6cc Update images used on azure pipelines
  • f6cfe9d Use cabal file directly instead of via hpack
  • 630d051 Drop ulid and bump resolver to lts-15.0
  • bef6317 Add funding file
  • 28504d6 Handle pattern groups in fromRegex
  • a97ae9a Support lower/upper argument for randomDateTime
See More
  • f090c3c Remove stack install step from azure pipelines
  • f767665 Add alternatives to README
  • b76576f Parse field definitions without = as implicit =null()
  • 88cb2e4 Bump resolver to lts-14.3
  • 2bdbb84 Add a pattern synonym for (FunctionCall (Function ..))
  • 12a30af Support 0 or 1 arg to randomDouble
  • 54b85b9 Support zero or 1 arg to randomInt
  • b1308b3 Enable caching on azure pipelines
  • 453d77b ci: Adapt PublishPipelineArtifact path
  • 5a289d5 Bump resolver to lts-13.20
  • 9f0c38c Support signs in number literals
  • 8f1951a Add some more examples to the readme

This list of changes was auto generated.

0.2.0

07 Apr 15:21
0.2.0
Compare
Choose a tag to compare

Changes:

  • 7c8e79c Release 0.2.0
  • 78196ec Merge Object and ArrayLiteral
  • 3289cc3 Extract common logic from object & array literal
  • e955765 Add array literal support
  • 4b3cbb4 Integrate expression parsing into cli parser
  • 8458e90 Add support for JSON literals
  • ec3e3a6 Rename to mkjson
  • f46541b Add a --num option and default to 1 record
  • 8f3d767 Make parenthesis mandatory; fallback to string literal otherwise
  • 96f9293 Bump resolver to lts-13.12
See more
  • cc9e402 Use between in some parser definitions
  • 5379f1c Add some benchmarks
  • 7ee8442 Bump stack resolver to 13.7
  • f7c2a98 Treat more warnings as errors; extract Function from FC
  • dd9a560 Make Expr and Env strict
  • 5bfae80 Add a ulid provider
  • 8ec215b Replace RecordWildCards with NamedFieldPuns
  • 2794dfd Include Z as UTC marker in randomDateTime
  • fc36a77 Bump resolver to lts-13.0
  • 02e37de Add a randomDateTime provider
  • 28e9702 Add optional lower and upper arguments to randomDate
  • 0ef2efb Add a randomDate provider
  • 5d26807 Refer to pre-built binaries in README

This list of changes was auto generated.

v0.1.0

19 Dec 20:59
v0.1.0
Compare
Choose a tag to compare

Changes:

  • ad07a9b Publish static build artifacts on azure pipelines
  • 526d4ff Set more warning options
  • c65783c Add a --seed and --help argument
  • 06d6820 Handle empty Set in rndSetItem
  • e5fc740 Remove IO from fromRegex
  • 08a4ec1 Replace error calls with Either Left or throwError
  • b794b95 Make remaining functions in Aeson pure
  • 6b67df4 Make asInt pure
  • 940165b Remove maybeFail
  • 087b3f4 Make asDouble return an Either
See more
  • b4a877d Add ExceptT into the Fake monad stack
  • 305bb0a Introduce a Fake newtype
  • bbed5b5 Make fromRegex type less concrete
  • 7c7bc93 Use runExpr for doctests
  • d4cb135 Use Maybe in lower level functions instead of raising
  • 28773bf Make Env an instance of RandomGen
  • c9a15b9 Remove IO requirement from some functions
  • ea0e26c Add a randomChar provider
  • 79cea1e Add a (limited) fromRegex provider
  • 2835cf0 Add a randomBool provider
  • 560f0b4 Add a null provider
  • a9a6b45 Run tests on macOS on azure pipelines
  • 7655c02 Use glob in doctest to discover source files
  • 60fb607 Setup azure-pipelines
  • d4bef3a Change internal DoubleLiteral type to Scientific
  • 702b550 Add support for double literals
  • 007365f Move doctests to the low level functions
  • c77ed5d Fail on unknown random provider
  • 0b7a18a Extract eval implementations into top level functions
  • 4cea790 Move fake expression evaluation into a separate module
  • 976ca7e Move Aeson Value extractor functions into a separate module
  • 8d78843 Remove unused Lib file
  • 96c60ee Add a cache for fromFile
  • cfe9ced Use strict ByteString in fromFile
  • ba67a92 Allow empty string literals
  • 2caf74f Allow more chars in string literals
  • 34fd5aa Add a fromFile provider
  • 1fba836 Replace V.fromList .. replicateM with V.replicateM
  • c81a9c2 Add an object provider
  • c6ed233 Add a replicate provider
  • 0488f77 Add a oneOf provider
  • 2fe05db Add some description to the README
  • b14c9be Add a randomDouble provider
  • 2e0218e Replace withGen with state function
  • 73c6dc6 Add an array provider
  • fb7b86d Add a withGen helper
  • f1d9941 Introduce a State Monad for the generators
  • 1b2c22b Avoid do notation to print records
  • abefc84 Add a randomInt provider
  • c209ca4 Add uuid1 provider
  • 4a9d447 Remove the faker dependency
  • 5d72bbe Drop the -exe suffix from the executable

This list of changes was auto generated.