dependabot[bot] opened a new pull request, #965: URL: https://github.com/apache/unomi/pull/965
Bumps [com.graphql-java:graphql-java](https://github.com/graphql-java/graphql-java) from 14.0 to 26.1. <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> <h1>26.1</h1> <p>This is a bugfix release for 26.</p> <p>It contains a couple of fixes and no breaking changes.</p> <h2>List of PRs</h2> <ul> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4452">#4452</a> Backport 26.1: Remove dependency annotations from shaded classes</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4443">#4443</a> Backport to 26.1: Fix nullable bound on DataFetcherResult.newResult</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4444">#4444</a> Backport to 26.1: Fix covariance checks for SDL type extensions</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4448">#4448</a> Backport 26.1: Fix input cycle validation for non-null lists</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4447">#4447</a> Backport 26.1: Allow empty unions to be completed by extensions</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4449">#4449</a> Backport 26.1: Fix subscription alternative call context cleanup</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4446">#4446</a> Backport 26.1: Fix schema rebuild after root type deletion</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4457">#4457</a> Backport 26.1: Mark InstrumentationState callback params as <a href="https://github.com/Nullable"><code>@Nullable</code></a></li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4451">#4451</a> Backport 26.1: Reject cyclical SDL directive definitions</li> <li><a href="https://redirect.github.com/graphql-java/graphql-java/pull/4450">#4450</a> Backport 26.1: validate circular default values</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/graphql-java/graphql-java/compare/v26.0...v26.1">https://github.com/graphql-java/graphql-java/compare/v26.0...v26.1</a></p> <h2>26.0</h2> <p>This is the 26.0 release of graphql-java. Highlights are summarized below; the full list of merged PRs is at the end.</p> <h2>⚠️ Breaking Changes</h2> <h3>Query complexity limits are now enforced by default</h3> <p>New <code>QueryComplexityLimits</code> validation checks <code>maxDepth</code> (default <strong>100</strong>) and <code>maxFieldsCount</code> (default <strong>100,000</strong>) as part of standard validation. Queries exceeding these limits will now fail with new <code>MaxQueryDepthExceeded</code> / <code>MaxQueryFieldsExceeded</code> validation errors.</p> <ul> <li>Set custom limits via <code>GraphQLContext</code> using <code>QueryComplexityLimits.KEY</code>.</li> <li>Disable entirely with <code>QueryComplexityLimits.NONE</code>.</li> </ul> <p>Introduced in <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4256">#4256</a>.</p> <h3>Validation rule filtering API changed</h3> <p>In <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4228">#4228</a> the rule-filter predicate changed from <code>Predicate<Class<?>></code> to <code>Predicate<OperationValidationRule></code> in <code>Validator.validateDocument(...)</code> and <code>ParseAndValidate.parseAndValidate(...)</code>. Callers that filtered by class (e.g. <code>rule -> rule != NoUnusedFragments.class</code>) must migrate to the enum (<code>rule -> rule != OperationValidationRule.NO_UNUSED_FRAGMENTS</code>). The <code>@Internal</code> classes <code>AbstractRule</code> and <code>RulesVisitor</code> were removed.</p> <h3>Built-in directive handling consolidated (<a href="https://redirect.github.com/graphql-java/graphql-java/issues/4229">#4229</a>)</h3> <ul> <li><code>DirectiveInfo</code> was removed. Replace usages: <ul> <li><code>DirectiveInfo.isGraphqlSpecifiedDirective(...)</code> → <code>Directives.isBuiltInDirective(...)</code></li> <li><code>DirectiveInfo.GRAPHQL_SPECIFICATION_DIRECTIVES</code> → <code>Directives.BUILT_IN_DIRECTIVES</code></li> <li><code>DirectiveInfo.GRAPHQL_SPECIFICATION_DIRECTIVE_MAP</code> → <code>Directives.BUILT_IN_DIRECTIVES_MAP</code></li> </ul> </li> <li>Directive ordering is now consistent: all 7 built-in directives appear first, followed by user-defined directives.</li> <li><code>GraphQLSchema.Builder.clearDirectives()</code> was initially removed then re-added in <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4276">#4276</a> with new semantics — it clears all <code>additionalDirectives</code>, but built-in directives are always re-added automatically at build time.</li> </ul> <h3>OneOf inhabitability validation (<a href="https://redirect.github.com/graphql-java/graphql-java/issues/4248">#4248</a>)</h3> <p>New validator rejects OneOf input types that cannot be populated with a finite value (e.g. <code>input A @oneOf { a: A }</code>). Schemas that previously validated may now be rejected.</p> <h3>Non-null field validation for code-built schemas (<a href="https://redirect.github.com/graphql-java/graphql-java/issues/4194">#4194</a>)</h3> <p>Code-built schemas now perform the same deprecated-on-non-null field validation as SDL-built ones. Schemas relying on the gap may now fail validation.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/graphql-java/graphql-java/commit/722262d4398b3ed89538de541575bc9c369061a4"><code>722262d</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4450">#4450</a> from graphql-java/codex/backport-4253-to-26.x</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/40c578ffdb193604bab2f1b666d509c91bf1fa54"><code>40c578f</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4451">#4451</a> from graphql-java/codex/backport-4385-to-26.x</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/915bf1ecc7a6d7c34b9b737aba636a469361d63d"><code>915bf1e</code></a> Simplify circular default value validation</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/91589010604c7c38ead78c3b536277d2cde53102"><code>9158901</code></a> Simplify directive cycle detection</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/7a7774d9e60a347172d2573bb74ce2c2de84521c"><code>7a7774d</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4457">#4457</a> from graphql-java/codex/backport-4435-to-26.x</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/9be75270d5a1718950e8a69040e95abe2b3ec55f"><code>9be7527</code></a> Propagate nullable chained instrumentation state</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/ac661d02bf7191714d6b6c41bd5be48d31632547"><code>ac661d0</code></a> fix: mark InstrumentationState callback params as <a href="https://github.com/Nullable"><code>@Nullable</code></a></li> <li><a href="https://github.com/graphql-java/graphql-java/commit/2073c98825f7ce217ece61336203f25cf8404945"><code>2073c98</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4446">#4446</a> from graphql-java/codex/backport-4390-to-26.x</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/d81252f5703aa5d2ce3f33072be94371ce2572cd"><code>d81252f</code></a> Merge pull request <a href="https://redirect.github.com/graphql-java/graphql-java/issues/4449">#4449</a> from graphql-java/codex/backport-4384-to-26.x</li> <li><a href="https://github.com/graphql-java/graphql-java/commit/8d6eaba815bc7df885adaa04549afe5eba055470"><code>8d6eaba</code></a> Merge remote-tracking branch 'origin/26.x' into codex/backport-4390-to-26.x</li> <li>Additional commits viewable in <a href="https://github.com/graphql-java/graphql-java/compare/v14.0...v26.1">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]
