Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Update spring core to v6.2.2 (main) #1384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 4, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.springframework:spring-core 6.1.14 -> 6.2.2 age adoption passing confidence
org.springframework:spring-context 6.1.14 -> 6.2.2 age adoption passing confidence

Release Notes

spring-projects/spring-framework (org.springframework:spring-core)

v6.2.2

Compare Source

⭐ New Features
  • Track only qualifier annotations in BeanOverrideHandler #​34260
  • Remove @FunctionalInterface declaration from BeanOverrideProcessor #​34259
  • Refine default filtered headers for web data binding #​34182
  • Improve query params in uri KeyValue with HTTP interface client #​34176
  • Refine location checks for PathResource #​34167
  • Avoid virtual thread pinning in procedure calling #​34133
  • Type-level constraint violation should result in ParameterErrors #​34105
  • Avoid logger serialization behind shared EntityManager proxy #​34084
  • Improve PathMatcher to PathPatternParser migration in mvc XML configuration #​34064
  • Support @MockitoBean at the type level on test classes #​33925
🐞 Bug Fixes
  • HttpHeadersAssert#doesNotContainsHeaders has a typo #​34263
  • Deadlock with background EntityManager bootstrap due to locking in getSingletonFactoryBeanForTypeCheck #​34247
  • ApplicationListener no longer invoked for double generic ApplicationEvent with 6.2.1 #​34234
  • Nested transaction savepoints are broken in SQL Server #​34233
  • Error handling override in DefaultResponseErrorHandler ignored after upgrade to 6.2.0 #​34231
  • FileNotFoundException is thrown when using ConfigurationPropertiesScan with Spring Context 6.2.1 #​34216
  • BindException declared but not handled by ExceptionHandler #​34214
  • @TestBean factory method resolution is incorrect within class hierarchy #​34204
  • Bean Override in superclass takes precedence over Bean Override in subclass #​34194
  • Ensure AsyncListener#onError does not return until dispatch completes #​34192
  • BeanNotOfRequiredTypeException during transaction qualifier resolution in 6.2.1 #​34187
  • BeanCurrentlyInCreationException is thrown when multiple threads simultaneously try to create bean #​34186
  • DataBinder throws IndexOutOfBoundsException when indexed parameter uses nonconsecutive indices #​34145
  • NullPointerException is thrown if WebClient is used with Apache Httpclient and cookies are disabled #​34132
  • Wrong parentId tracking in FlightRecorderApplicationStartup #​34128
  • PathMatchingResourcePatternResolver is not able to resolve file in SpringBoot Packaged JAR #​34126
  • Placeholder resolution no longer considers exact match before resolving the placeholder key #​34124
  • DataBinder throws StringIndexOutOfBoundsException for indexed property without nested property path #​34121
  • Dependency injection matches wildcards too leniently with 6.2.1 #​34119
  • PathMatchingResourcePatternResolver throws FileNotFoundException caused by wrong cache path #​34111
  • SpEL fails to invoke MethodHandle function reference accepting only varargs #​34109
  • Generic with a base type is no longer resolved to its base if the generic is unresolved #​34086
  • DataBinder throws StringIndexOutOfBoundsException for map property without nested property path #​34043
  • Fix implicit variable resolution in JSP EvalTag #​33945
📔 Documentation
  • Fix inaccuracy in RequestHeaderArgumentResolver Javadoc #​34230
  • Document that http.client.requests measure the entire HTTP exchange #​34201
  • Misuse of em dash in "Basic Concept" section #​34165
  • Fix typo in link #​34149
  • Broken syntax in xml sample of "Reference to Other Beans" section #​34148
  • Fix minor typo in reference documentation for Kotlin annotations #​34134
  • Clarify documentation for the default uri client request observation metric #​34116
  • Fix broken links in the web reference documentation #​34115
  • Bean creation lazily ignores annotations like @EventListener #​34057
🔨 Dependency Upgrades
❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Mattias-Sehlstedt, @​Spanching, @​brendenehlers, @​izeye, @​luozongle01, @​micopiira, @​ngocnhan-tran1996, @​quaff, @​rPraml, @​remeio, and @​scordio

v6.2.1

Compare Source

⭐ New Features

  • Implement toString() in TestBeanOverrideHandler #​34072
  • Log alias removal in DefaultListableBeanFactory #​34070
  • Log warning when one Bean Override overrides another Bean Override #​34056
  • Introduce "unsafeAllocated" flag in TypeHint #​34055
  • Cannot assert status reason phrase with MockMvcTester #​34016
  • Improve toString for reactive ScheduledTask #​34010
  • Optimize sending requests without a body in RestClient and WebClient with Reactor Netty #​34003
  • Add missing @Contract annotation to ObjectUtils#isEmpty #​33984
  • OptionalValidatorFactoryBean suppresses Hibernate Validator configuration failures too much #​33979
  • Support Flux<ServerSentEvent<Fragment>> in WebFlux #​33975
  • Update in FragmentsRendering to names of static methods #​33974
  • Honor @Fallback semantics for Test Bean Overrides #​33924
  • AdvisedSupport.MethodCacheKey should check for logical equality as well as identity #​33915
  • Fail with full description for XML diff in XmlExpectationsHelper #​33827
  • MapMethodProcessor should only resolve arguments of type Map or the ModelMap hierarchy #​33160

🐞 Bug Fixes

  • Support binding from request headers via constructor args #​34073
  • Unable to configure custom scheduler for @Scheduled annotation #​34058
  • Identical Bean Overrides are silently allowed #​34054
  • OOM due to NoTransactionInContextException in reactive pipeline #​34048
  • Priority header causes binding exception after upgrade to Spring Framework 6.2.0 #​34039
  • @MockitoBean incorrectly injects supertype into subtype field #​34025
  • NestedPlaceholder are not recursively resolved if the fallback is a placeholder #​34020
  • AOT no longer generates BeanInstanceSupplier signature for a CGLIB proxy with its public type #​33998
  • Nested transaction support via savepoints is broken in Oracle database #​33987
  • Proxy created with IntroductionInterceptor but without target always throws an exception #​33985
  • ApplicationListener no longer invoked for generic ApplicationEvent with 6.2.0 #​33982
  • Error handling override in DefaultResponseErrorHandler ignored after upgrade to 6.2.0 #​33980
  • BeanCurrentlyInCreationException is thrown when multiple threads simultaneously try to create a FactoryBean #​33972
  • HandshakeWebSocketService assumes jakarta websocket is present #​33970
  • @Value cases SpringCGLIB$$0 required a bean of type java.lang.String that could not be found in Native compile when migrating to SB 3.4 #​33960
  • PathMatchingResourcePatternResolver should not log directory-skip messages at info level #​33956
  • Avoid infinite recursion in BeanValidationBeanRegistrationAotProcessor with recursive generics #​33950
  • Skip runtime hint registration for validation constraint with missing dependencies #​33949
  • Move Kotlin value class unboxing to InvocableHandlerMethod #​33943
  • MockReset strategy is no longer honored for @MockitoBean and @MockitoSpyBean #​33941
  • TypeDescriptor with recursive generics triggers infinite recursion in ResolvableType.equals/hashCode #​33932
  • RestClient does not expose full URI template as attribute #​33928
  • Bean Overrides like @MockitoBean and @TestBean should not be allowed on static fields #​33922
  • Regression in duplicate beans with different method names #​33920

📔 Documentation

  • Fix link to MockMvcBuilders in reference documentation #​34031
  • Fix a typo in the filters documentation #​33959
  • Document visibility requirements for Bean Overrides #​33923
  • Fix typos and link in Observability documentation #​33910
  • SpEL documentation contains syntax errors #​33907
  • Improve explanation of AOP advice classes that should implement MethodInterceptor #​33901
  • Reflect well-known HttpHeaders intent in Javadoc #​33886
  • Reflect well-known MediaTypes intent in Javadoc #​33754
  • Document support for varargs invocations in SpEL #​33332

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Boiarshinov, @​CHOICORE, @​KNU-K, @​izeye, @​ngocnhan-tran1996, @​scordio, @​sonallux, and @​youabledev

v6.2.0

Compare Source

⭐ New Features

  • Update UndertowHttpHandlerAdapter to dispatch #​33885
  • Refine @Contract Javadoc to mention this and new return values #​33849
  • AOT processing for bean validation does not consider cascaded and container element constraints #​33842
  • Avoid repeated resolving of singleton beans through @Lazy proxy #​33841
  • Regiser runtime hints for @TestBean fully-qualified method names #​33836
  • Introduce support for custom reason in @DisabledInAotMode #​33833
  • Use optimistic locking where possible in ResponseBodyEmitter #​33831
  • Revise cookies support with Apache HTTP Components in WebClient and WebTestClient #​33822
  • Remove the pure attribute from @Contract #​33820
  • Introduce @CheckReturnValue annotation #​33818
  • ResourceHttpRequestHandler throwing IllegalArgumentException if resource doesn't end with slash breaks some third-party libraris #​33815
  • Provide first-class virtual thread option on ThreadPoolTaskExecutor/ThreadPoolTaskScheduler #​33807
  • HttpServiceProxyFactory should omit optional @RequestParam if converted from null to empty string #​33794
  • Reactor Netty response should not buffer the full response #​33781
  • Relax the visibility of MockMVC DSL constructors #​33778
  • Support Publisher to InputStream conversion #​31677

🐞 Bug Fixes

  • MockReset should be honored without @Mockito[Spy]Bean fields #​33829
  • Test Bean Overrides do not honor @Primary semantics #​33819
  • Bean Overrides cannot reliably override beans created by a FactoryBean with generics #​33811
  • Bean Overrides for certain FactoryBean use cases no longer work #​33800
  • @MockitoBean, @MockitoSpyBean, & @TestBean do not work with @DirtiesContext "before method" modes #​33783
  • Deprecate exchangeTimeout and refactor readTimeout in ReactorClientHttpRequestFactory #​33782

📔 Documentation

  • Revise documentation for SpEL PropertyAccessor and IndexAccessor APIs regarding ordering #​33862
  • Document UrlHandler Servlet and reactive filters #​33784
  • Improve documentation for SpelCompilerMode #​33223

🔨 Dependency Upgrades

  • Upgrade to ASM 9.7.1 (for early Java 24 support) #​33821
  • Upgrade to Micrometer 1.14.0 #​33876
  • Upgrade to Reactor 2024.0.0 #​33878

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Hejow, @​OlegDokuka, and @​lucky8987

v6.1.16

Compare Source

⭐ New Features

  • Log alias removal in DefaultListableBeanFactory #​34071
  • OptionalValidatorFactoryBean suppresses Hibernate Validator configuration failures too much #​34041
  • Update UndertowHttpHandlerAdapter to dispatch #​33969

🐞 Bug Fixes

  • HandshakeWebSocketService assumes jakarta websocket is present #​34023

📔 Documentation

  • Fix a typo in the filters documentation #​33971
  • SpEL documentation contains syntax errors #​33908

🔨 Dependency Upgrades

v6.1.15

Compare Source

⭐ New Features

  • Use UriUtils to process static resource paths #​33859
  • Prefer modified resources over the originals in TestCompiler #​33850
  • Improve iteration methods in native headers to MultiValueMap adapters #​33823
  • Deregister empty Cache from CacheManager #​33813
  • Rename aopAvailable constants in TransactionSynchronizationUtils for better GraalVM native image support #​33796
  • Load-time weaving support for WildFly 24+ #​33728

🐞 Bug Fixes

  • DefaultClientRequestObservationConvention generates wrong uri tag when missing path #​33867
  • HttpComponentsClientHttpRequestFactory setReadTimeout not working with httpclient 5.4 #​33806
  • HttpHeaders.writeableHttpHeaders(new HttpHeaders(readOnlyHttpHeaders)) is not writeable #​33789
  • RestClient exchange methods are not nullable #​33779
  • Throw SpelParseException for unsupported character in SpelExpressionParser #​33767
  • DefaultMessageListenerContainer reports incorrect jms.process.message count #​33758
  • Autowiring fails if multiple non-highest @Priority beans exist with same priority #​33733
  • Jackson2Decoder leaks on WebClient timeout #​33731
  • DefaultServerRequestObservationConvention throws when response status is zero #​33725
  • Aspect executed twice - @AfterThrowing #​33704
  • parts w/o filename in Content-Disposition header are not cleaned from temp folder (skipped by StandardServletMultipartResolver) #​33511

📔 Documentation

  • Resources link points to wrong section of reference guide #​33882
  • Remove mentions of Joda-Time support #​33881
  • SimpleAsyncTaskExecutor blocks calling thread when concurrencyLimit set #​33873
  • Fix formatting issue in validation section of reference guide #​33871
  • Fix typo in reference documentation #​33865
  • Fix XML bean reference example in reference manual #​33855
  • Fix a typo in documentation #​33846
  • Numerous warnings when injecting dependencies into configuration that implements CachingConfigurer #​33834
  • @Async documentation should not suggest deprecated classes #​33805
  • Document that circular dependencies should be avoided in AOT mode #​33786
  • Inconsistent Lifecycle Management with Virtual Threads in Spring Boot Async Configuration #​33780
  • Fix incorrect regex rendering in MVC controller documentation #​33766
  • Improve documentation for allowEagerInit parameter in getBeanNamesForType() #​33740
  • Fix Javadoc in ReactorNetty2ResourceFactory #​33735
  • Document options for handling Date/Time parsing and formatting issues with JDK 20+ #​33151

🔨 Dependency Upgrades

❤️ Contributors

Thank you to all the contributors who worked on this release:

@​Torres-09, @​ZLATAN628, @​hosamaly, @​izeye, @​kunaljani1100, @​ngocnhan-tran1996, and @​wilkinsona


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the automerge label Jan 4, 2025
Copy link

github-actions bot commented Jan 4, 2025

Test Results

 50 files  ±0   50 suites  ±0   2m 14s ⏱️ +16s
138 tests ±0  138 ✅ ±0  0 💤 ±0  0 ❌ ±0 
438 runs  ±0  438 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 614d881. ± Comparison against base commit 1e3f5e7.

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the renovate/main-spring-core branch 12 times, most recently from 9de8a6d to ef2b793 Compare January 9, 2025 16:41
@renovate renovate bot force-pushed the renovate/main-spring-core branch 2 times, most recently from 7836e57 to 5489fdf Compare January 15, 2025 15:10
@renovate renovate bot changed the title deps: Update spring core to v6.2.1 (main) deps: Update spring core to v6.2.2 (main) Jan 16, 2025
@renovate renovate bot force-pushed the renovate/main-spring-core branch from 5489fdf to 614d881 Compare January 16, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants