You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/07/01 00:16:29 UTC
[PR] chore(deps): update quick-xml requirement from 0.40.1 to 0.41.0 in /bindings/java [opendal]
dependabot[bot] opened a new pull request, #7832:
URL: https://github.com/apache/opendal/pull/7832
Updates the requirements on [quick-xml](https://github.com/tafia/quick-xml) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tafia/quick-xml/releases">quick-xml's releases</a>.</em></p>
<blockquote>
<h2>v0.41.0 - Secuirity fixes</h2>
<h2>What's Changed</h2>
<h3>New Features</h3>
<ul>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/970">#970</a>: Add <code>NsReader::resolver_mut()</code> and <code>NamespaceResolver::{max_declarations_per_element, set_max_declarations_per_element}</code>.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/969">#969</a>: <code>Attributes</code> (and anything that iterates <code>BytesStart::attributes()</code> with the default <code>with_checks(true)</code>) no longer takes O(N²) time on a start tag with a large number of attributes. Small tags keep the previous linear scan; larger ones switch to a 64-bit hash pre-filter, so the whole tag is O(N). The exact <code>AttrError::Duplicated(new, prev)</code> positions are unchanged.</li>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/970">#970</a>: <code>NamespaceResolver::push</code> (and hence every <code>NsReader</code> <code>Start</code>/<code>Empty</code> event) now rejects a start tag that declares more than <code>DEFAULT_MAX_DECLARATIONS_PER_ELEMENT</code> (256) <code>xmlns</code> / <code>xmlns:*</code> namespace bindings, returning the new <code>NamespaceError::TooManyDeclarations</code>. Previously <code>push</code> allocated one <code>NamespaceBinding</code> per declaration with no upper bound, before the event was returned to the caller, so an <code>NsReader</code> consumer could not bound its memory exposure on untrusted input. The limit is configurable via <code>NamespaceResolver::set_max_declarations_per_element</code> (use <code>usize::MAX</code> to disable).</li>
</ul>
<p><a href="https://redirect.github.com/tafia/quick-xml/issues/969">#969</a>: <a href="https://redirect.github.com/tafia/quick-xml/issues/969">tafia/quick-xml#969</a>
<a href="https://redirect.github.com/tafia/quick-xml/issues/970">#970</a>: <a href="https://redirect.github.com/tafia/quick-xml/issues/970">tafia/quick-xml#970</a></p>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/qifan-sailboat"><code>@qifan-sailboat</code></a> made their first contribution in <a href="https://redirect.github.com/tafia/quick-xml/pull/972">tafia/quick-xml#972</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tafia/quick-xml/compare/v0.40.1...v0.41.0">https://github.com/tafia/quick-xml/compare/v0.40.1...v0.41.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tafia/quick-xml/blob/master/Changelog.md">quick-xml's changelog</a>.</em></p>
<blockquote>
<h2>0.41.0 -- 2026-06-29</h2>
<h3>New Features</h3>
<ul>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/970">#970</a>: Add <code>NsReader::resolver_mut()</code> and
<code>NamespaceResolver::{max_declarations_per_element, set_max_declarations_per_element}</code>.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/969">#969</a>: <code>Attributes</code> (and anything that iterates <code>BytesStart::attributes()</code>
with the default <code>with_checks(true)</code>) no longer takes O(N²) time on a start
tag with a large number of attributes. Small tags keep the previous linear
scan; larger ones switch to a 64-bit hash pre-filter, so the whole tag is
O(N). The exact <code>AttrError::Duplicated(new, prev)</code> positions are unchanged.</li>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/970">#970</a>: <code>NamespaceResolver::push</code> (and hence every <code>NsReader</code> <code>Start</code>/<code>Empty</code>
event) now rejects a start tag that declares more than
<code>DEFAULT_MAX_DECLARATIONS_PER_ELEMENT</code> (256) <code>xmlns</code> / <code>xmlns:*</code> namespace
bindings, returning the new <code>NamespaceError::TooManyDeclarations</code>. Previously
<code>push</code> allocated one <code>NamespaceBinding</code> per declaration with no upper bound,
before the event was returned to the caller, so an <code>NsReader</code> consumer could
not bound its memory exposure on untrusted input. The limit is configurable
via <code>NamespaceResolver::set_max_declarations_per_element</code> (use <code>usize::MAX</code>
to disable).</li>
</ul>
<p><a href="https://redirect.github.com/tafia/quick-xml/issues/969">#969</a>: <a href="https://redirect.github.com/tafia/quick-xml/issues/969">tafia/quick-xml#969</a>
<a href="https://redirect.github.com/tafia/quick-xml/issues/970">#970</a>: <a href="https://redirect.github.com/tafia/quick-xml/issues/970">tafia/quick-xml#970</a></p>
<h2>0.40.1 -- 2026-05-15</h2>
<h3>Bug Fixes</h3>
<ul>
<li><a href="https://redirect.github.com/tafia/quick-xml/issues/964">#964</a>: Fix <code>unreachable!()</code> panic in the serde deserializer when a DOCTYPE
declaration appears between two text runs inside an element (e.g.
<code><a>x<!DOCTYPE y>z</a></code>). The DOCTYPE used to break <code>drain_text</code>'s
consecutive-text merge, so two <code>DeEvent::Text</code> events reached
<code>read_text</code> and tripped its "Cannot be two consequent Text events"
invariant. DOCTYPE is now treated as transparent during text drain —
it still goes through the entity resolver, but the surrounding text
is merged into one run. Discovered via libFuzzer on a real-world
SAML deserializer harness.</li>
</ul>
<p><a href="https://redirect.github.com/tafia/quick-xml/issues/964">#964</a>: <a href="https://redirect.github.com/tafia/quick-xml/pull/964">tafia/quick-xml#964</a></p>
<h3>Misc Changes</h3>
<h2>0.40.0 -- 2026-05-11</h2>
<p>MSRV bumped to 1.79.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tafia/quick-xml/commit/4deda08abeffdc188c269360229cf47e12a77a9f"><code>4deda08</code></a> Release 0.41.0</li>
<li><a href="https://github.com/tafia/quick-xml/commit/1b3b73b4cc6e1e5c2f40fb1cb955d3bbe264368f"><code>1b3b73b</code></a> Remove unused argument to <code>check!</code></li>
<li><a href="https://github.com/tafia/quick-xml/commit/07f3db8343cf152f5bc3483ef5b3164582489bea"><code>07f3db8</code></a> Fix O(N²) duplicate-attribute check in <code>Attributes</code> iterator</li>
<li><a href="https://github.com/tafia/quick-xml/commit/7ca25266e94987210daa864889ab15c9332c8a2a"><code>7ca2526</code></a> Cap namespace declarations per element in <code>NamespaceResolver::push</code></li>
<li>See full diff in <a href="https://github.com/tafia/quick-xml/compare/v0.40.1...v0.41.0">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 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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): update quick-xml requirement from 0.40.1 to 0.41.0 in /bindings/java [opendal]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] closed pull request #7832: chore(deps): update quick-xml requirement from 0.40.1 to 0.41.0 in /bindings/java
URL: https://github.com/apache/opendal/pull/7832
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): update quick-xml requirement from 0.40.1 to 0.41.0 in /bindings/java [opendal]
Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #7832:
URL: https://github.com/apache/opendal/pull/7832#issuecomment-4855793583
Looks like quick-xml is up-to-date now, so this is no longer needed.
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org