All Versions
14
Latest Version
Avg Release Cycle
127 days
Latest Release
-

Changelog History
Page 1

  • v1.5.1.0 Changes

    • ๐Ÿ‘Œ Support GHC 9.2
  • v1.5.0.0 Changes

    • โž• Add newtypes for DerivingVia (thanks, blackheaven)
    • โฌ‡๏ธ Drop compatibility with GHC 8.0 and 8.2
  • v1.4.0.0 Changes

    • โž• Add option to use only coherent instances
    • Export SetSized and SetUnsized
    • โฌ‡๏ธ Drop compatibility with GHC 7
  • v1.3.0.1 Changes

    March 24, 2020
    • ๐Ÿ›  Fix small typos in documentation.
  • v1.3.0.0 Changes

    September 07, 2019
    • โž• Add ConstrGen (custom generators for fields specified by constructor name and index).
    • Stop requiring custom generators lists to be terminated by :+ (), or to be lists at all.
    • ๐Ÿ’ฅ Breaking minor change: when a record field has a different type than a FieldGen custom generator for the same field name, this is now a compilation error. This was simply ignored before.
    • ๐Ÿ“š Miscellaneous documentation improvements in Generic.Random module.
  • v1.2.0.0 Changes

    May 31, 2018
    • ๐Ÿ›  Fix a bug where generators did not decrease the size parameter with single-field constructors

    • The sized generators now use a custom generator for lists. Use genericArbitraryRecG () to disable that. See tutorial for more information.

    • Lists of custom generators are now constructed using (:+) instead of GenList

    • ๐Ÿ“‡ Rename Field to FieldGen

    • โž• Add Gen1, Gen1_ (custom generators for unary type constructors)

    • โž• Add listOf', listOf1', vectorOf'

    • โœ‚ Remove deprecated module Generic.Random.Generic

  • v1.1.0.2 Changes

    January 12, 2018
    • ๐Ÿ‘Œ Improved performance
  • v1.1.0.1 Changes

    January 01, 2018
    • ๐Ÿ›  Fix build for GHC<8
  • v1.1.0.0 Changes

    January 01, 2018
    • โž• Add option to specify custom generators for certain fields, overriding Arbitrary instances
      • Add genericArbitraryG, genericArbitraryUG, genericArbitrarySingleG, genericArbitraryRecG
    • โž• Add GArbitrary and GUniformWeight synonyms
    • ๐Ÿ—„ Deprecate Generic.Random.Generic
    • โœ‚ Remove weights from the external API
  • v1.0.0.0 Changes

    August 23, 2017
    • ๐Ÿ‘‰ Make the main module Generic.Random
    • Rework generic base case generation
      • You can explicitly provide a trivial generator (e.g., returning a nullary constructor) using withBaseCase
      • Generically derive BaseCaseSearch and let BaseCase find small values, no depth parameter must be specified anymore
    • โž• Add genericArbitrarySingle, genericArbitraryRec, genericArbitraryU'
    • ๐Ÿ—„ Deprecate weights
    • ๐Ÿ›  Fixed bug with genericArbitrary' not dividing the size parameter