Skip to content

- r Bump com.approvaltests:approvaltests from 31.0.0 to 31.2.0 - #12

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.approvaltests-approvaltests-31.2.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.approvaltests-approvaltests-31.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps com.approvaltests:approvaltests from 31.0.0 to 31.2.0.

Release notes

Sourced from com.approvaltests:approvaltests's releases.

TemplatedCustomNamer supports {additional_information}

TemplatedCustomNamer now supports the {additional_information} template field, resolved from TemplateFieldValues.

Failing approvals print to the console for AI coding agents

When tests run under an AI coding agent (Claude Code, Codex, Cursor, Gemini CLI, opencode, ...), a failing approval now prints the approved/received paths, an approve command, and both files' contents to standard out instead of opening a diff tool.

https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/reference/AiCodingAgentReporter.md

  • Detected via environment variables (CLAUDECODE, CODEX_SANDBOX, CURSOR_AGENT, GEMINI_CLI, OPENCODE, AI_AGENT, APPROVAL_TESTS_AGENT, ...). Set one to 0/false to opt out.
  • APPROVAL_TESTS_USE_REPORTER still takes precedence.
  • Can be used directly: @​UseReporter(AiCodingAgentReporter.class)

Also:

  • DateScrubber supports java.util.Date with a GMT offset timezone (e.g. GMT-08:00)
  • TemplatedCustomNamer
Commits
  • 0f1bab1 - r Remove info from StackTraceNamer
  • 0ce2057 - r InlineKotlinReporter holds TemplateFieldValues instead of StackTraceNamer
  • 7a71c5e - r InlineJavaReporter holds TemplateFieldValues instead of StackTraceNamer
  • fb322d7 - r use getTemplate()
  • 13730af - r add getTemplate
  • d58d7b6 - r StackTraceNamer takes TemplateFieldValues in constructor
  • 069d8dc - r cleanup
  • 6ca10ca - r getApprovalName/getSourceFilePath use templatedcustomnamer
  • 7a6cd41 - r fork getBaseDirectory and use template
  • c00d7d0 - r Chain StackTraceNamer constructors
  • 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 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 31.0.0 to 31.2.0.
- [Release notes](https://github.com/approvals/ApprovalTests.Java/releases)
- [Changelog](https://github.com/approvals/ApprovalTests.Java/blob/master/internal_documentation/release.md)
- [Commits](approvals/ApprovalTests.Java@31.0.0...31.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 24, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #13.

@dependabot dependabot Bot closed this Nov 25, 2026
@dependabot
dependabot Bot deleted the dependabot/maven/com.approvaltests-approvaltests-31.2.0 branch November 25, 2026 01:25
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 java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants