Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2025

Bumps com.approvaltests:approvaltests from 24.9.0 to 25.0.23.

Release notes

Sourced from com.approvaltests:approvaltests's releases.

Fixed JSON array ordering when using JsonApprovals

closes #682 #667

DateScrubber enhancements

new factory methods to get DateScrubbers for sql.Date, util.Date and Timestamp

DateScrubber can handle Timestamp's toString()

Verify Map works with keys that are not comparable

Fixes #650

Added FileUtils.getResolvedPath()

When working with the file ./name.txt:

getAbsolutePath() will resolve this to /path/to/./name.txt

instead of the desired /path/to/name.txt.

getResolvedPath() solves this problem.

Python scripts for remove_abandoned_files and approve_all

Also, temp folder works when running tests in multi-threaded mode

ReadBuffer input no longer modifies newlines or adds them at the end

Also: Added StringUtils.ensureEnding Added FileUtils.readFile(file, ensureTrailingNewline = true)

Closes #637

Automatically git-ignore our temp folder

Just like ApprovalTests.Python, we now write a .gitignore file into our temp directory, thus consumers of the library don't have to add the folder themselves to their project's gitignore.

Once.runAsync

Once now supports running tasks asynchronously.

Bugfix

Downloading the approve_all script now is done asynchronously, meaning it won't affect build times. Closes #615

Fixes problems with ReporterWithApprovalPower and FirstWorkingReporter

Fixes bug #446

Allow configuration of project base directory

By default, Approvals uses the working directory to find the working directory and its children to find source file and store received and approved files. This is now configurable if your working directory no longer contains the source. You can do this by setting either the system property or system environment variable called APPROVALTESTS_PROJECT_DIRECTORY. Here is an example of doing this when running tests with maven on forks:

<systemPropertyVariables>
    <APPROVALTESTS_PROJECT_DIRECTORY>${project.basedir}</APPROVALTESTS_PROJECT_DIRECTORY>
</systemPropertyVariables>
</tr></table> 

... (truncated)

Commits

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 24.9.0 to 25.0.23.
- [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@24.9.0...25.0.23)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the x:size/small Small amount of work label Sep 1, 2025
@dependabot dependabot bot requested a review from a team as a code owner September 1, 2025 22:29
@dependabot dependabot bot added the x:size/small Small amount of work label Sep 1, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 17388292254

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.511%

Totals Coverage Status
Change from base Build 17388120365: 0.0%
Covered Lines: 140
Relevant Lines: 162

💛 - Coveralls

@IsaacG IsaacG merged commit 29d4a24 into main Sep 2, 2025
3 checks passed
@IsaacG IsaacG deleted the dependabot/gradle/com.approvaltests-approvaltests-25.0.23 branch September 2, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:size/small Small amount of work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants