All Versions
20
Latest Version
Avg Release Cycle
57 days
Latest Release
1407 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.6.2 Changes
January 31, 2021๐ Changed
strengthen
no longer returns anEither
, since the proof that it should always succeed is in its constraints.- ๐ correct
success
documentation
-
v0.6.1 Changes
August 02, 2020๐ Changed
- upper bound on QuickCheck: <2.15
-
v0.6 Changes
July 21, 2020๐ Changed
strengthen
no longer returns anEither
, since the proof that it should always succeed is in its constraints.validate
now takes aProxy
as its first argument.- ๐จ All uses of prettyprinter are now just
Text
โ Removed
- Refined.These module
- ๐จ Dependency on
prettyprinter
๐ Fixed
- ๐ bug in
sized
internal helper that caused formatting issues in sized predicate errors
-
v0.5.1 Changes
July 14, 2020๐ Changed
refineTH_
is now implemented in terms ofrefineTH
- ๐ Fix pretty-printing of
RefineException
s during compile-time
-
v0.5 Changes
July 11, 2020โ Added
- sized Predicate instances for
Text
- โ
sized Predicate instances for strict and lazy
ByteString
- INLINABLE pragmas on
refine_
reifyPredicate
NFData
instance forRefined
- RefineSomeException constructor. Enables recovering specific validation exceptions. Thanks to @haroldcarr for adding this.
- RefineXorException constructor.
Empty
andNotEmpty
predicates.NaN
andInfinite
predicates for floating-point numbers.- @since pragmas to EVERYTHING.
๐ Changed
- lower bound on mtl to 2.2.2 due to use of liftEither. Thanks to @k0ral for reporting this
- Generalize sized predicates
- ๐ Allow newer template-haskell (< 0.16 ==> < 0.17)
- ๐ Allow newer aeson (< 1.5 ==> < 1.6) Thanks to @locallycompact for this change.
โ Removed
Refined.Internal
module Thanks to @nikita-volkov for pushing me to do this.- Orphan modules Thanks to @symbiont-sam-halliday for pointing out the silliness of these modules.
RefineT
. It was a needless abstraction that just made the library harder to learn and use, providing little benefit overMaybe RefineException
. Thanks to @nikita-volkov for helping me see the light.
๐ Deprecated
- Refined.These module in favour of Data.These from these-skinny
- sized Predicate instances for
-
v0.4.4 Changes
October 18, 2019โ Added
refine_
refineTH_
- โ test suite: unit tests for compiling. ### ๐ Changed
- ๐ Allow newer
template-haskell
andQuickCheck
.
-
v0.4.3 Changes
September 17, 20192019-09-17
-
v0.4.2 Changes
May 30, 2019โ Removed
- ๐ฆ Re-removed dependency of
these
package. ### โ Added Even
,Odd
, andDivisibleBy
predicates.- โ doctests for all predicates. ### ๐ Changed
- ๐ Make all predicates unary data constructors, instead of nullary, and export those newly added constructors.
- ๐ฆ Re-removed dependency of
-
v0.4.2.3 Changes
September 17, 2019โ Added
reifyPredicate
### ๐ FixedArbitrary
instance forRefined
should now always terminate. Thanks to @symbiont-joseph-kachmar for reporting this.
-
v0.4.2.2 Changes
July 19, 2019โ Added
exceptRefine
,strengthen
, andstrengthenM