Skip to content

Performance, Bugs and Small Things

Compare
Choose a tag to compare
@jlink jlink released this 09 Jan 10:27
· 324 commits to main since this release

New and Enhanced Features

  • Introduced Arbitrary.ignoreExceptions(exType1, exType2, ...).

  • Introduced
    @Provide(ignoreExceptions = {<ExceptionType>})
    attribute, which allows to ignore exceptions in provider methods in a simple way.

  • Introduced Footnotes.addAfterFailure(Supplier<String>).
    See #310.

  • Fixed quite a few performance and memory issues by means of merging pull requests
    from vlsi. Thanks a lot!

  • All methods of net.jqwik.api.Arbitrary and subtypes now have @CheckReturnValue annotation.
    That means you will get a warning from your IDE if you don't use the result of an arbitrary method,
    given that you have org.jetbrains:annotations as a compile-time dependency.

  • Upgrade to Kotlin 1.8.0

Breaking Changes

  • Renamed ChainArbitrary.addTransformation(..) to ChainArbitrary.withTransformation(..)

  • Renamed ActionChainArbitrary.addAction(..) to ActionChainArbitrary.withAction(..)

Bug Fixes

  • Fixed bug that included never executed actions in chains.
    See #426.

  • Fixed bug when generating list of consumers.
    See #446.