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-dev): Bump assertk-jvm from 0.25 to 0.26.1 #564

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps assertk-jvm from 0.25 to 0.26.1.

Release notes

Sourced from assertk-jvm's releases.

v0.26.1

[0.26.1] 2023-05-18

Fixed

  • Made assertFailure {} inline like assertThat {} was to allow testing suspend function failures.

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 assertk-jvm's changelog.

[0.26.1] 2023-05-18

Fixed

  • Made assertFailure {} inline like assertThat {} was to allow testing suspend function failures.

[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
  • eac815c prepare release 0.26.1
  • 9113eba Move the test to the common module
  • f62b753 Add a test case
  • dfa3b51 Make assertFailure inline
  • 96174f1 Update docs
  • 7032751 Bump version for dev
  • 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
  • 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 [assertk-jvm](https://github.com/willowtreeapps/assertk) from 0.25 to 0.26.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@bednar bednar added this to the 6.9.0 milestone May 23, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (aabc5f4) 88.39% compared to head (cb0024c) 88.41%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #564      +/-   ##
============================================
+ Coverage     88.39%   88.41%   +0.01%     
- Complexity      764      777      +13     
============================================
  Files           172      172              
  Lines          7005     7008       +3     
  Branches        376      380       +4     
============================================
+ Hits           6192     6196       +4     
+ Misses          694      693       -1     
  Partials        119      119              

see 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bednar bednar merged commit ab95c77 into master May 23, 2023
@bednar bednar deleted the dependabot/maven/com.willowtreeapps.assertk-assertk-jvm-0.26.1 branch May 23, 2023 06:46
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.

2 participants