dependabot[bot] opened a new pull request, #3060: URL: https://github.com/apache/tika/pull/3060
Bumps [org.springframework:spring-context](https://github.com/spring-projects/spring-framework) from 7.0.8 to 7.0.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spring-projects/spring-framework/releases">org.springframework:spring-context's releases</a>.</em></p> <blockquote> <h2>v7.0.9</h2> <h2>:warning: Attention Required</h2> <ul> <li>In Spring Framework 7.0.9, <code>ForwardedHeaderFilter</code> (Spring MVC) and <code>ForwardedHeaderTransformer</code> (WebFlux) each provide a boolean constructor argument whether to use the standard "Forwarded" header or the "X-Forwarded" alternative headers. A separate property turns on and off use of "X-Forwarded-Prefix". While the default constructor preserves the existing behavior, we recommend to use the new constructor to explicitly specify which forwarded headers to use to make the processing more deterministic and aligned with what is expected from the proxy. Please, see the updated <a href="https://docs.spring.io/spring-framework/reference/7.0.9-SNAPSHOT/web/webmvc/filters.html#filters-forwarded-headers-security">Security Considerations</a> section for details. In 7.1 with <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37072">#37072</a> the default constructor is deprecated and marked for removal. <a href=" https://redirect.github.com/spring-projects/spring-framework/issues/37090">#37090</a></li> <li>In Spring Framework 7.0.9, <code>SimpleEvaluationContext</code> no longer supports expression compilation by default, regardless of the compiler mode configured via <code>SpelParserConfiguration</code> or the <code>spring.expression.compiler.mode</code> system property or Spring property. Applications that intentionally use <code>SimpleEvaluationContext</code> with trusted expressions and require compilation for performance reasons can opt in by calling <code>withCompilationSupported()</code> on the <code>SimpleEvaluationContext</code> builder. Care should be taken when opting in to compilation, as doing so removes the safety guards applied during interpreted evaluation. <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37035">#37035</a></li> </ul> <h2>:star: New Features</h2> <ul> <li>Ignore an empty port value in URI parsing <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37117">#37117</a></li> <li>Avoid retaining class files in annotation metadata <a href="https://redirect.github.com/spring-projects/spring-framework/pull/37112">#37112</a></li> <li>Add <code>@Nullable</code> annotations when treating <code>Map.remove()</code> as returning <code>@Nullable</code> <a href="https://redirect.github.com/spring-projects/spring-framework/pull/37067">#37067</a></li> <li>Revisit SSE view fragments handling <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37061">#37061</a></li> <li>Check list index after auto-grow in <code>AbstractNestablePropertyAccessor</code> <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37036">#37036</a></li> <li>Disable SpEL expression compilation by default in <code>SimpleEvaluationContext</code> <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37035">#37035</a></li> <li>Limit result size of <code>BigDecimal</code>/<code>BigInteger</code> power operations in SpEL <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37034">#37034</a></li> <li>Refactor redirect handling in UrlHandlerFilter <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37030">#37030</a></li> <li>Revise stylesheet source handling in XsltView <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37029">#37029</a></li> <li>Revise view name handling in UrlFilenameViewController <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37027">#37027</a></li> <li>Handle pre-flight requests in functional endpoint setup without DispatcherHandler <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37024">#37024</a></li> <li>Improve WebSocket handshake error logging <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37023">#37023</a></li> <li>Fix missing nullability in JdbcTemplate.batchUpdate <a href="https://redirect.github.com/spring-projects/spring-framework/pull/37012">#37012</a></li> <li>Timeout property in RetryPolicy does not have a default constant <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36983">#36983</a></li> <li>Write native configuration files as UTF-8 <a href="https://redirect.github.com/spring-projects/spring-framework/pull/36972">#36972</a></li> <li>DefaultServerRequest.ServletParametersMap.entrySet() does not retain HttpServletRequest.getParameterMap() order <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36966">#36966</a></li> <li>Perform nextKey within synchronization for SQLite as well <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36959">#36959</a></li> <li>Add support for custom ObjectInputFilter on DefaultDeserializer <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36958">#36958</a></li> <li>Revise resource bundle caching for common locales <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36957">#36957</a></li> <li>Improve nullability for <code>getSession(*)</code> in <code>MockHttpServletRequest</code> <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36926">#36926</a></li> <li>Improve fallback logic in ParameterContentNegotiationStrategy and ParameterContentTypeResolver <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36925">#36925</a></li> <li>Improve ambiguous match check on preflight request <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36903">#36903</a></li> <li>Improve Groovy markup template loading <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36902">#36902</a></li> <li>Improve request path handling on a Reactor Netty server <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36893">#36893</a></li> <li>Improve JettyWebSocketSession error handling <a href="https://redirect.github.com/spring-projects/spring-framework/issues/36891">#36891</a></li> </ul> <h2>:lady_beetle: Bug Fixes</h2> <ul> <li>EclipseLinkJpaDialect singleton lock in EclipseLinkConnectionHandle.getConnection() serializes all JDBC connection acquisitions under load <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37085">#37085</a></li> <li>MetadataReader fails to read byte[] array from annotation <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37083">#37083</a></li> <li>Ensure parsing/tostring symmetry in ContentDisposition <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37064">#37064</a></li> <li>Character outside of permitted range in Content Disposition <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37062">#37062</a></li> <li>Release Jackson BufferRecycler to its pool in encoders <a href="https://redirect.github.com/spring-projects/spring-framework/pull/37059">#37059</a></li> <li>Ensure consistent error escaping <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37055">#37055</a></li> <li>Refine template name processing <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37054">#37054</a></li> <li>Reset TwoByteMatcher partial match on mismatching byte <a href="https://redirect.github.com/spring-projects/spring-framework/pull/37053">#37053</a></li> <li>Refactor async XML parsing limit checks <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37031">#37031</a></li> <li>Fix part constraint checks in PartEventHttpMessageReader <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37028">#37028</a></li> <li>Fix buffer leak in RSocket SETUP frame handling <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37026">#37026</a></li> <li>Ensure correct Jetty core response cookie handling <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37025">#37025</a></li> <li>Align <code>domainToAscii</code> with current WhatWG spec <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37018">#37018</a></li> <li>Ensure consistent <code>ButtonTag</code> value attribute processing <a href="https://redirect.github.com/spring-projects/spring-framework/issues/37017">#37017</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spring-projects/spring-framework/commit/82a6b40b9366ec181ededdad282b307ee5381a52"><code>82a6b40</code></a> Release Spring Framework 7.0.9</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/a7b1b59cbd79175ed79b0f4aa967be70288bb2ee"><code>a7b1b59</code></a> Upgrade to Reactor 2025.0.7</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/996e3d3f18dbb13d92a2eaf988abfe77b06928d4"><code>996e3d3</code></a> Upgrade to Micrometer 1.16.7</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/73f5ddddcd4278580c9c879b2effdac29aa3bff5"><code>73f5ddd</code></a> Refactor maxInMemory limit handling for async XML parsing</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/675f25de72e7ac31db1ffe0dc324381d7cc1a308"><code>675f25d</code></a> Leading slash handling in UrlHandlerFilter</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/692dbc9160de3b5de50ccedeee014716d0cedb7b"><code>692dbc9</code></a> Apply ResourceHandlerUtils checks in XsltView</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/8647e90bc7b2da9b299566296f2b253a6fd9c128"><code>8647e90</code></a> Consistent maxPartSize check in PartEventHttpMessageReader</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/b9379e33d52b491e227715776a072d07bcccddab"><code>b9379e3</code></a> Check viewName for special prefixes in UrlFilenameViewController</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/a784dbe286beaa70e5a88638b6af7f58f458c07e"><code>a784dbe</code></a> Ensure Payload release on early error in createHeaders</li> <li><a href="https://github.com/spring-projects/spring-framework/commit/3b492f3908df3fe0adc639b7da98f737d1ff7a02"><code>3b492f3</code></a> Return sameSite cookie value in Jetty response</li> <li>Additional commits viewable in <a href="https://github.com/spring-projects/spring-framework/compare/v7.0.8...v7.0.9">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | org.springframework:spring-context | [>= 6.a, < 7] | </details> [](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]
