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

Bump com.willowtreeapps.assertk:assertk-jvm from 0.25 to 0.26 #227

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 15, 2023

Bumps com.willowtreeapps.assertk:assertk-jvm from 0.25 to 0.26.

Release notes

Sourced from com.willowtreeapps.assertk:assertk-jvm's releases.

v0.26

[0.26] 2023-05-12

Changed

  • Minimum supported kotlin version is 1.8.10
  • Minimum supported coroutines version is 1.7.0
  • When asserting on a Throwable or failed Result, their exception is added as the cause to any AssertionErrors which are thrown as the result of an assertion failure.
  • Removed second type parameter on Any.isInstanceOf extension. In practice this would generally widen to Any which is what it has been replaced with.

Breaking Changes

  • Previous deprecations are now errors

Added

  • Added assertFailure { } entrypoint which is a shorthand for assertThat(runCatching { .. }).isFailure()
  • Added first and single assertion for Iterable
  • Added containsMatch assertion for CharSequence. Unlike 'contains' this is a regex rather than a literal. Unlike 'matches' this looks for a subset of the CharSequence to match rather than the entire contents.
  • Added reified overloads of hasClass, doesNotHaveClass, isInstanceOf, and isNotInstanceOf. For example: isInstanceOf<String>().
  • Added sequence assertions to mirror iterable
  • Added array assertions for UByteArray, UShortArray, UIntArray, and ULongArray.

Deprecated

  • Lambda-accepting assertThat { } entrypoint is now deprecated. Use assertThat(T) for normal values or assertFailure { } for exception-throwing code.

Fixed

  • Fixed iterable assertions that take a block that could have multiple assertions. Includes: none,atLeast,atMost,exactly, and any
Changelog

Sourced from com.willowtreeapps.assertk:assertk-jvm's changelog.

[0.26] 2023-05-12

Changed

  • Minimum supported kotlin version is 1.8.10
  • Minimum supported coroutines version is 1.7.0
  • When asserting on a Throwable or failed Result, their exception is added as the cause to any AssertionErrors which are thrown as the result of an assertion failure.
  • Removed second type parameter on Any.isInstanceOf extension. In practice this would generally widen to Any which is what it has been replaced with.

Breaking Changes

  • Previous deprecations are now errors

Added

  • Added assertFailure { } entrypoint which is a shorthand for assertThat(runCatching { .. }).isFailure()
  • Added first and single assertion for Iterable
  • Added containsMatch assertion for CharSequence. Unlike 'contains' this is a regex rather than a literal. Unlike 'matches' this looks for a subset of the CharSequence to match rather than the entire contents.
  • Added reified overloads of hasClass, doesNotHaveClass, isInstanceOf, and isNotInstanceOf. For example: isInstanceOf<String>().
  • Added sequence assertions to mirror iterable
  • Added array assertions for UByteArray, UShortArray, UIntArray, and ULongArray.

Deprecated

  • Lambda-accepting assertThat { } entrypoint is now deprecated. Use assertThat(T) for normal values or assertFailure { } for exception-throwing code.

Fixed

  • Fixed iterable assertions that take a block that could have multiple assertions. Includes: none,atLeast,atMost,exactly, and any
Commits
  • d79724c Prepare release 0.26
  • 967dba2 Replace manual indexing with indices helper
  • 2aaf086 Add missing change log entries from recent changes
  • 9718835 Use try/catch instead of runCatching for capturing exceptions
  • 1c6e2a9 Update assertk/src/commonMain/kotlin/assertk/assert.kt
  • a4aecc5 Deprecate lambda-accepting assertThat overload
  • bfdac53 kotlinx.coroutines 1.7.0 final
  • 81ac2b0 Add assertFailure entrypoint
  • 1b16f8b Add 'containsMatch' assertion for CharSequence
  • d562601 Attempt to propagate a source throwable as a cause
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.willowtreeapps.assertk:assertk-jvm](https://github.com/willowtreeapps/assertk) from 0.25 to 0.26.
- [Release notes](https://github.com/willowtreeapps/assertk/releases)
- [Changelog](https://github.com/willowtreeapps/assertk/blob/main/CHANGELOG.md)
- [Commits](willowtreeapps/assertk@v0.25...v0.26)

---
updated-dependencies:
- dependency-name: com.willowtreeapps.assertk:assertk-jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 15, 2023
@ansman ansman merged commit d63d13a into main May 17, 2023
@ansman ansman deleted the dependabot/gradle/com.willowtreeapps.assertk-assertk-jvm-0.26 branch May 17, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant