Releases: typelevel/scalacheck
v1.18.1
This is a maintenance release mostly to unblock updates in other repos that transitively depend on scala-native v0.5.5.
Highlights
- Add buildable for java.util.HashMap by @RustedBones in #1023
- Clarify API documentation of Gen.listOfN. by @kneisslm in #1061
- Update
.scalafmt.conf
. enforce new syntax by @xuwei-k in #1070
Updates
- Update auxlib, clib, javalib, nativelib, etc to:
- Update commons-lang3 to:
- Update sbt to:
- Update sbt-typelevel to:
- Update scala-library to:
- Update scalafmt-core to:
New Contributors
- @RustedBones made their first contribution in #1023
- @kneisslm made their first contribution in #1061
Full Changelog: v1.18.0...v1.18.1
v1.18.0
v1.17.1
Highlights
- fix wrong millisecond value (fixes #913) by @akonior in #924
- fix scala 3 compilation errors in user guide examples by @akonior in #925
- Fix Many Of The Warnings by @isomarcte in #928
- Add Cogen instances for SortedSet and SortedMap by @isomarcte in #927
- Added some code improvements and Removed Redundent Arguments by @aashish2054 in #942
- Add Gen.nonEmptyStringOf by @satorg in #944
- add a comment line about
nonEmptyStringOf
by @satorg in #951 - Integrate sbt-header (via sbt-typelevel) by @satorg in #959
- Fix trailing whitespaces in headers by @satorg in #963
- Add scalafmt to the repository by @satorg in #950
- Add
open
toProperties
to prevent Scala 3 compile errors by @froth in #991 - add explicit type by @xuwei-k in #1005
- Remove CODE_OF_CONDUCT, use org default [ci skip] by @valencik in #1044
- Prefer docstrings.style = AsteriskSpace by @som-snytt in #1042
Updates
- Update nscplugin, sbt-scala-native, ... to 0.4.7 by @typelevel-steward in #915
- Update scala-library to 2.12.17 by @typelevel-steward in #917
- Update sbt-typelevel-ci-release, ... to 0.4.15 by @typelevel-steward in #918
- Update scala3-library, ... to 3.2.0 by @typelevel-steward in #920
- Update sbt to 1.7.2 by @typelevel-steward in #921
- Update scala-library to 2.13.9 by @typelevel-steward in #919
- Update sbt-typelevel-ci-release, ... to 0.4.16 by @typelevel-steward in #922
- Update scala-library to 2.13.10 by @typelevel-steward in #923
- Update sbt to 1.7.3 by @typelevel-steward in #926
- Update scala3-library, ... to 3.2.1 by @typelevel-steward in #929
- Update sbt-typelevel-ci-release, ... to 0.4.17 by @typelevel-steward in #931
- Update sbt-scalajs, scalajs-compiler, ... to 1.11.0 by @typelevel-steward in #932
- Update sbt to 1.8.0 by @typelevel-steward in #934
- Update nscplugin, sbt-scala-native, ... to 0.4.9 by @typelevel-steward in #933
- Update sbt to 1.8.1 by @typelevel-steward in #935
- Update sbt to 1.8.2 by @typelevel-steward in #936
- Update sbt-typelevel-ci-release, ... to 0.4.18 by @typelevel-steward in #937
- Update scala3-library, ... to 3.2.2 by @typelevel-steward in #939
- Update sbt-jmh to 0.4.4 by @typelevel-steward in #940
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 by @typelevel-steward in #941
- Update nscplugin, sbt-scala-native, ... to 0.4.10 by @typelevel-steward in #938
- Update sbt-scala-native-crossproject, ... to 1.3.0 by @typelevel-steward in #953
- Update sbt-typelevel-ci-release, ... to 0.4.21 by @typelevel-steward in #958
- Update sbt to 1.8.3 by @typelevel-steward in #957
- Update nscplugin, sbt-scala-native, ... to 0.4.12 by @typelevel-steward in #947
- Update scalafmt-core to 3.7.4 by @typelevel-steward in #961
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.1 by @typelevel-steward in #954
- Update sbt-scala-native-crossproject, ... to 1.3.1 by @typelevel-steward in #955
- Update sbt-jmh to 0.4.5 by @typelevel-steward in #964
- Update sbt-typelevel to 0.4.22 by @typelevel-steward in #966
- Update scala-library to 2.13.11 by @typelevel-steward in #972
- Update sbt to 1.9.0 by @typelevel-steward in #962
- Update nscplugin, sbt-scala-native, ... to 0.4.14 by @typelevel-steward in #967
- Update scala3-library, ... to 3.3.0 by @typelevel-steward in #960
- Update scala-library to 2.12.18 by @typelevel-steward in #971
- Update sbt to 1.9.1 by @typelevel-steward in #975
- Update scalafmt-core to 3.7.6 by @typelevel-steward in #977
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @typelevel-steward in #974
- Update to sbt-typelevel 0.5.0-RC1 by @armanbilge in #973
- Update sbt-typelevel to 0.5.0-RC5 by @typelevel-steward in #978
- Update scalafmt-core to 3.7.7 by @typelevel-steward in #980
- Update sbt to 1.9.2 by @typelevel-steward in #982
- Update scalafmt-core to 3.7.9 by @typelevel-steward in #985
- Update sbt-typelevel to 0.5.0-RC7 by @typelevel-steward in #983
- Update sbt to 1.9.3 by @typelevel-steward in #989
- Update sbt-typelevel to 0.5.0-RC9 by @typelevel-steward in #988
- Update scalafmt-core to 3.7.10 by @typelevel-steward in #986
- Update scalafmt-core to 3.7.12 by @typelevel-steward in #995
- Update scala3-library, ... to 3.3.1 by @typelevel-steward in #1004
- Update sbt to 1.9.4 by @typelevel-steward in #999
- Update sbt-jmh to 0.4.6 by @typelevel-steward in #1003
- Update scalafmt-core to 3.7.14 by @typelevel-steward in #1001
- Update nscplugin, sbt-scala-native, ... to 0.4.15 by @typelevel-steward in #1002
- Update sbt to 1.9.5 by @typelevel-steward in #1009
- Update sbt to 1.9.6 by @typelevel-steward in #1010
- Update commons-lang3 to 3.13.0 by @typelevel-steward in #992
- Update scalafmt-core to 3.7.15 by @typelevel-steward in #1016
- Update sbt to 1.9.7 by @typelevel-steward in #1015
- Update sbt-typelevel to 0.6.0 by @typelevel-steward in #1017
- Update sbt-typelevel to 0.6.2 by @typelevel-steward in #1020
- Update nscplugin, sbt-scala-native, ... to 0.4.16 by @typelevel-steward in #1014
- Update sbt-scalajs, scalajs-compiler, ... to 1.14.0 by @typelevel-steward in #1012
- Update scalafmt-core to 3.7.17 by @typelevel-steward in #1021
- Update sbt-typelevel to 0.6.4 by @typelevel-steward in #1027
- Update sbt to 1.9.8 by @typelevel-steward in #1026
- Update sbt-jmh to 0.4.7 by @typelevel-steward in #1025
- Update scala-library to 2.13.12 by @typelevel-steward in #1007
- Update sbt-typelevel to 0.6.5 by @typelevel-steward in #1029
- Update scalafmt-core to 3.8.0 by @typelevel-steward in #1034
- Update scala3-library, ... to 3.3.3 by @typelevel-steward in #1039
- Update sbt to 1.9.9 by @typelevel-steward in #1035
- Update sbt-typelevel to 0.6.7 by @typelevel-steward in #1036
- Update commons-lang3 to 3.14.0 by @typelevel-steward in #1022
- Update sbt-scalajs, scalajs-compiler, ... to 1.15.0 by @typelevel-steward in #1030
- Update nscplugin, sbt-scala-native, ... to 0.4.17 by @typelevel-steward in #1032
- Update scala-library to 2.12.19 by @typelevel-steward in https://github.com/typelevel/scalacheck/pu...
ScalaCheck v1.17.0
Highlights
- Keep the same error type while shrinking by @AurelienRichez in #838
- Fix the cross-platform time arbitraries, again by @armanbilge in #889
- [Commands] Fix MatchError when using multiple workers by @yannkaiser-asana in #894
- fix wrong match in shrinker (fixes #909) by @AurelienRichez in #910
- Deterministically vary the number of seed slides in Test.check by @leviramsey in #911
New Contributors
- @yannkaiser-asana made their first contribution in #894
- @AurelienRichez made their first contribution in #838
Full Changelog: v1.16.0...v1.17.0
ScalaCheck v1.16.0
ScalaCheck 1.16.0 is binary compatible with the 1.15.x and 1.14.x series. It is published for Scala 2.12, 2.13, and 3.1+ with Scala.js 1.8+ and Scala Native 0.4. This release is the first to support Scala 3 on the Native platform.
User-facing PRs
- Adds Discord badge by @paualarco in #814
- ScalaCheck follows semver since 1.14.x by @larsrh in #793
- Improve docs for Arbitrary by @ashawley in #806
- Update examples to 3.0 by @ashawley in #813
- Add badge to README showing supported versions of Scala by @rtyley in #819
- Fix
Arbitrary[Year]
instance max value by @dantb in #825 - Check roundtrip in serialize tests by @ashawley in #829
- Fix
Arbitrary[Char]
generates 0xFFFE (not a character in Unicode) by @kadzuya in #835 - Ensure preconditions are satisified when shrinking Commands actions by @jonaskoelker in #739
- Support
java.time
arbitraries on Scala.js & Native by @armanbilge in #830 - Enable published snapshots by @armanbilge in #877
- Onwards and upwards by @armanbilge in #879
Thank you all!
Full Changelog: 1.15.4...v1.16.0
Scalacheck 1.15.4
- Binary compatible with 1.15.3 version of ScalaCheck.
Added
-
Add Arbitrary[Symbol] by @ashawley
-
Add Cogen Instance For UUID by @isomarcte
#763
Changed
-
Verbosity level for pretty-printing proofs by @ashawley
#789 -
Initialize StringBuilder to suitable size by @martijnhoekstra
#778 -
update ScalaCheck version in examples by @SethTisue
#766
Fixed
Scalacheck 1.15.3
- Binary compatible with 1.15.2 version of ScalaCheck.
Changed
-
Update Scala.js to 1.5.0
#757 -
Add Cogen.domainOf by @nigredo-tori
#756
Fixed
- Make printing of Commands failures more readable by @jonaskoelker
#634
Scalacheck 1.15.2
Scalacheck 1.15.1
Scalacheck 1.15.0
Compatibility
-
Binary compatible with 1.14.3 version of ScalaCheck.
-
Source incompatible type signatures of
Gen.atLeastOne
andGen.someOf
in Scala 2.13 artifact(s) of 1.14.3 version of ScalaCheck that will be fixed in 1.15.1.
Changed
-
Dropped support for Scala 2.10.x
-
Remove implicit for
Prop.BooleanOperators
which was deprecated in 1.14.1 in favor ofProp.propBoolean
#667 -
Added support for Dotty (currently 0.27)
-
Various improvements to
Gen
andArbitrary
#575 -
Improvements to
Char
andString
generators #653 -
Single-argument
Prop.collect
is deprecated #449
Fixed
-
Prevent nesting properties #677
-
Seed with four zeroes is not allowed #674
-
Printing order of shrunk values #635
-
Initial seed was reused #651
Added
-
Choose[BigDecimal]
#670 -
Choose[BigInt]
#636 -
Statistical distributions (e.g. Gaussian, Poisson) #656
-
Shrinking with
LazyList
for Scala 2.13 compatibility #626 #627 -
Shrink.suchThat
#484
This release was brought to you by 16 contributors, according to git shortlog -sn --no-merges 1.14.3..1.15.0
. Thank you Scala Steward, Aaron S. Hawley, Erik Osheim, Lars Hupel, Dolan Murvihill, Alexey Kotlyarov, Zak, Seth Tisue, Taro L. Saito, Neville Li, P. Oscar Boykin, Guillaume Martres, Sean C. Sullivan, Fred Roth, Jonas Kölker, NthPortal.