Update dependency net.jqwik:jqwik to v1.8.4 #53
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.7.4
->1.8.4
Release Notes
jqwik-team/jqwik (net.jqwik:jqwik)
v1.8.4
: Some Kotlin CareCompare Source
New and Enhanced Features
Kotlin module: Added
anyForSubtypeOf<MyInterface>()
.Many thanks to jibidus for the contribution!
Upgraded to Kotlin 1.9.23
Breaking Changes
No breaking changes
Bug Fixes
See issue 557.
v1.8.3
: Platform Upgrade and a few FixesCompare Source
New and Enhanced Features
Upgraded to KotlinX 1.8.0
Upgraded to JUnit Platform 1.10.2
Upgraded to Kotlin 1.9.22
Breaking Changes
No breaking changes
Bug Fixes
Shrinking of strings with uniqueChars() constraint did not work properly.
See issue 541.
Fixed integer generation bug with uniform distribution.
See issue 544:
v1.8.2
: Important Fixes for Java >= 18Compare Source
New and Enhanced Features
Breaking Changes
No breaking changes
Bug Fixes
Nested test containers using
@Group
have not been working properly with JDK >= 18.Now they do. See issue 528.
Fixed stack overflow exception while shrinking.
See issue 526.
Fixed out of memory error while shrinking.
See issue 527.
Many thanks to Juhan Oskar Hennoste for providing a fix.
v1.8.1
: Just Fixing BugsCompare Source
New and Enhanced Features
No new features
Breaking Changes
No breaking changes
Bug Fixes
Fixed bug when using
Combinators.combine()
on empty list of arbitraries.See issue 522.
Fixed type resolution bug.
See issue 519.
v1.8.0
: Consolidate and Move Kotlin forwardCompare Source
New and Enhanced Features
Upgraded to KotlinX 1.7.3
Upgraded to JUnit Platform 1.10.0
Upgraded to Kotlin 1.9.10
Added
StringArbitrary.uniqueChars()
to generate strings with unique characters.Discussion in issue 506.
This is an experimental feature.
Added constraint annotation
@UniqueChars
for String parameters.This is an experimental feature.
Added
Arbitraries.fromGeneratorWithSize(..)
.See issue 494.
This is an experimental feature.
The Kotlin module got a brand new Combinator DSL.
Configurators that are based on
ArbitraryConfiguratorBase
will now considerany public method the name of which starts with
configure
as a configuration method candidate.This allows heterogeneous arbitrary configurators
that differ in arbitrary type only.
Multiple
@CharRange
annotations are now also possible for@ForAll char
parameters.EXPERIMENTAL
APIs promoted toMAINTAINED
:Arbitrary.edgeCases(Consumer<EdgeCases.Config<T>> configurator)
Arbitrary.withoutEdgeCases()
@Property.edgeCases()
@ForAll.supplier()
@From.supplier()
@Provide.ignoreExceptions()
Combinator[2-8].filter(..)
ListCombinator.filter(..)
NumericalArbitrary.withDistribution(..)
TraverseArbitrary
TypeArbitrary.enableRecursion()
@UseType.enableRecursion()
DomainContext.getReportingFormats()
JqwikSession
Breaking Changes
Configurators that are based on
ArbitraryConfiguratorBase
must mark theirconfigure()
methods aspublic
.Private and package-scope methods are no longer supported considered as
configuration method candidates.
TypeUsage.canBeAssignedTo(TypeUsage)
behaves now closer to the Java compiler's rulesabout allowing assignments - including co- and contravariance.
This has the potential to break domains, arbitrary providers, and lifecycle hooks
that depend on the old, more loose, behaviour.
@Provide
methods are now matched more strictly, based on assignability of returned arbitrary type.That means that potential mismatches of generated values and the corresponding
@ForAll
parameters will show up already at property setup time through a
CannotFindArbitraryException
.StringArbitrary.repeatChars(0.0)
will now redirect toStringArbitrary.uniqueChars()
.Previously it used to just make the probability of repeating characters very low.
See discussion in issue 506.
Removed deprecated method
TypeArbitrary.use(Executable)
.Removed deprecated methods
ActionChainArbitrary.addAction(action)
and
ActionChainArbitrary.addAction(weight, action)
.Bug Fixes
Fixed bug when selecting parameterized values from domain contexts.
See issue 499.
Fixed type variable resolution bug.
See issue 492.
Fixed bug where presence of Kotlin module could mess up annotations
of parameters in Java classes.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.