Releases: hedgehogqa/fsharp-hedgehog
Releases · hedgehogqa/fsharp-hedgehog
Version 0.13.0
- Fix bug in
Property.recheck
where the result is alwaysFailed
. (#415, @TysonMN) - Runtime targets are now .NET Standard 2.0, .NET 4.8. and .NET 6.0. (#416, @LyndonGingerich)
Version 0.12.1
- Add
Tree.apply
. ChangeGen.apply
from monadic to applicative. Revert runtime optimization ofGen.integral
. (#398, @TysonMN) - Change
ListGen.traverse
from monadic to applicative. (#399, @TysonMN) - Fix bug in the
BindReturn
method of theproperty
CE where the generated value is not added to the Journal. (#401, @TysonMN) - Add
BindReturn
to thegen
CE. This essentially changes the last call tolet!
to useGen.map
instead ofGen.bind
. AddMergeSources
to thegen
andproperty
CEs. This change enables theand!
syntax. (#400, @TysonMN)
Version 0.12.0
- Rename
Property.failOnFalse
toProperty.falseToFailure
(#384, @TysonMN) - Add
BindReturn
to theproperty
CE (#364, @TysonMN)- A breaking change. Previously, returning a
bool
from aproperty
CE (after usinglet!
) caused the CE to have return typeProperty<unit>
. Now this results in a return type ofProperty<bool>
. The previous behavior can now be expressed by piping theProperty<bool>
instance intoProperty.falseToFailure
.
- A breaking change. Previously, returning a
- Change recheck API to accept recheck data encoded as
string
(#385, @TysonMN) - Add
RecheckInfo
to simplify recheck reporting (#386, @TysonMN) - Optimize rechecking by only executing the end of the
property
CE with the shrunken input (#336, @TysonMN)
Version 0.11.1
Version 0.11.0
- Improved integral shrink trees to match behavior of binary search (#239, @TysonMN)
- Add render functions (#274, @adam-becker)
- fix link to tutorial in nuget package (#305, @ThisFunctionalTom)
- made Seq module internal and moved to own file (#307, @TysonMN)
- Sort .editorconfig properties (#308, @adam-becker)
- Remove PropertyConfig.coalesce (#309, @adam-becker)
- Move property config to its own file. (#311, @adam-becker)
- Add property args structure. (#312, @adam-becker)
- Rename the parameters of Range.exponentialFrom (and friends) (#315, @dharmaturtle)
- Implement Property.select via bind to avoid bug (#318, @TysonMN)
- Remove duplicates in frequency shrink tree (#321, @TysonMN)
- Special processing for printing ResizeArray<_> in Property.forAll #323 (#324, @altxt)
- Fix for counterexample crashing bug #327 (#328, @TysonMN)
- Refactors to simplify code mostly for takeSmallest (#334, @TysonMN)
- Remove extra sized call (#337, @adam-becker)
- Implement
Gen.mapN
variants withGen.apply
(#338, @adam-becker) - allow tests to access internal scope (#344, @TysonMN)
- change access scope for two top-level modules from private to internal (#345, @TysonMN)
- improve function name takeSmallest to shrinkInput in Property (#347, @TysonMN)
- Add error handling to Property.map (#348, @TysonMN)
- Add contributing guidelines. (#349, @adam-becker)
- Update benchmark project (#350, @adam-becker)
- Deprecate gen functions (#351, @adam-becker)
- Remove 'Random.Builder' (#352, @adam-becker)
- make Gen.{sample, sampleTree} and Random.replicate lazy (#354, @TysonMN)
- Better C# example in README.md. (#355, @adam-becker)
- remove Property.ofThrowing (#357, @TysonMN)
- Fixed import namespace in cshrp sample (#358, @lupin-de-mid)
- Fix order of arguments to Expect.equal (#361, @TysonMN)
- Fix a few things in our Seed implementation (#362, @adam-becker)
- Utilize Property.set internally (#363, @TysonMN)
Version 0.10.0
- Add
PropertyConfig
(#288, @dharmaturtle) - Add
OptionTree.traverse
(#282, @TysonMN) - Use fsdocs (#277, @adam-becker)
- Rearrange parameters for better chaining (#266, @adam-becker)
- Rearrange
Tree.bind
parameters (#300, @adam-becker)
- Rearrange
- Add
ListGen.traverse
(#260, @TysonMN) - Improve and extend DateTime/DateTimeOffset generation (#252, @cmeeren)
- Split Property.fs across multiple files (#247, @adam-becker)
- Add support for LINQ via Hedgehog.Linq namespace (#244, @adam-becker)
- Switch to Fable.Mocha (#196, @ThisFunctionalTom)
Version 0.9.0
- Add Gen.single and Gen.decimal.
- Add Property.recheck.
- Remove additional space in Tree.render.
- Improve Range documentation.
- Improve Gen.list.
- Add Tree.render.
- Improve Gen.frequency documentation.
- Mangle compiled name for functions that cannot be called from langs other than F#.
- Explicitly instantiate static inline functions for C# callers.
- Add missing internal conversions to bigint in Numeric.fs.
- Add LINQ support for Range.
Version 0.8.4
Target .NET Standard 2.0 and .NET Framework 4.5.
Version 0.8.3
Improve Int64 generator.
Version 0.8.2
Improve DateTime, UInt32 and UInt64 generators.