Skip to content

0.9.1

Compare
Choose a tag to compare
@fthomas fthomas released this 02 Nov 05:40
· 1571 commits to master since this release
v0.9.1
170d018

New features

  • Add new Trimmed predicate and use it to implement TrimmedString.
    This also adds TrimmedString.trim to create a TrimmedString from
    an arbitrary String and an Arbitrary instance for TrimmedString.
    (#504 by @ceedubs)
  • Add Arbitrary instances for NonEmpty Lists and Vectors.
    (#486 by @fthomas)
  • New predicates ValidByte, ValidShort, and ValidFloat that check
    if a String is a parsable Byte, Short, or Float.
    (#492 by @sh0hei)

Changes

  • Add tests for refined types.
    (#493 by @rider-yi)
  • Improve performance of RefinedType#unsafeFrom.
    (#499 by @fthomas)
  • A String containing line terminators is a valid TrimmedString.
    (#504 by @ceedubs)

Deprecations

  • Deprecate RefType#refineMF in favor of RefinedTypeOps.
    (#514 by @fthomas)

Updates

Released on 2018-06-27