Skip to content

Latest commit

 

History

History
258 lines (146 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

258 lines (146 loc) · 10.4 KB

Changelog

Notable changes to this project are documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

Breaking changes:

New features:

Bugfixes:

Other improvements:

v8.0.1 - 2022-04-27

Bugfixes:

  • Remove duplicate numbers import from the bower.json file to support publishing to Pursuit (#128 by @thomashoneyman)

v8.0.0 - 2022-04-27

Breaking changes:

  • Migrate FFI to ES modules (#130 by @kl0tl and @JordanMartinez)

  • Replaced polymorphic proxies with monomorphic Proxy (#132 by @JordanMartinez)

  • Make frequency use NonEmptyArray (#131 by @JordanMartinez)

    Now oneOf and frequency both use NonEmptyArray rather than NonEmptyList.

New features:

Bugfixes:

  • quickCheckPure and quickCheckPure' stack safety (#127)

Other improvements:

  • Drop math dependency; update imports (#133 by @JordanMartinez)

v7.1.0 - 2021-04-27

New features:

  • Export enum and randomSampleOne (#125 by @JordanMartinez)

Other improvements:

  • Fix warning revealed by v0.14.1 PS release (#125 by @JordanMartinez)

v7.0.0 - 2021-02-26

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#115)
  • Fixed genericCoarbitrary so it no longer explicitly relates to the generated data (#99)
  • Replaced NonEmpty Array and NonEmpty List with NonEmptyArray and NonEmptyList (#118)
  • Replaced globals dependency with numbers (#120)

New features:

  • Added randomSampleOne (#114)

Bugfixes:

  • Allowed full Number range for chooseFloat (#97)

Other improvements:

  • Dropped generics-rep dependency as its now included in prelude (#121)
  • Replaced monomorphic proxies with Type.Proxy.Proxy and polymorphic variables (#116)
  • Migrated CI to GitHub Actions and updated installation instructions to use Spago (#117)
  • Added a changelog and pull request template (#122, #123)

v6.1.0 - 2019-03-04

  • Added some functions to give better reporting abilities for pure QuickCheck runs

v6.0.0 - 2019-03-02

  • Moved guide over from documentation repo (@anttih)
  • Bumped dependencies

v5.0.0 - 2018-05-24

  • Updated for PureScript 0.12

v4.7.0 - 2018-03-30

  • Added quickCheckGen and some variants that specialize the properties to be Gen-based (for convenience when using MonadGen-constrained properties)
  • Added instances for NonEmptyArray and NonEmptyString (@matthewleon)

v4.6.2 - 2018-02-26

  • Fixed resize resetting seed (@matthewleon)

v4.6.1 - 2017-12-20

  • Fixed behaviour of resize (@safareli) Previously resize would alter the state of Gen forever, rather than it being local to the Gen that was passed into resize. This may alter the behaviour of some existing tests if they relied on the buggy behaviour.

v4.6.0 - 2017-09-02

  • Added Arbitrary instance for records (@sharkdp)

v4.5.0 - 2017-09-01

  • Added some more helper comparison operations (@Risto-Stevcev)

v4.4.0 - 2017-06-18

  • Added Lazy instance for Gen

v4.3.0 - 2017-06-03

  • Added generic deriving for Arbitrary and Coarbitrary (@LiamGoodacre)

v4.2.0 - 2017-06-03

  • Added shuffle generator (@matthewleon)

v4.1.0 - 2017-05-28

  • Added MonadGen instance

v4.0.0 - 2017-03-27

  • Updated for PureScript 0.11
  • Use NonEmpty for Gens where called for (@matthewleon)
  • Improved behaviour of chooseInt (@matthewleon)
  • Added Arbitrary and Coarbitrary instances for NonEmpty and NonEmptyList (@matthewleon)
  • Added enum Gen for BoundedEnum values (@matthewleon)

v3.1.1 - 2016-11-22

  • Fixed shadowed variable warning

v3.1.0 - 2016-11-07

  • Added suchThat combinator for Gens

v3.0.0 - 2016-10-16

  • Updated lists dependency

v2.0.0 - 2016-10-14

  • Updated dependencies
  • Stack safety improvement to quickCheck functions
  • LCG clamping behaviour was fixed
  • Seed is now printed for failing cases
  • Tests can now be started with a specific seed

v1.0.0 - 2016-06-01

This release is intended for the PureScript 0.9.1 compiler and newer. Note: The v1.0.0 tag is not meant to indicate the library is “finished”, the core libraries are all being bumped to this for the 0.9 compiler release so as to use semver more correctly.

  • Update dependencies and fix warnings

v0.12.2 - 2015-12-16

  • Fixed repeatable.

v0.12.1 - 2015-11-19

  • Fixed import warnings raised in psc 0.7.6

v0.12.0 - 2015-09-16

  • Bumped dependencies
  • Fixed unused type variable warnings

v0.11.0 - 2015-08-25

  • Bumped transformers dependency to 0.7.1. As such, this release requires version 0.7.4 of the PureScript compiler.

v0.10.1 - 2015-08-17

  • Added Arbitrary and Coarbitrary instances for Identity, Lazy, and List.

v0.10.0 - 2015-08-16

  • Gen should now be stack safe (@hdgarrood)

v0.9.0 - 2015-08-13

  • Updated dependencies

v0.8.0 - 2015-08-10

  • Fixed poorly behaving LCG. This also involved some breaking changes to the interface (a newtype for Seed for one) (@hdgarood)
  • Updated dependencies

v0.7.0 - 2015-07-17

  • Modified QC type synonym to work around type class instance bug in PSCi.

v0.6.0 - 2015-06-30

This release works with versions 0.7.* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library.

  • Fixed LCG function.

v0.5.2 - 2015-04-04

  • Added Arbitrary and CoArbitrary instances for Unit and Ordering (@garyb)

v0.5.1 - 2015-03-20

  • Updated docs

v0.5.0 - 2015-02-21

This release requires PureScript v0.6.8 or later

  • Updated dependencies

v0.4.0 - 2015-01-10

  • Updated purescript-foldable-traversable dependency (@garyb)
  • Added (===) and (/==) combinators (@MichaelXavier)

v0.3.2 - 2014-12-02

  • Bumped dependencies

v0.3.1 - 2014-11-26

  • Removed enums dependency and update other dependencies (#16)

v0.3.0 - 2014-11-08

  • Reverted to pre-'machines' state. strongcheck is recommended if you need the industrial-strength version of this library, until the necessary libraries are moved into the core GitHub organization.

v0.2.2 - 2014-10-14

  • Updated dependencies and add arb / coarb for Char (#11)

v0.2.1 - 2014-10-13

  • Exported functions of type classes, fix dependency versions, added some overlooked conveniences (@jdegoes)

v0.2.0 - 2014-10-10

  • Made general enhancements to Gen (#9)

v0.1.5 - 2014-09-26

  • Added instances for Either, Waybe, and Tuple, and some helper functions (#8)

0.1.4 - 2014-09-25

  • Added instances for String & alpha num String add sized generators (#7)

v0.1.3 - 2014-08-07

  • Updated for new exceptions

v0.1.2 - 2014-06-14

  • Now uses "proper" Unit type instead of {} (garyb)

v0.1.1 - 2014-04-27

  • Removed version, updated ignored files

v0.1.0 - 2014-04-27

  • Initial release