Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update dependency net.jqwik:jqwik to v1.9.2 #34

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 2, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.jqwik:jqwik (source) 1.7.4 -> 1.9.2 age adoption passing confidence

Release Notes

jqwik-team/jqwik (net.jqwik:jqwik)

v1.9.2: Minor Bugfix

Compare Source

New and Enhanced Features
  • Upgraded to Kotlin 2.1.0
Breaking Changes
  • The bug fix for issue 599 can
    lead to different exception types - IllegalArgumentException instead of CannotFindArbitraryException -
    for provider methods that create objects of the wrong type.
Dependency Upgrades and Bug Fixes
  • Fixed bug reported in issue 599
    by making return type matching for provider methods loose again.

v1.9.1: JqwikSession Enhancements

Compare Source

New and Enhanced Features
  • Introduced API to handle random seeds outside jqwik's lifecycle.
    See issue 581.

    • Added JqwikSession.getRandom()
    • Added JqwikSession.start(String randomSeed)
    • Added JqwikSession.run(String randomSeed, Runnable runnable)
Breaking Changes

No breaking changes

Dependency Upgrades and Bug Fixes
  • Upgrade to Gradle 8.10.2
  • Upgraded to JUnit Platform 1.11.1
  • Upgraded to KotlinX 1.9.0

v1.9.0: Kotlin 2.0 and Nullability Annotations

Compare Source

New and Enhanced Features
  • Upgraded to Kotlin 2.0.0

  • Upgraded to JUnit Platform 1.10.3

Breaking Changes
  • StatisticsCoverage.checkQuery(Predicate<? super List<?>> query):
    query is now of type Predicate<? super List<?>> instead of Predicate<? super List<Object>>.

  • Nullability annotations have been added to many API methods and interfaces.
    This could lead to compile-time warnings or errors in your code if you are using tool chains that validate those.

  • UniqueElements.by() now requires a Class<? extends Function<? extends @&#8203;Nullable Object, ?>>
    instead of a Class<? extends Function<?, Object>>.

Bug Fixes
  • Tools like CheckerFramework did not play well with jqwik's (wrong) usage of @Nullable on type variables.
    This has been fixed. See issue 575 for details.
    Thanks to vlsi for working out all the nitty, gritty details!

  • Fixed type matching bug as revealed in this comment

v1.8.5: Bug Fix

Compare Source

New and Enhanced Features
  • Upgraded to Kotlin 1.9.24
Bug Fixes
  • Fixed bug that led to duplicate lifecycle invocations under inheritance.
    See issue 562.

v1.8.4: Some Kotlin Care

Compare 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
  • Fixed bug in Kotlin module that let Java properties fail.
    See issue 557.

v1.8.3: Platform Upgrade and a few Fixes

Compare 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 >= 18

Compare Source

New and Enhanced Features
  • Upgraded to JUnit Platform 1.10.0
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 Bugs

Compare 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 forward

Compare 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 consider
    any 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 to MAINTAINED:

    • 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 their
    configure() methods as public.
    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 rules
    about 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 to StringArbitrary.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 - "* 0-3 * * *" (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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Sep 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (10d8e33) 95.19% compared to head (93e9f92) 95.19%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #34   +/-   ##
=========================================
  Coverage     95.19%   95.19%           
  Complexity     1067     1067           
=========================================
  Files           242      242           
  Lines          2766     2766           
  Branches         51       51           
=========================================
  Hits           2633     2633           
  Misses          126      126           
  Partials          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.8.0 Update dependency net.jqwik:jqwik to v1.8.1 Oct 20, 2023
@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.8.1 Update dependency net.jqwik:jqwik to v1.8.2 Nov 23, 2023
@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.8.2 Update dependency net.jqwik:jqwik to v1.8.3 Feb 23, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.19%. Comparing base (f544e7c) to head (170d76c).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #34   +/-   ##
=========================================
  Coverage     95.19%   95.19%           
  Complexity     1067     1067           
=========================================
  Files           242      242           
  Lines          2766     2766           
  Branches         51       51           
=========================================
  Hits           2633     2633           
  Misses          126      126           
  Partials          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.8.3 Update dependency net.jqwik:jqwik to v1.8.4 Mar 15, 2024
@renovate renovate bot force-pushed the renovate/jqwik branch from 9541627 to 1a91b53 Compare March 15, 2024 11:11
@renovate renovate bot force-pushed the renovate/jqwik branch from 1a91b53 to 9888e49 Compare May 24, 2024 09:21
@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.8.4 Update dependency net.jqwik:jqwik to v1.8.5 May 24, 2024
@renovate renovate bot force-pushed the renovate/jqwik branch from 9888e49 to 3131e5e Compare June 28, 2024 09:55
@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.8.5 Update dependency net.jqwik:jqwik to v1.9.0 Jun 28, 2024
@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.9.0 Update dependency net.jqwik:jqwik to v1.9.1 Sep 30, 2024
@renovate renovate bot changed the title Update dependency net.jqwik:jqwik to v1.9.1 Update dependency net.jqwik:jqwik to v1.9.2 Dec 3, 2024
@DavidGregory084 DavidGregory084 merged commit d81e05b into main Dec 6, 2024
3 checks passed
@renovate renovate bot deleted the renovate/jqwik branch December 6, 2024 20:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants