Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 3, 2022

Bumps approvaltests from 15.5.0 to 17.2.1.

Release notes

Sourced from approvaltests's releases.

Approvals.NAMES

ExtraInformation.Approvals.txt

the old way

There is now a new way to add information to approval names. Previously the way to add additional information was

try (NamedEnvironment ne1 = NamerFactory.asOsSpecificTest()) { 
    try (NamedEnvironment ne2 = NamerFactory.asMachineNameSpecificTest()) { 
        Approvals.verify("hello, World!");
    }
} 

the new way

We now added a cleaner and more thread-safe method of passing in an Options to the additional information.

Options options = Approvals.NAMES.asOsSpecificTest().and(Approvals.NAMES::asMachineNameSpecificTest);
Approvals.verify("hello, World!", options);

We're not removing the previous way, we're simply adding the new way. In the future, we will update everything underneath to be more thread-safe.

More

We're having a new reporter for TortoiseGIT. Thank you @​pfichtner

JsonJacksonApprovals

You can now use jackson to render your json or continue to use Gson.

Both of these require optional dependencies on Gson/Jackson, but these dependencies are not required if you don't use JsonApprovals or JsonJacksonApprovals.

AwtApprovals is JRE aware

Breaking change

Why

In JRE 11 the compression algorithm for png files changed. Approvals now appends either jdkPre11 or jdkPost11 to the filenames to make this distinction clear and allow for running in CI.

Who is affected

This will only affect you if you're using AwtApprovals.

Bugfix for AwtApprovals.verify(BufferedImage)

Fixes a bug where AwtApprovals.verify(BufferedImage) rendered a string instead of an image.

Better Markdown tables

Features

  • MarkdownTables support consistent widths by default
  • MarkdownTables allow for right-justification of columns

Breaking Changes

... (truncated)

Commits
  • 356c630 e needs to work on windows as well
  • da1d58a e sed for Ubuntu
  • c39a9bf e update actions to use scripts
  • 50630f5 e compatible with macos
  • a39cba5 e scripts for formatting
  • c852ebf Bump gson from 2.9.0 to 2.9.1
  • f27771f F!! Options.and(...)
  • 16c6edc a reformat code
  • 718d87f Merge pull request #287 from pfichtner/tortoise-git
  • 0add6f4 Merge pull request #284 from approvals/dependabot/maven/org.junit.jupiter-jun...
  • 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 [approvaltests](https://github.com/approvals/ApprovalTests.Java) from 15.5.0 to 17.2.1.
- [Release notes](https://github.com/approvals/ApprovalTests.Java/releases)
- [Commits](approvals/ApprovalTests.Java@15.5.0...17.2.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 3, 2022
@cla-bot cla-bot bot added the cla-signed label Aug 3, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 9, 2022

Superseded by #879.

@dependabot dependabot bot closed this Aug 9, 2022
@dependabot dependabot bot deleted the dependabot/maven/com.approvaltests-approvaltests-17.2.1 branch August 9, 2022 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed dependencies Pull requests that update a dependency file

Development

Successfully merging this pull request may close these issues.

1 participant