dependabot[bot] opened a new pull request, #3946: URL: https://github.com/apache/causeway/pull/3946
Bumps [com.approvaltests:approvaltests](https://github.com/approvals/ApprovalTests.Java) from 31.0.0 to 32.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/approvals/ApprovalTests.Java/releases">com.approvaltests:approvaltests's releases</a>.</em></p> <blockquote> <h2>verifyBinary and line scrubber</h2> <p>Adds <code>Approvals.verifyBinary</code> and <code>Scrubbers.removeLinesContaining</code>. No behavior changes; approved file names are unchanged.</p> <h3>Added</h3> <ul> <li><code>Approvals.verifyBinary(byte[], String fileExtension[, Options])</code>: approve raw bytes such as images or PDFs.</li> <li><code>Scrubbers.removeLinesContaining(String)</code>: a scrubber that removes every line containing the given text.</li> <li><code>ApprovalBinaryFileWriter</code> constructors that take <code>Options</code>.</li> </ul> <h3>Deprecated</h3> <ul> <li><code>ApprovalBinaryFileWriter</code> constructors that take <code>String fileExtensionWithoutDot</code>. Use the <code>Options</code> versions.</li> </ul> <p><strong>Upgrade guide:</strong> <a href="https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/how_to/Upgrade.V32.1.0.to.V32.2.0.md">Upgrade from 32.1.0 to 32.2.0</a></p> <h2>ApprovalWriter owns cleanUpReceived</h2> <p>Adds <code>ApprovalWriter.cleanUpReceived(File received)</code>. No behavior changes; approved file names are unchanged.</p> <h3>Added</h3> <ul> <li><code>ApprovalWriter.cleanUpReceived(File received)</code>: the writer now decides how its received file is removed after a passing test. The default deletes the file, as before, so existing writers need no changes.</li> </ul> <p><strong>Upgrade guide:</strong> <a href="https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/how_to/Upgrade.V32.0.0.to.V32.1.0.md">Upgrade from 32.0.0 to 32.1.0</a></p> <h2>ApprovalNamer collapsed to two methods; deprecated naming APIs removed</h2> <p><strong>Breaking release.</strong> Removes the APIs deprecated in 31.3.0. No other behavior changes; approved file names are unchanged.</p> <p><strong>Upgrade guide (written so an AI coding agent can apply it):</strong> <a href="https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/how_to/Upgrade.V31.3.0.to.V32.0.0.md">Upgrade from 31.3.0 to 32.0.0</a> Upgrade to 31.3.0 first and clear its deprecation warnings using <a href="https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/how_to/Upgrade.V31.2.0.to.V31.3.0.md">Upgrade from 31.2.0 to 31.3.0</a>.</p> <h3>Removed</h3> <ul> <li><code>ApprovalNamer</code> now has only <code>getApprovedFile</code> and <code>getReceivedFile</code>; <code>getApprovalName()</code>, <code>getSourceFilePath()</code>, <code>GetApprovalName</code>, <code>GetSourceFilePath</code> removed</li> <li><code>NamerWrapper</code></li> <li><code>NamerFactory</code> thread-local methods (<code>withParameters</code>, <code>as*SpecificTest</code>, <code>useMultipleFiles</code>, <code>set/get/getAndClearAdditionalInformation</code>, <code>isEmpty</code>, <code>ApprovalResults</code>)</li> <li><code>NamedEnvironment</code>, <code>MultipleFilesLabeller</code>, <code>ApprovalResults</code></li> <li><code>ImageApprovalWriter.asJreAware()</code> (use <code>asJreAware(options)</code>)</li> <li><code>Options.forFile().withBaseName(...)</code>, <code>withName(...)</code> (use <code>withNamer(TemplatedCustomNamer.create(template))</code>)</li> <li><code>Approvals.namerCreater</code> (use <code>Options.forFile().withNamer(info -> namer)</code>)</li> </ul> <h2>Deprecations ahead of 32.0.0 namer cleanup</h2> <p>Deprecation release. No behavior changes; approved file names are unchanged.</p> <p>Everything deprecated here will be removed in 32.0.0.</p> <p><strong>Upgrade guide (written so an AI coding agent can apply it):</strong> <a href="https://github.com/approvals/ApprovalTests.Java/blob/master/approvaltests/docs/how_to/Upgrade.V31.2.0.to.V31.3.0.md">Upgrade from 31.2.0 to 31.3.0</a></p> <h3>New</h3> <ul> <li><code>TemplatedCustomNamer.create(template)</code> returns an <code>ApprovalNamer</code> for a file-name template</li> <li><code>Options.forFile().withNamer(additionalInformation -> namer)</code> sets a namer creator per verify</li> <li><code>NamerUtils.getApprovalName(namer)</code> and <code>NamerUtils.getSourcePath(namer)</code></li> </ul> <h3>Deprecated</h3> <ul> <li><code>NamerFactory</code> thread-local methods, <code>NamedEnvironment</code>, <code>MultipleFilesLabeller</code>, <code>ApprovalResults</code> → <code>Options</code> / <code>Approvals.NAMES</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/865cf360205e9d735a286f02d609d7f9d84fed6b"><code>865cf36</code></a> . d Add 32.2.0 upgrade guide</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/3058360a7896020196e44c27f42d9c842fe657f7"><code>3058360</code></a> - r ApprovalBinaryFileWriter takes Options; smiley image for verifyBinary</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/9a478b9abbe4d18401404f736ddce13f9367ed58"><code>9a478b9</code></a> ! F Add Approvals.verifyBinary</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/ada35788b302b3098d5418b10651fd9e5353070f"><code>ada3578</code></a> . d Verify binary micro feature</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/3b2988813274b11c15da7e8eeb7a40bab39b20e5"><code>3b29888</code></a> ! F Add Scrubbers.removeLinesContaining line scrubber</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/bc9daa5f7218273bcc6eb58bbe6ace0c60470211"><code>bc9daa5</code></a> . d Feature map missing rows and line scrubber micro feature</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/2b3457ac37dd7a4c39af8e21ff0fb37594e0f9a2"><code>2b3457a</code></a> . d feature map with doc links</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/949ad244c26a0d4fb4cc5fb2d381c339be9a13a2"><code>949ad24</code></a> . d feature map</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/4c8d1427c660b5fac732e95a7e33119bc3d3d9d2"><code>4c8d142</code></a> Merge branch 'temp'</li> <li><a href="https://github.com/approvals/ApprovalTests.Java/commit/7099976251c5c79ff970a927a99a082f39bfa489"><code>7099976</code></a> . C Release v32.1.0 - ApprovalWriter owns cleanUpReceived --------------</li> <li>Additional commits viewable in <a href="https://github.com/approvals/ApprovalTests.Java/compare/31.0.0...32.2.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
