Releases: hedgehogqa/fsharp-hedgehog
Releases · hedgehogqa/fsharp-hedgehog
Release v2.0.0
What's Changed
- Use different seed for each property by @AlexeyRaga in #468
- Add Property.ignoreResult combinator by @AlexeyRaga in #469
- Tagged journal by @AlexeyRaga in #470
Full Changelog: v1.1.0...v2.0.0
Release v1.1.0
What's Changed
- Revise README by @moodmosaic in #466
- Support async operations in properties by @AlexeyRaga in #464
- Fix small signature issues by @AlexeyRaga in #467
Full Changelog: v1.0.1...v1.1.0
Release v1.0.1
What's Changed
- Fix stack overflow in Shrink.elems for large lists by @moodmosaic in #463
- Add missing LINQ combinators by @AlexeyRaga in #465
Release v1.0.0
Highlights
- .NET 8 is a base line now
Hedgehog.Experimentalis merged in, andHedgehognow providesGen.autoandGen.autoWithHedgehog.Xunitis added into the repo- Uses
xUnit v3now - Better error reposting
- Uses
- C# and F# names for generators and combinators are unified (except the ones that are required for LINQ)
- C# support is polished
- Performance optimisations
- Documentation generation
Detailed change log
- Targeted only netstandard2.0 in Hedgehog.fsproj by @LyndonGingerich in #417
- Fix introductory examples by @bmitc in #421
- up deps by @dharmaturtle in #435
- Speed up recheck by @TysonMN in #433
- Fix dead end message by @TysonMN in #436
- Efficient falseToFailure by @TysonMN in #437
- Fix decimal inline conversion by @njlr in #441
- Add function Gen.timeSpan by @njlr in #442
- Add Gen.bigint by @njlr in #443
- use vite and new fable compiler by @ThisFunctionalTom in #444
- add workaround for fable decimal bug by @ThisFunctionalTom in #445
- Anchor works in the website too by @arialdomartini in #446
- Linq xml comments by @JohnEffo in #447
- Specify the YoloDev.Expecto.TestSdk package version to 0.14.3 by @jwChung in #452
- Cleanup round 1 by @AlexeyRaga in #453
- Perf optimisation by @AlexeyRaga in #456
- Merge autogen by @AlexeyRaga in #454
- Add docs by @AlexeyRaga in #457
- Install .NET 8 by @AlexeyRaga in #458
- Merge hedgehog xunit by @AlexeyRaga in #459
- Update Hedgehog.fsproj to remove quick start link by @moodmosaic in #460
- Better errors by @AlexeyRaga in #461
- Enrich and polish by @AlexeyRaga in #462
New Contributors
- @bmitc made their first contribution in #421
- @njlr made their first contribution in #441
- @arialdomartini made their first contribution in #446
- @JohnEffo made their first contribution in #447
- @AlexeyRaga made their first contribution in #453
Full Changelog: v0.13.0...v1.0.0
Version 0.13.0
- Fix bug in
Property.recheckwhere 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.applyfrom monadic to applicative. Revert runtime optimization ofGen.integral. (#398, @TysonMN) - Change
ListGen.traversefrom monadic to applicative. (#399, @TysonMN) - Fix bug in the
BindReturnmethod of thepropertyCE where the generated value is not added to the Journal. (#401, @TysonMN) - Add
BindReturnto thegenCE. This essentially changes the last call tolet!to useGen.mapinstead ofGen.bind. AddMergeSourcesto thegenandpropertyCEs. This change enables theand!syntax. (#400, @TysonMN)
Version 0.12.0
- Rename
Property.failOnFalsetoProperty.falseToFailure(#384, @TysonMN) - Add
BindReturnto thepropertyCE (#364, @TysonMN)- A breaking change. Previously, returning a
boolfrom apropertyCE (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
RecheckInfoto simplify recheck reporting (#386, @TysonMN) - Optimize rechecking by only executing the end of the
propertyCE 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.mapNvariants 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)