MIT licensed by Tom Sydney Kerckhove
Maintained by [email protected]
This version can be pinned in stack with:genvalidity-bytestring-1.0.0.1@sha256:aa853d513d4474ac1cf99aa1cd82d4a57a93103a6bd869eeed5798e4e08108e0,1955

Module documentation for 1.0.0.1

Changes

Changelog

[1.0.0.1] - 2022-08-30

Added

  • Shrinking benchmarks

[1.0.0.0] - 2021-11-20

Changed

  • Compatibility with genvalidity >= 1.0.0.0

Removed

  • genTrulyUncheckedStrictByteString
  • shrinkTrulyUncheckedStrictByteString
  • genTrulyUncheckedLazyByteString
  • shrinkTrulyUncheckedLazyByteString

[0.6.0.0] - 2020-04-17

Added

  • genStrictByteStringBy
  • genLazyByteStringBy
  • genLazyByteStringByStrictByteString
  • Benchmarks for the generators

Changed

  • Strict Bytestrings are now generated up to 4x faster.
  • Lazy Bytestrings are now generated to usually have multiple chunks.

[0.5.0.1] - 2020-02-10

  • Improved the cabal file

[0.5.0.0] - 2019-03-06

Added

  • genTrulyUncheckedLazyByteString
  • shrinkTrulyUncheckedLazyByteString

Changed

  • Removed the ‘GenUnchecked’ and ‘GenInvalid’ instances for both strict and lazy ByteStrings
  • Poisoned those two instances as well.

[0.4.1.0] - 2019-03-06

Added

  • ‘GenUnchecked’ and ‘GenValid’ for ‘ShortByteString’

[0.4.0.0] - 2019-03-06

Added

  • genTrulyUncheckedStrictByteString
  • shrinkTrulyUncheckedStrictByteString

Changed

  • The ‘genUnchecked’ instance of ‘Strict.ByteString’ and ‘Lazy.ByteString’ now error instead of generating values that segfault.

[0.3.0.2] - 2019-02-28

Changed

  • Clearer documentation

[0.3.0.1] - 2018-10-07

Changed

  • Test suite compatibility with validity >= 0.9

[0.3.0.0] - 2018-08-25

Added

  • GenUnchecked, GenValid and GenInvalid, instances for lazy ByteString.

Changed

  • genUnchecked :: Gen ByteString now generates much more unchecked values according to the new validity-bytestring. If you experience unexpected segfaults, the problem could be that you are using unchecked ByteStrings where you should be using valid ByteStrings.

Older versions

No history before version 0.3.0.0