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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update dependency com.willowtreeapps.assertk:assertk-jvm to v0.24 - autoclosed #187

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 9, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.willowtreeapps.assertk:assertk-jvm 0.20 -> 0.24 age adoption passing confidence

Release Notes

willowtreeapps/assertk

v0.24

Fixed
  • Fixed any breaking when the list had several items.
Added
  • Added containsSubList for List.
  • Added exists for Path.

v0.23.1

Fixed
  • Fixed containsExactly failing on custom list types.
  • Fixed NullPointerException in isDataClassEqualTo when a property is null.
  • Fixed multiple failures breaking any
  • Fixed map's containsOnly to ensure keys match up with values.
  • Fixed map's contain methods null handling.

v0.23

Fixed
  • Fixed containsExactly failing on custom list types.
  • Fixed NullPointerException in isDataClassEqualTo when a property is null.
  • Fixed multiple failures breaking any
  • Fixed map's containsOnly to ensure keys match up with values.
  • Fixed map's contain methods null handling.

v0.22

Added
  • Add multi-value support for Assert<String>.contains() and doesNotContain()
  • Add isEqualByComparingTo to compare objects by compareTo instead of equals this is useful for cases like
    BigDecimal where equals would fail because of differing precision.
  • Add containsOnly for arrays.
Changed
  • Minimum supported kotlin version is 1.3.70
  • Updated opentest4j to 1.2.0. This changes the multiple assertion message to include each exception class name.
  • Moved containsAll, containsNone, and containsOnly from Collection to Iterable to make
    them a bit more flexible.
  • containsAll, containsNone, and containsOnly error messages now include the expected and actual lists.
  • Unwrap exceptions thrown by prop(callable: KCallable<*>) to make them more clear.
  • Add all exception stacktraces to a MultipleFailuresError with Throwable.addSurpressed on the jvm (used when
    collecting multiple exceptions with assertAll). Unfortunately, if you are using gradle you won't see this due to a
    known gradle issue.
  • No longer wrap exceptions in AssertionErrors when using given and transform. Warning: this is techinicaly a
    breaking change as code like:
    try {
        assertThat(foo).given { throw MyException("error") }
    } catch (e: AssertionError) {
        // assume caught
    }
    will no longer be caught. But you shouldn't be writing code like that anyway ;)
Fixed
  • Don't let assertAll capture OutOfMemory errors.
Breaking Changes
  • Previously deprecated methods (as of 0.18) are now errors.

v0.21

Added
  • Add any to iterable assertions. It will pass when any of the provided assertions pass.
Changed
  • Minimum supported kotlin version is 1.3.60
  • Changed the signatures of isEqualToWithGivenProperties and isEqualToIgnoringGivenProperties to
    be able to take nullable properties.
  • Improved the output of containsExactly to show the entire list.
  • Render tabs and newlines in diffs to make clear what's different.
Fixed

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): Update dependency com.willowtreeapps.assertk:assertk-jvm to v0.24 chore(deps): Update dependency com.willowtreeapps.assertk:assertk-jvm to v0.24 - autoclosed Sep 28, 2021
@renovate renovate bot closed this Sep 28, 2021
@renovate renovate bot deleted the renovate/com.willowtreeapps.assertk-assertk-jvm-0.x branch September 28, 2021 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant