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 com.approvaltests:approvaltests from 22.3.3 to 23.1.0 in /src/main/resources/generator/dependencies #9676

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2024

Bumps com.approvaltests:approvaltests from 22.3.3 to 23.1.0.

Release notes

Sourced from com.approvaltests:approvaltests's releases.

ParseInput with 3 parameters

Added ParseInput with 3 parameters and allows arrays as last argument for ParseInput with 2 and 3 Parameters. To understand this you might want to have a look at the python documentation.

23.0.1

Fixes

Fixed a bug where long header threw an exception

New

StringUtils.repeat(text, times);

Minor bugs with InlineApprovals + changes to StringUtils.split

This is mainly fixes to InlineApprovals. But it does contain breaking changes for StringUtils.split().

Breaking changes

StringUtils.split(String, String) no longer trims by default. To maintain previous behavior, call StringUtils.split(String, String, true). StringUtils.split() now takes a regex as the pattern instead of a simple string.

ParseInputs

You can now write tests like

@Test
void testWithTypesTransformersAndBoth()
{
  var expected = """
      1 -> 1
      9 -> 1001
      """;
  ParseInput.from(expected)
    .withTypes(Integer.class)
    .verifyAll(Integer::toBinaryString);
}

Minor enhancements

  • Queryable.of(List) - this is an alias of Queryable.as for consistency with List.of
  • Approvals.verifyAll(List, Formatter) - already had this for arrays but not lists
Commits
  • 6527c11 - F ParseInput with 2 parameters handles an array as 2nd parameter
  • fc2eb99 - F ParseInput with 3 parameters now handles arrays as last argument
  • 08da976 - F partial implementation of ParseInput with 3 parameters
  • 1a02b47 - F partial implementation of ParseInput with 3 parameters
  • 70378c3 - F partial implementation of ParseInput with 3 parameters
  • 0febf5e - F partial implementation of ParseInput with 3 parameters
  • 72ee1d5 Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3
  • 34a76ca Bump com.github.javaparser:javaparser-core from 3.25.9 to 3.25.10
  • 2631b7a Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1
  • a14cb12 v 23.0.1
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.approvaltests:approvaltests](https://github.com/approvals/ApprovalTests.Java) from 22.3.3 to 23.1.0.
- [Release notes](https://github.com/approvals/ApprovalTests.Java/releases)
- [Commits](approvals/ApprovalTests.Java@22.3.3...23.1.0)

---
updated-dependencies:
- dependency-name: com.approvaltests:approvaltests
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/maven/src/main/resources/generator/dependencies/com.approvaltests-approvaltests-23.1.0 branch from 874bc69 to 872eceb Compare April 28, 2024 17:54
@murdos murdos merged commit 768d95e into main Apr 28, 2024
35 checks passed
@murdos murdos deleted the dependabot/maven/src/main/resources/generator/dependencies/com.approvaltests-approvaltests-23.1.0 branch April 28, 2024 19:19
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