You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/07/15 08:26:40 UTC
[PR] chore(deps): Bump com.cedarsoftware:java-util from 3.6.0 to 3.7.0 [camel]
dependabot[bot] opened a new pull request, #18617:
URL: https://github.com/apache/camel/pull/18617
Bumps [com.cedarsoftware:java-util](https://github.com/jdereg/java-util) from 3.6.0 to 3.7.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jdereg/java-util/blob/master/changelog.md">com.cedarsoftware:java-util's changelog</a>.</em></p>
<blockquote>
<h4>3.7.0</h4>
<blockquote>
<ul>
<li><strong>MAJOR FEATURE</strong>: Enhanced <code>MultiKeyMap</code> with N-dimensional array expansion support:
<ul>
<li><strong>N-Dimensional Array Expansion</strong>: Nested arrays of any depth are automatically flattened recursively into multi-keys with sentinel preservation</li>
<li><strong>Visual Notation</strong>: <code>{{"a", "b"}, {"c", "d"}} → [SENTINELS, DN, "a", "b", UP, DN, "c", "d", UP]</code> - powerful structural preservation</li>
<li><strong>Iterative Processing</strong>: Uses stack-based approach to avoid recursion limits with deeply nested arrays</li>
<li><strong>Universal Support</strong>: Works with jagged arrays, mixed types, null elements, and empty sub-arrays</li>
<li><strong>API Consistency</strong>: Full support across all MultiKeyMap APIs (put/get/containsKey/remove and putMultiKey/getMultiKey/removeMultiKey/containsMultiKey)</li>
<li><strong>Comprehensive Testing</strong>: 13 test cases covering 2D/3D arrays, mixed types, jagged arrays, deep nesting, and edge cases</li>
</ul>
</li>
<li><strong>SECURITY ENHANCEMENT</strong>: Enhanced <code>TrackingMap</code> with SHA-1 based key tracking to eliminate array component ambiguity:
<ul>
<li><strong>Ambiguity Resolution</strong>: Different array structures <code>[[a,b],[c,d]]</code> vs <code>[a,b,c,d]</code> now track distinctly using SHA-1 hashes</li>
<li><strong>Structural Sentinels</strong>: Added <code>LEVEL_DOWN</code>/<code>LEVEL_UP</code>/<code>HAS_SENTINELS</code> objects to preserve array nesting information</li>
<li><strong>Hash-Based Tracking</strong>: Multi-dimensional arrays tracked via SHA-1 hash of expanded sentinel structure</li>
<li><strong>Performance Optimized</strong>: O(1) sentinel detection using <code>HAS_SENTINELS</code> flag, shorter string representations for speed</li>
<li><strong>Clean APIs</strong>: <code>MultiKeyMap.get1DKey()</code> and <code>computeSHA1Hash()</code> provide focused functionality for TrackingMap</li>
</ul>
</li>
<li><strong>API ENHANCEMENT</strong>: Updated <code>MultiKeyMap</code> varargs method names for disambiguation:
<ul>
<li><strong>Renamed Methods</strong>: <code>put()</code> → <code>putMultiKey()</code>, <code>get()</code> → <code>getMultiKey()</code>, <code>remove()</code> → <code>removeMultiKey()</code>, <code>containsKey()</code> → <code>containsMultiKey()</code></li>
<li><strong>Backward Compatibility</strong>: Standard Map interface methods (single key) remain unchanged</li>
<li><strong>Documentation Updated</strong>: README.md, userguide.md, and Javadoc all reflect correct API usage</li>
</ul>
</li>
<li><strong>ENUM SIMPLIFICATION</strong>: Streamlined <code>MultiKeyMap.CollectionKeyMode</code> from 3 to 2 values:
<ul>
<li><strong>Simplified Options</strong>: <code>COLLECTIONS_EXPANDED</code> (default) and <code>COLLECTIONS_NOT_EXPANDED</code></li>
<li><strong>Clear Behavior</strong>: Arrays are ALWAYS expanded regardless of setting; enum only affects Collections</li>
<li><strong>Constructor Support</strong>: Enhanced constructors to accept <code>CollectionKeyMode</code> parameter for configuration</li>
<li><strong>Documentation Clarity</strong>: Updated all documentation to reflect simplified enum behavior</li>
</ul>
</li>
<li><strong>BUG FIX</strong>: Fixed <code>ConcurrentListConcurrencyTest.testConcurrentQueueOperations</code> timing issue:
<ul>
<li><strong>Flaky Test Resolution</strong>: Updated test expectations to accommodate realistic concurrent producer/consumer timing variations</li>
<li><strong>Race Condition</strong>: Test was expecting perfect 100% consumption rate in concurrent scenario, but timing variations meant some <code>pollFirst()</code> calls returned null</li>
<li><strong>Improved Validation</strong>: Now validates ≥90% consumption rate and empty queue state, which properly tests ConcurrentList functionality</li>
<li><strong>No Functional Changes</strong>: This was a test-only fix; ConcurrentList behavior remains unchanged and correct</li>
</ul>
</li>
<li><strong>PROCESS IMPROVEMENT</strong>: Enhanced deployment pipeline with updated Maven Sonatype publishing process</li>
<li><strong>PERFORMANCE</strong>: Optimized test execution by disabling compilation for faster test cycles during development</li>
<li><strong>TEST FIX</strong>: Stabilized <code>ConcurrentListIteratorTest.testReadFailsGracefullyWhenConcurrentRemoveShrinksList</code>
<ul>
<li>Used a latch to reliably detect the expected exception under heavy load</li>
</ul>
</li>
</ul>
</blockquote>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/jdereg/java-util/commit/0d3079e5c05c188ab2f4acfb8341e72e297272f7"><code>0d3079e</code></a> Updated for 3.7.0 release</li>
<li><a href="https://github.com/jdereg/java-util/commit/0866d666c178bacb250f50a12a82a11da98c351b"><code>0866d66</code></a> Updated for 3.7.0 release</li>
<li><a href="https://github.com/jdereg/java-util/commit/f6907fab0975e6a8deb46d84167192e79e1fabfb"><code>f6907fa</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/4bc3864eca3175a6a62ad670cdf3984fab7f8a62"><code>4bc3864</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/ff828ae8135905e485add6e96095ab5aabb515d5"><code>ff828ae</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/8aaf04d6fc86b053b0eff773eb6ebf19676e7648"><code>8aaf04d</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/5938a6b6e109356ee40a741aaebdbb545c6cdb4d"><code>5938a6b</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/641341e333afd3fe0f9d55155b11ee094fe7e02a"><code>641341e</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/7a95d7e9cfa8a3f57fb5eb6e50c9e4bd61a18cbc"><code>7a95d7e</code></a> ai protection</li>
<li><a href="https://github.com/jdereg/java-util/commit/dc0f2dcb862042c90a954cad2e2f6b2ddb8316bd"><code>dc0f2dc</code></a> ai protection</li>
<li>Additional commits viewable in <a href="https://github.com/jdereg/java-util/compare/3.6.0...3.7.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 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)
</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@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump com.cedarsoftware:java-util from 3.6.0 to 3.7.0 [camel]
Posted by "apupier (via GitHub)" <gi...@apache.org>.
apupier commented on PR #18617:
URL: https://github.com/apache/camel/pull/18617#issuecomment-3072701347
/component-test headersmap
--
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@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump com.cedarsoftware:java-util from 3.6.0 to 3.7.0 [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #18617:
URL: https://github.com/apache/camel/pull/18617#issuecomment-3072702949
:robot: The Apache Camel test robot will run the tests for you :+1:
--
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@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump com.cedarsoftware:java-util from 3.6.0 to 3.7.0 [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #18617:
URL: https://github.com/apache/camel/pull/18617#issuecomment-3072647367
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
* You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
* :warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(deps): Bump com.cedarsoftware:java-util from 3.6.0 to 3.7.0 [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #18617:
URL: https://github.com/apache/camel/pull/18617
--
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@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org