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

Selenium Automated Testing cannot catch same violation with aXe devTools plugin #261

Closed
Tim-Cao opened this issue Oct 28, 2022 · 2 comments

Comments

@Tim-Cao
Copy link

Tim-Cao commented Oct 28, 2022

Description
Manual Testing using aXe devTools with WCAG 2.1 AA standard and the latest axe-core to scan this page can catch some accessibility violations

However, when automated testing using the axe deque selenium api cannot get the above violations.
Would you mind explaining what's the difference between them?

Step to reproduce

  1. Clone this repo git@github.com:Tim-Cao/seleniumproject.git
  2. Change the chromedriver path in https://github.com/Tim-Cao/seleniumproject/blob/master/src/test/java/com/example/seleniumproject/AccessibilityTesting.java
  3. Run the above test

Actual Results
No violations thrown
AutomatedTesting

Expected Results
ManualTesting

@Zidious
Copy link
Contributor

Zidious commented Oct 28, 2022

Hey @Tim-Cao,

I've investigated this and found a few things, within your Gradle file you are using a older version of our API V4.3.1 which utilises axe-core 4.3.1 vs the extension using axe-core 4.4.2.

I'd recommend to update to v4.4.2 of our Selenium API .

Within your test:

withTags(Arrays.asList("wcag21aa"))

One important thing to note here, specifying wcag21aa only runs rules associated to WCAG2.1AA.

Selecting WCAG 2.1AA via the extension includes: WCAG2.0A/AA and WCAG2.1A. To mimic this behaviour with the selenium API you would need to include the following tags:

withTags(Arrays.asList("wcag2a", "wcag2aa", "wcag21a", "wcag21aa"));

Running the below snippet produces four rule violations and one incomplete (needs review within the extension) summing the nodes totals 10 issues (breakdown below):

Snippet:

    WebDriver webDriver = new ChromeDriver();

    webDriver.get("https://www.liferay.com/");

    AxeBuilder axeBuilder = new AxeBuilder();
    axeBuilder.withTags(Arrays.asList("wcag2a", "wcag2aa", "wcag21a", "wcag21aa"));

    /* accept cookies popup */
    webDriver.findElement(By.cssSelector("#onetrust-accept-btn-handler")).click();

    Results results = axeBuilder.analyze(webDriver);

    List<Rule> violations = results.getViolations();

    /* denoted as needs review within the extension */
    List<Rule> incomplete = results.getIncomplete();

    int violationNodeCount = violations.stream().mapToInt(v -> v.getNodes().size()).sum();
    int incompleteNodeCount = incomplete.stream().mapToInt(v -> v.getNodes().size()).sum();

    System.out.println("Sum of violations (nodes): " + violationNodeCount);
    System.out.println("Sum of incomplete (nodes): " + incompleteNodeCount);
    System.out.println("Total: " + (violationNodeCount + incompleteNodeCount));

    AxeReporter.writeResultsToJsonFile("./liferay.json", results);
    webDriver.close();

Outputs:

Sum of violations (nodes): 8
Sum of incomplete (nodes): 2
Total: 10

@Tim-Cao
Copy link
Author

Tim-Cao commented Oct 29, 2022

Many thanks @Zidious. It works now.

@Tim-Cao Tim-Cao closed this as completed Oct 29, 2022
Zidious pushed a commit that referenced this issue May 10, 2024
#461)

Bumps the maven-low-risk group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
|
[org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin)
| `3.2.2` | `3.2.4` |
| commons-io:commons-io | `2.16.0` | `2.16.1` |
|
[io.github.bonigarcia:webdrivermanager](https://github.com/bonigarcia/webdrivermanager)
| `5.7.0` | `5.8.0` |
|
[com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson)
| `2.17.0` | `2.17.1` |
|
[org.apache.maven.plugins:maven-source-plugin](https://github.com/apache/maven-source-plugin)
| `3.3.0` | `3.3.1` |
|
[com.microsoft.playwright:playwright](https://github.com/microsoft/playwright-java)
| `1.42.0` | `1.43.0` |
| [commons-codec:commons-codec](https://github.com/apache/commons-codec)
| `1.16.1` | `1.17.0` |
|
[com.fasterxml.jackson.core:jackson-annotations](https://github.com/FasterXML/jackson)
| `2.17.0` | `2.17.1` |
| [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) |
`0.8.11` | `0.8.12` |


Updates `org.apache.maven.plugins:maven-gpg-plugin` from 3.2.2 to 3.2.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/apache/maven-gpg-plugin/releases">org.apache.maven.plugins:maven-gpg-plugin's
releases</a>.</em></p>
<blockquote>
<h2>3.2.4</h2>
<p><a
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317521&amp;version=12354486">Release
Notes - Maven GPG Plugin - Version 3.2.4</a></p>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<hr />
<!-- raw HTML omitted -->
<ul>
<li><a
href="https://issues.apache.org/jira/browse/MGPG-125">[MGPG-125]</a> -
Fix &quot;bestPractices&quot; (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/pull/95">#95</a>)
<a href="https://github.com/cstamas"><code>@​cstamas</code></a></li>
</ul>
<h2>📦 Dependency updates</h2>
<ul>
<li>Bump commons-io:commons-io from 2.16.0 to 2.16.1 (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/pull/94">#94</a>)
<a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>3.2.3</h2>
<p><a
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317521&amp;version=12354440">Release
Notes - Maven GPG Plugin - Version 3.2.3</a></p>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/789149ea5676238f4e2958f51ae10778ca2ba3f0"><code>789149e</code></a>
[maven-release-plugin] prepare release maven-gpg-plugin-3.2.4</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/893aedcab271ac92ef01f1a4346320525e678b39"><code>893aedc</code></a>
[MGPG-125] Fix &quot;bestPractices&quot; (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/issues/95">#95</a>)</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/b6f0324f27c780ee96840cfecfec866b44635f26"><code>b6f0324</code></a>
[MGPG-126] Bump commons-io:commons-io from 2.16.0 to 2.16.1 (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/issues/94">#94</a>)</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/3c5878b12cb95e077bc8f77bdb07913d210f8c95"><code>3c5878b</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/89b91a40617f911ce77cc3190842d46b1f470f45"><code>89b91a4</code></a>
[maven-release-plugin] prepare release maven-gpg-plugin-3.2.3</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/fc2efa3097fa620ce5d5167a9d8ab9018a4247a5"><code>fc2efa3</code></a>
[MGPG-123][MGPG-124] Dependency upgrades (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/issues/93">#93</a>)</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/50222d351ac12e746ce9921a957654e5e24a55de"><code>50222d3</code></a>
[MGPG-120] New mojo sign-deployed (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/issues/88">#88</a>)</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/a6c3a094ea1e3b29fc3711f450f57e6e292fabed"><code>a6c3a09</code></a>
[MGPG-122] Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.0
to 3...</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/78f5e370ee5f02f1b613540d8d7204cab919d99d"><code>78f5e37</code></a>
[MGPG-121] Return the workaround for pseudo security (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/issues/90">#90</a>)</li>
<li><a
href="https://github.com/apache/maven-gpg-plugin/commit/582df745e6ec01e414be255fae0a8b262255c641"><code>582df74</code></a>
[MGPG-117] Improve passphrase handling (<a
href="https://redirect.github.com/apache/maven-gpg-plugin/issues/86">#86</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.2...maven-gpg-plugin-3.2.4">compare
view</a></li>
</ul>
</details>
<br />

Updates `commons-io:commons-io` from 2.16.0 to 2.16.1

Updates `io.github.bonigarcia:webdrivermanager` from 5.7.0 to 5.8.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/bonigarcia/webdrivermanager/blob/master/CHANGELOG.md">io.github.bonigarcia:webdrivermanager's
changelog</a>.</em></p>
<blockquote>
<h2>[5.8.0] - 2024-04-04</h2>
<h3>Fixed</h3>
<ul>
<li>Check resolved browser version in Firefox manager (<a
href="https://redirect.github.com/bonigarcia/webdrivermanager/issues/1240">#1240</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated how we check if Docker is running to work with the new
cgroup v2 system (<a
href="https://redirect.github.com/bonigarcia/webdrivermanager/issues/1259">#1259</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>Support for chromedriver 115+ (CfT endpoints) for NPM mirror (<a
href="https://redirect.github.com/bonigarcia/webdrivermanager/issues/1264">#1264</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/d5bc6c8e71af48fff135675b7f34d5c966738249"><code>d5bc6c8</code></a>
[maven-release-plugin] prepare release webdrivermanager-5.8.0</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/0c034d946dbfbc2aa071853b7aefc1d4b1732981"><code>0c034d9</code></a>
Update doc for version 5.8.0</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/ff656a713e1e66d517cf0f316adc3d993065a0e5"><code>ff656a7</code></a>
Change Java version condition in workflow</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/fb0c96f303171c23d57272dd9c418c83ce6a67ba"><code>fb0c96f</code></a>
Remove Java version condition in several steps in build workflow</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/530e92365e48820d5440e44c12969e9fad9a1579"><code>530e923</code></a>
Fix condition to check CfT mirror in URL handler</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/9193a3bc047e439cec2ff7e8b7837203ae3e92a9"><code>9193a3b</code></a>
Support for chromedriver 115+ (CfT endpoints) for NPM mirror (<a
href="https://redirect.github.com/bonigarcia/webdrivermanager/issues/1264">#1264</a>)</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/55fb8f341efb4eafee57c99599a84f94866436d7"><code>55fb8f3</code></a>
Bump codecov/codecov-action from 4.1.1 to 4.2.0 (<a
href="https://redirect.github.com/bonigarcia/webdrivermanager/issues/1271">#1271</a>)</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/d5deec3d99f9d0c18923fc7b48cb8d73a9c8ce1e"><code>d5deec3</code></a>
Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 (<a
href="https://redirect.github.com/bonigarcia/webdrivermanager/issues/1270">#1270</a>)</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/70108fbdfca025e9f6d19db5b4ec1a3aa6809979"><code>70108fb</code></a>
Update mirror info (Tue Apr 2 12:03:02 UTC 2024)</li>
<li><a
href="https://github.com/bonigarcia/webdrivermanager/commit/a08a6459f2990e5df676f9e4d1023b8497abad88"><code>a08a645</code></a>
Update mirror info (Mon Apr 1 12:03:21 UTC 2024)</li>
<li>Additional commits viewable in <a
href="https://github.com/bonigarcia/webdrivermanager/compare/webdrivermanager-5.7.0...webdrivermanager-5.8.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.17.0 to
2.17.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/FasterXML/jackson/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates `org.apache.maven.plugins:maven-source-plugin` from 3.3.0 to
3.3.1
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/f80596e4eb587cf99452b67b43ee9729fdadbf3a"><code>f80596e</code></a>
[maven-release-plugin] prepare release maven-source-plugin-3.3.1</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/7626998d262931570c969abe3fc60cf911fd6820"><code>7626998</code></a>
Bump apache/maven-gh-actions-shared from 3 to 4</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/83c963c0fffadd3257e9a1ca9266cfac98c057c3"><code>83c963c</code></a>
Bump org.apache.maven.plugins:maven-plugins from 39 to 41 (<a
href="https://redirect.github.com/apache/maven-source-plugin/issues/18">#18</a>)</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/40ae49538beebc793f16a91578629383de114edb"><code>40ae495</code></a>
Bump org.codehaus.plexus:plexus-archiver from 4.8.0 to 4.9.1 (<a
href="https://redirect.github.com/apache/maven-source-plugin/issues/20">#20</a>)</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/073462bf11ad9cf61cab6a2ed213bb8af5349f35"><code>073462b</code></a>
Bump org.apache.maven:maven-archiver from 3.6.0 to 3.6.1 (<a
href="https://redirect.github.com/apache/maven-source-plugin/issues/21">#21</a>)</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/0b1c82366e306c9d138a3a83950326071c2fc7c6"><code>0b1c823</code></a>
Fix typos in AbstractSourceJarMojo exception</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/099c65a64ac20e9f1133b41e2d1906944f6c13c3"><code>099c65a</code></a>
[MSOURCES-142] Bump org.codehaus.plexus:plexus-archiver from 4.7.1 to
4.8.0 (...</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/1edeea47f80bc5c5903e88c1adbff56501248a8b"><code>1edeea4</code></a>
[MSOURCES-139] Fix typo in AbstractSourceJarMojo exception</li>
<li><a
href="https://github.com/apache/maven-source-plugin/commit/436966ed7f93611d5faa6534478347b99c40f488"><code>436966e</code></a>
[maven-release-plugin] prepare for next development iteration</li>
<li>See full diff in <a
href="https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.3.0...maven-source-plugin-3.3.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `com.microsoft.playwright:playwright` from 1.42.0 to 1.43.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/playwright-java/releases">com.microsoft.playwright:playwright's
releases</a>.</em></p>
<blockquote>
<h2>v1.43.0</h2>
<h2>New APIs</h2>
<ul>
<li>
<p>Method <a
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-clear-cookies">browserContext.clearCookies([options])</a>
now supports filters to remove only some cookies.</p>
<pre lang="java"><code>// Clear all cookies.
context.clearCookies();
// New: clear cookies with a particular name.
context.clearCookies(new
BrowserContext.ClearCookiesOptions().setName(&quot;session-id&quot;));
// New: clear cookies for a particular domain.
context.clearCookies(new
BrowserContext.ClearCookiesOptions().setDomain(&quot;my-origin.com&quot;));
</code></pre>
</li>
<li>
<p>New method <a
href="https://playwright.dev/java/docs/api/class-locator#locator-content-frame">locator.contentFrame()</a>
converts a <a
href="https://playwright.dev/java/docs/api/class-locator">Locator</a>
object to a <a
href="https://playwright.dev/java/docs/api/class-framelocator">FrameLocator</a>.
This can be useful when you have a <a
href="https://playwright.dev/java/docs/api/class-locator">Locator</a>
object obtained somewhere, and later on would like to interact with the
content inside the frame.</p>
<pre lang="java"><code>Locator locator =
page.locator(&quot;iframe[name='embedded']&quot;);
// ...
FrameLocator frameLocator = locator.contentFrame();
frameLocator.getByRole(AriaRole.BUTTON).click();
</code></pre>
</li>
<li>
<p>New method <a
href="https://playwright.dev/java/docs/api/class-framelocator#frame-locator-owner">frameLocator.owner()</a>
converts a <a
href="https://playwright.dev/java/docs/api/class-framelocator">FrameLocator</a>
object to a <a
href="https://playwright.dev/java/docs/api/class-locator">Locator</a>.
This can be useful when you have a <a
href="https://playwright.dev/java/docs/api/class-framelocator">FrameLocator</a>
object obtained somewhere, and later on would like to interact with the
<code>iframe</code> element.</p>
<pre lang="java"><code>FrameLocator frameLocator =
page.frameLocator(&quot;iframe[name='embedded']&quot;);
// ...
Locator locator = frameLocator.owner();
assertThat(locator).isVisible();
</code></pre>
</li>
</ul>
<h2>Browser Versions</h2>
<ul>
<li>Chromium 124.0.6367.8</li>
<li>Mozilla Firefox 124.0</li>
<li>WebKit 17.4</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 123</li>
<li>Microsoft Edge 123</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright-java/commit/26861a2f1e84d7418c71913ea2b9476354289258"><code>26861a2</code></a>
chore: roll 1.43.0 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1545">#1545</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/04e77b9c9ab17d9e017845eaafb2f4a1fd587f9a"><code>04e77b9</code></a>
chore: set release version to 1.43.0 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1540">#1540</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/ccf4575bc8ca121e0fca35da2bdd31cb328a74a0"><code>ccf4575</code></a>
chore(1.43): roll 1.43-beta driver (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1539">#1539</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/90aa4579c4fe5b017d17eb020824c5226884a77a"><code>90aa457</code></a>
chore: move junit impl to com.microsoft.playwright.impl.junit (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1538">#1538</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/1a8f5f7746198dd1605438af11ba3f6a9e06bdb9"><code>1a8f5f7</code></a>
docs: fix broken class links, format details and usage (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1536">#1536</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/a917f2ef5c68156154a15ac334694b1e1efcea94"><code>a917f2e</code></a>
fix(docs): generate javadocs (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1534">#1534</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/452effbe3f81c596d6f40c02b236efde290c90bf"><code>452effb</code></a>
chore: implement context.backgroundPages (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1532">#1532</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/f497bcc27db044282d604fb1fc8b4e4a2c6f1eaf"><code>f497bcc</code></a>
chore(deps): bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.1
to 3.2...</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/240f8d087314f309d85a888198e77eb9ae62ec6f"><code>240f8d0</code></a>
feat(junit): make getOrCreate fixture methods public (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1527">#1527</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/e7653ddde7d19e07dbb71c7a36e2725d7b38c3f3"><code>e7653dd</code></a>
chore: roll driver to 1.43.0-beta, implement clearCookie(filter) (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1525">#1525</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright-java/compare/v1.42.0...v1.43.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `commons-codec:commons-codec` from 1.16.1 to 1.17.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt">commons-codec:commons-codec's
changelog</a>.</em></p>
<blockquote>
<h2>Apache Commons Codec 1.17.0 RELEASE NOTES</h2>
<p>The Apache Commons Codec component contains encoders and decoders for
various formats such as Base16, Base32, Base64, digest, and Hexadecimal.
In addition to these
widely used encoders and decoders, the codec package also maintains a
collection of phonetic encoding utilities.</p>
<p>Feature and fix release. Requires a minimum of Java 8.</p>
<h2>New features</h2>
<ul>
<li>
<pre><code> Add override
org.apache.commons.codec.language.bm.Rule.PhonemeExpr.size(). Thanks to
Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Add support for Base64 custom alphabets
[#266](apache/commons-codec#266). Thanks to
Chris Kocel, Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Add Base64.Builder (allows custom alphabets). Thanks to Gary
Gregory.
</code></pre>
</li>
<li>
<pre><code> Add Base32.Builder (allows custom alphabets). Thanks to Gary
Gregory.
</code></pre>
</li>
<li>
<pre><code> Add Base64 support for a custom padding byte (like Base32).
Thanks to Gary Gregory.
</code></pre>
</li>
</ul>
<h2>Fixed Bugs</h2>
<ul>
<li>CODEC-320: Wrong output of DoubleMetaphone in 1.16.1. Thanks to
Martin Frydl, Gary Gregory.</li>
<li>
<pre><code> Optimize memory allocation in PhoneticEngine. Thanks to Gary
Gregory.
</code></pre>
</li>
<li>
<pre><code> BCodec and QCodec encode() methods throw
UnsupportedCharsetException instead of EncoderException. Thanks to Gary
Gregory.
</code></pre>
</li>
<li>
<pre><code> Set Javadoc link to latest Java API LTS version. Thanks to
Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Base32 constructor fails-fast with a NullPointerException if
the custom alphabet array is null. Thanks to Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Base32 constructor makes a defensive copy of the line
separator array. Thanks to Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Base64 constructor makes a defensive copy of the line
separator array. Thanks to Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Base64 constructor makes a defensive copy of a custom
alphabet array. Thanks to Gary Gregory.
</code></pre>
</li>
</ul>
<h2>Changes</h2>
<ul>
<li>
<pre><code> Bump org.apache.commons:commons-parent from 66 to 69
[#250](apache/commons-codec#250),
[#261](apache/commons-codec#261). Thanks to
Dependabot, Gary Gregory.
</code></pre>
</li>
<li>
<pre><code> Bump commons-io:commons-io from 2.15.1 to 2.16.1
[#258](apache/commons-codec#258),
[#265](apache/commons-codec#265). Thanks to
Dependabot, Gary Gregory.
</code></pre>
</li>
</ul>
<p>For complete information on Apache Commons Codec, including
instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Commons Codec
website:</p>
<p><a
href="https://commons.apache.org/proper/commons-codec/">https://commons.apache.org/proper/commons-codec/</a></p>
<p>Download page: <a
href="https://commons.apache.org/proper/commons-codec/download_codec.cgi">https://commons.apache.org/proper/commons-codec/download_codec.cgi</a></p>
<hr />
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/commons-codec/commit/5d809fe3d729bde9b507a51d2b2ed659da053692"><code>5d809fe</code></a>
Prepare for the next release candidate</li>
<li><a
href="https://github.com/apache/commons-codec/commit/9a59c1c47b02ca795270b758c8d0591f5925b10f"><code>9a59c1c</code></a>
Prepare for the next release candidate</li>
<li><a
href="https://github.com/apache/commons-codec/commit/5f0cfd46c89df69b579f37562ff1eded7ffd4b5c"><code>5f0cfd4</code></a>
Longer lines</li>
<li><a
href="https://github.com/apache/commons-codec/commit/8714b5f62bb5fa5950aa5e8908bd0d8d3334dba5"><code>8714b5f</code></a>
Remove dead comment</li>
<li><a
href="https://github.com/apache/commons-codec/commit/c56b95664913aab406f768c66f9264481b28c1bb"><code>c56b956</code></a>
Bullet-proof internals</li>
<li><a
href="https://github.com/apache/commons-codec/commit/d2215d5dec3031f819c3bb514587d92a6aec8eff"><code>d2215d5</code></a>
Base32 constructor fails-fast with a NullPointerException if the
custom</li>
<li><a
href="https://github.com/apache/commons-codec/commit/fcc70e6fa1271158dd8f3a90350fa2589713f257"><code>fcc70e6</code></a>
Base32 constructor makes a defensive copy of the line separator</li>
<li><a
href="https://github.com/apache/commons-codec/commit/ebe805a2730ad38886f9f04bd4d242e0a8c9caaa"><code>ebe805a</code></a>
Base64 constructor makes a defensive copy of a custom alphabet
array</li>
<li><a
href="https://github.com/apache/commons-codec/commit/55043334240eb2a1838e37ea1c8a6e434d328fdf"><code>5504333</code></a>
Better exception message</li>
<li><a
href="https://github.com/apache/commons-codec/commit/c6c5f11eae145d8e8c655e622f0fc5dd74e6db2a"><code>c6c5f11</code></a>
Base64 constructor makes a better defensive copy of the line
separator</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/commons-codec/compare/rel/commons-codec-1.16.1...rel/commons-codec-1.17.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `com.fasterxml.jackson.core:jackson-annotations` from 2.17.0 to
2.17.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/FasterXML/jackson/commits">compare
view</a></li>
</ul>
</details>
<br />

Updates `org.jacoco:jacoco-maven-plugin` from 0.8.11 to 0.8.12
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jacoco/jacoco/releases">org.jacoco:jacoco-maven-plugin's
releases</a>.</em></p>
<blockquote>
<h2>0.8.12</h2>
<h2>New Features</h2>
<ul>
<li>JaCoCo now officially supports Java 22 (GitHub <a
href="https://redirect.github.com/jacoco/jacoco/issues/1596">#1596</a>).</li>
<li>Experimental support for Java 23 class files (GitHub <a
href="https://redirect.github.com/jacoco/jacoco/issues/1553">#1553</a>).</li>
</ul>
<h2>Fixed bugs</h2>
<ul>
<li>Branches added by the Kotlin compiler for functions with default
arguments and having more than 32 parameters are filtered out during
generation of report (GitHub <a
href="https://redirect.github.com/jacoco/jacoco/issues/1556">#1556</a>).</li>
<li>Branch added by the Kotlin compiler version 1.5.0 and above for
reading from lateinit property is filtered out during generation of
report (GitHub <a
href="https://redirect.github.com/jacoco/jacoco/issues/1568">#1568</a>).</li>
</ul>
<h2>Non-functional Changes</h2>
<ul>
<li>JaCoCo now depends on ASM 9.7 (GitHub <a
href="https://redirect.github.com/jacoco/jacoco/issues/1600">#1600</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jacoco/jacoco/commit/dbfb6f2ad904158b5b40a93fea222e263aeaf9ab"><code>dbfb6f2</code></a>
Prepare release 0.8.12</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/a50585b9e0770c363c56d887a8f639dc05411073"><code>a50585b</code></a>
Upgrade maven-plugin-plugin to 3.6.4 (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1604">#1604</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/fd63cc5478bcd7b32e2070d93ead8c879b423841"><code>fd63cc5</code></a>
Configure labels that Dependabot assigns to PRs (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1603">#1603</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/03a53334c1e3a28ed587feb5adbfa3c0aa536990"><code>03a5333</code></a>
Add configuration for Dependabot to simplify updates of ASM (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1601">#1601</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/40ff9fb3b13bb484344936dde4a90b083b79cdbd"><code>40ff9fb</code></a>
Upgrade ASM to 9.7 (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1600">#1600</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/907717832435f5085b67d02e1eeec5b63b0f415b"><code>9077178</code></a>
Happy birthday Java 22! (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1596">#1596</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/7edd1b511a174a663f633c34ae8c951a0ae77d20"><code>7edd1b5</code></a>
Bump actions/setup-java from 4.1.0 to 4.2.1 (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1594">#1594</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/e50b547bc26ff198acfd16311c028f340af38699"><code>e50b547</code></a>
Upgrade ECJ to 3.37.0 (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1590">#1590</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/a1144d02ff0f89d6603214676730a2d5616cf466"><code>a1144d0</code></a>
Upgrade maven-site-plugin to 3.12.1 (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1586">#1586</a>)</li>
<li><a
href="https://github.com/jacoco/jacoco/commit/04b0141d6ae5e6d1f00f15341b29dd4734ab778a"><code>04b0141</code></a>
Bump actions/setup-java from 4.0.0 to 4.1.0 (<a
href="https://redirect.github.com/jacoco/jacoco/issues/1587">#1587</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jacoco/jacoco/compare/v0.8.11...v0.8.12">compare
view</a></li>
</ul>
</details>
<br />


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 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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants