dependabot[bot] opened a new pull request, #2347: URL: https://github.com/apache/karaf/pull/2347
Bumps [com.graphql-java:graphql-java](https://github.com/graphql-java/graphql-java) from 19.11 to 25.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/graphql-java/graphql-java/releases">com.graphql-java:graphql-java's releases</a>.</em></p> <blockquote> <h2>25.0</h2> <h1>Key changes</h1> <h2>Dataloader</h2> <h3>Refactoring strategy</h3> <p>The existing PerLevelDataLoaderStrategy has been refactored which lead to simplifications and performance improvements.</p> <h3>New strategies</h3> <p>Two new strategies were introduced: CHAINED and EXHAUSTED. Both can be configured via <code>UnusalConfiguration</code> (see next section).</p> <p>CHAINED allow for chained DataLoaders to be used while keeping a per level dispatch strategies.</p> <p>EXHAUSTED is a completely new strategy that works on the basis to dispatch once the engine is not busy. It mirrors the JS data loader dispatch strategy, but for a multi threaded system.</p> <h3>Unusual Configuration</h3> <p>A more generalised configuration mechanism has been added for "unusual configuration". By that we mean configuation we dont expect many people to use but if they do its now in a more common place</p> <p>For example if you wanted to change the maximum depth the document parser will accept you could call the following methods.</p> <pre><code> var parserOptions = newParserOptions().maxRuleDepth(99).build() GraphQL.unusualConfiguration().parsing().setDefaultParserOptions(parserOptions) </code></pre> <h3>JSpecify Annotations</h3> <p>The team are starting to embrace <a href="https://jspecify.dev/">https://jspecify.dev/</a> annotations as the way to indicate nullable and non nullable fields. Many important classes have had these annotations added to help make it more semantically clear when a value can be null or not.</p> <h1>Breaking Changes</h1> <p>A wrapping <code>FetchedValue</code> object is not always returned on field fetchers for performance reasons. This means that <code>graphql.execution.instrumentation.parameters.InstrumentationFieldCompleteParameters#getFetchedObject</code> was created to replace the older <code>getFetchedValue</code> method and the returns object can sometimes be a <code>FetchedValue</code> or sometimes a simple POJO value.</p> <h1>Performance improvements</h1> <p>A series of performance improvements have been made to reduce the memory footprint of the library. Also the Java <code>.stream()</code> operator can be slower than a more direct loop and many of these calls have been changed for performance reasons.</p> <ul> <li>avoid wrapping materialized fieldValueObject in a CompletableFuture by <a href="https://github.com/samuelAndalon"><code>@samuelAndalon</code></a> in <a href="https://redirect.github.com/graphql-java/graphql-java/pull/3943">graphql-java/graphql-java#3943</a></li> <li>ExecutionStrategyParameters now has a direct transform without a Builder by <a href="https://github.com/bbakerman"><code>@bbakerman</code></a> in <a href="https://redirect.github.com/graphql-java/graphql-java/pull/3935">graphql-java/graphql-java#3935</a></li> <li>ExecutionStepInfo now has a direct transform without a Builder by <a href="https://github.com/bbakerman"><code>@bbakerman</code></a> in <a href="https://redirect.github.com/graphql-java/graphql-java/pull/3934">graphql-java/graphql-java#3934</a></li> <li>FpKit now longer uses streams for performance reasons by <a href="https://github.com/bbakerman"><code>@bbakerman</code></a> in <a href="https://redirect.github.com/graphql-java/graphql-java/pull/3932">graphql-java/graphql-java#3932</a></li> <li>Implement toString/hashCode/equals for DataFetcherResult by <a href="https://github.com/AlexandreCarlton"><code>@AlexandreCarlton</code></a> in <a href="https://redirect.github.com/graphql-java/graphql-java/pull/3964">graphql-java/graphql-java#3964</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/graphql-java/graphql-java/commit/76832a440f2878623f52b6d2f77f7447ba133325"><code>76832a4</code></a> Add performance results for commit bbe6a653939113bedffe947fbf70315ff448f127</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/bbe6a653939113bedffe947fbf70315ff448f127"><code>bbe6a65</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4157">#4157</a> from graphql-java/update-java-dataloader</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/703155510fafa93bf548771dc655fde0e7aaf2b0"><code>7031555</code></a> upgrade to dataloader 6</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/6b68072efb0f9c23d39cb29aea1fb167d5a0845f"><code>6b68072</code></a> upgrade to dataloader 6</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/b3b3bea5f4e1aa154f02b00572fb60f280e9a957"><code>b3b3bea</code></a> upgrade to dataloader 6</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/8dc1beefe60999ad52ce7811ed335db39ccaf10c"><code>8dc1bee</code></a> Add performance results for commit 6ce63f3531d032fa4c15ea8d5b4c4c3bbf0a95b7</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/7de429da72ed236debfed68f2e096451626dced5"><code>7de429d</code></a> Add performance results for commit 6ce63f3531d032fa4c15ea8d5b4c4c3bbf0a95b7</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/6ce63f3531d032fa4c15ea8d5b4c4c3bbf0a95b7"><code>6ce63f3</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4161">#4161</a> from graphql-java/dependabot/gradle/com.fasterxml.ja...</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/2b2735d1e19a924f1d896ad5b9cc6ea28703e452"><code>2b2735d</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4163">#4163</a> from graphql-java/dependabot/github_actions/EnricoMi...</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/ead15871f7606335f107e1547af2aed6c342ff0f"><code>ead1587</code></a> Add performance results for commit 71e6199af4a1fd32da0685cd24093765b47cead1</li> <li>Additional commits viewable in <a href="https://github.com/graphql-java/graphql-java/compare/v19.11...v25.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]
