Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update version.jqwik to v1.4.0 #6299

Merged
merged 2 commits into from Feb 12, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 10, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.jqwik:jqwik-api (source) 1.3.10 -> 1.4.0 age adoption passing confidence
net.jqwik:jqwik (source) 1.3.10 -> 1.4.0 age adoption passing confidence

Release Notes

jlink/jqwik

v1.4.0

Compare Source

New and Enhanced Features
  • Upgrade to JUnit Platform 1.7.1

  • Using @Property(edgeCases = NONE) will now also suppress the generation of
    edge cases in embedded arbitraries.

  • You now have the capability to configure an
    arbitrary's edge case generation.

  • There is a new annotation attribute @Property.whenSeedFixed and a new
    configuration parameter
    jqwik.seeds.whenfixed
    to warn or even fail when a property has been given a fixed random seed.
    See this issued for more details.
    Many thanks to osi for this contribution.

  • jqwik's approach to specify uniqueness of generated objects has been completely revamped:

    • Arbitrary.unique() and the annotation @Unique are now deprecated and will
      be removed in version 1.5.
    • Uniqueness constraints
      are now handled by the elements' container.
    • The new annotation to require uniqueness
      is called @UniqueElements and applied to the container's type.
  • Arbitraries modified through Arbitrary.unique(), which is deprecated anyway,
    no longer generate edge cases. This is actually a bug fix since the
    generated edge were not considered for uniqueness.

  • There's a new jqwik module jqwik-time
    which simplifies the generation of dates (and times in a future release).
    Many thanks to zinki97 for this contribution.

  • There's a new jqwik module jqwik-web
    which is currently home of email addresses generation.

  • Configuration parameters are now loaded via JUnit's
    Configuration Parameters mechanism.
    Parameters specified in jqwik.properties continue to work, but are considered deprecated.
    Log messages will be emitted for any used properties with their new name.
    Some parameter names have also changed.
    Many thanks to osi for this contribution.

  • Using internal Kotlin methods as properties will now produce the correct name
    as seen in the Kotlin source code.

  • The User Guide has been restructured.

  • There will now be a warning log entry when a property with more than 1 try has no
    '@鈥婩orAll' parameters.

  • Promoted APIs from EXPERIMENTAL to MAINTAINED

    • Mostly everything in package net.jqwik.api.lifecycle
    • Method Arbitrary.dontShrink()
    • Method Combinators.CombinableBuilder.inSetter(..)
    • Class PropertyDefaults
    • Class Reporter
    • Class SampleReportingFormat
    • Method Tuple.of()
    • Method Tuple.empty()
    • Method BigDecimalArbitrary.shrinkTowards(..)
    • Method BigIntegerArbitrary.shrinkTowards(..)
    • Method ByteArbitrary.shrinkTowards(..)
    • Method DoubleArbitrary.shrinkTowards(..)
    • Method FloatArbitrary.shrinkTowards(..)
    • Method IntegerArbitrary.shrinkTowards(..)
    • Method LongArbitrary.shrinkTowards(..)
    • Method ShortArbitrary.shrinkTowards(..)
    • Method SetArbitrary.mapEach(..)
    • Method SetArbitrary.flatMapEach(..)
    • Method ListArbitrary.mapEach(..)
    • Method ListArbitrary.flatMapEach(..)
    • Method ActionSequence.withInvariant(..)
    • Method Statistics.coverage(..)
    • Method StatisticsCollector.coverage(..)
    • Class StatisticsCoverage
    • Class StatisticsEntry
Breaking Changes
  • Arbitraries.emails() has been moved to net.jqwik.web.api.Web.emails() in new
    Web module.

  • @net.jqwik.api.constraints.Email annotation has been moved to
    @net.jqwik.web.api.Email in new
    Web module.

  • Parameters annotated with @Email will by default only generate
    "standard" email addresses.

  • Removed deprecated APIs

    • Arbitrary.samples(..)
    • Interface FalsificationResult
    • SampleReportingFormat.reportJavaBean(..)
    • Shrinkable.shrink(Falsifier<T> falsifier)
    • Interface ShrinkingSequence
    • CharacterArbitary.with(Arbitrary<Character> characterArbitrary)
    • StringArbitary.withChars(Arbitrary<Character> characterArbitrary)
  • Unconstrained wildcards are no longer handled in a special way
    but just like unconstrained type variables.

  • Arbitrary.array(..) now returns ArrayArbitrary instead of StreamableArbitrary

Bug Fixes
  • Fixed bug that could lead to strange edge case generation behaviour
    when Arbitrary.edgeCases(edgeCasesConfig) was used.

Renovate configuration

馃搮 Schedule: At any time (no schedule defined).

馃殾 Automerge: Disabled by config. Please merge this manually once you are satisfied.

鈾伙笍 Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

馃敃 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

@npepinpe
Copy link
Member

@deepthidevaki can you have a look? It seems the new version breaks some things during compilation.

@deepthidevaki
Copy link
Contributor

@npepinpe It is dependency conflicts. Please review it, so that I don't approve my own changes 馃槃

@deepthidevaki deepthidevaki requested review from npepinpe and removed request for deepthidevaki February 11, 2021 14:26
Copy link
Member

@npepinpe npepinpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃憤

Thanks for looking into it.

@deepthidevaki
Copy link
Contributor

bors r+

@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented Feb 12, 2021

Build succeeded:

@zeebe-bors zeebe-bors bot merged commit 84be4aa into develop Feb 12, 2021
@zeebe-bors zeebe-bors bot deleted the renovate/version.jqwik branch February 12, 2021 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants