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

Update spring core to v6.2.3 #959

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.springframework:spring-context 6.2.0 -> 6.2.3 age adoption passing confidence
org.springframework:spring-web 6.2.0 -> 6.2.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v6.2.3

Compare Source

⭐ New Features

  • Add form fields to MockMvc Kotlin DSL #​34412
  • Make ProblemDetail implement Serializable #​34409
  • Support @MockitoSpyBean at the type level on test classes #​34408
  • Expose order values of TestExecutionListener implementations as constants #​34404
  • ContentDisposition should match attributes in a case-insensitive fashion #​34383
  • Provide access to servletPath in ServletRequestPathUtils #​34379
  • Use ConversionService to convert POJO to array for SpEL varargs invocations #​34371
  • Provide a more actionable CGLIB error message with native #​34370
  • Wrap disconnected client exceptions as AsyncRequestNotUsableException in Servlet container onError callback #​34363
  • Support RFC 8441 WebSocket upgrade with HTTP/2 CONNECT #​34362
  • Optimize default property editor allocations for bean instance creation #​34361
  • Continue with pre-instantiation when current bean is in creation already #​34349
  • Allow filtering bean instances returned by ObjectProvider#stream() #​34318
  • GenericConversionService finds wrong converter for partially unresolvable generic types #​34298
  • Avoid re-creating HandlerMethod unless handler is resolved through the BeanFactory #​34277
  • UrlResource should leniently handle HTTP endpoints which do not support HEAD #​34217
  • Add API counterpart for handling Fallback and 'defaultCandidate=false' beans #​34203
  • Add support for multidimensional arrays #​34183
  • Add getters to ServerResponseResultHandler #​34066
  • Improve diagnostics when a Bean Override cannot be selected by type #​34006
  • Expression performance regression due to missing annotation types on context classes #​33948

🐞 Bug Fixes

  • PathMatchingResourcePatternResolver failing against non-jar file in classpath #​34417
  • GenericTypeResolver Since 6.2.0, generics cannot be obtained correctly in multi-layer interface inheritance (possible regression of #​24963) #​34386
  • Test Bean Overrides honor fallback qualifier instead of @Primary semantics #​34374
  • HTTP interface client raises IllegalArgumentException if query param name contains a colon #​34364
  • Quartz-style Nth Day of Week cron expressions can overflow to other month #​34360
  • Component scan fails to find jar entries in WEB-INF/classes with embedded Tomcat #​34348
  • Check hasNext when when accessing sessionIds from UserDestinationResult #​34333
  • Property binding to Map that implements Iterable no longer works #​34332
  • GenericTypeResolver returns EmptyType #​34328
  • Duplicate BeanOverrideHandler discovered in @Nested test class hierarchy when upgrading to Spring 6.2.2 #​34324
  • AnnotationBeanNameGenerator issues warning about explicitly aliased value attribute #​34317
  • Stop assuming that AspectJ Advice has JoinPoint as the first argument #​34316
  • Constructor binding fails for simple types List/Map/Array and for nested container combinations #​34305
  • Change in BeanFactoryUtils.beanNamesForTypeIncludingAncestors() Behavior in Spring Framework 6.2.x causing ClassCastExceptions #​34300
  • Data binding does not filter HTTP headers for constructor binding #​34292
  • Escaped character in nested placeholder not detected properly and leads to invalid parts #​34289
  • ReflectJvmMapping.getKotlinFunction returns null for Kotlin properties #​34284
  • ConfigurationClassEnhancer should explicitly set custom ClassLoader on CGLIB Enhancer (aligned with CglibAopProxy) #​34274
  • Connection reset exception from RestTemplate call in Spring Web MVC controller is ignored #​34264
  • AsyncExecution fails to detect the return type of an annotated method from an interface with a generic #​33957
  • Ensure Locale context is available for WebFlux method validation #​33810

📔 Documentation

  • Fix reference to ApplicationContext#getAutowireCapableBeanFactory in reference documentation #​34400
  • Clarify component scanning of abstract classes with @Lookup methods #​34367
  • Minor update in WebSocket STOMP reference documentation #​34353
  • Clarify documentation on the usage of RestClient in POST scenarios without response body #​34334
  • Document limitation around the port of localAddress in StandardWebSocketSession #​34304
  • Fix Javadoc for field reflection hints #​34297
  • Improve Javadoc for SpringProperties.getFlag() #​34295
  • Link to current AspectJ Javadoc #​34293
  • Update Javadoc for SimpleCommandLinePropertySource #​34282
  • Update RestClientException Javadoc to refer to RestClient #​34270
  • Document order values for TestExecutionListener implementations #​34265
  • Document custom HttpServiceArgumentResolver usage #​34227

🔨 Dependency Upgrades

❤️ Contributors

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

@​JoshuaChen, @​Puppy4C, @​anaconda875, @​brandenclark, @​canattofilipe, @​dobrosi, @​izeye, @​jazdw, @​khoutz182, @​kwondh5217, @​pirocraft, @​quaff, @​remeio, and @​tarekmues

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

⭐ 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


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 changed the title Update spring core to v6.2.1 Update spring core to v6.2.2 Jan 16, 2025
@renovate renovate bot force-pushed the renovate/spring-core branch from 0aab5a8 to 486ad3c Compare January 16, 2025 09:56
@renovate renovate bot changed the title Update spring core to v6.2.2 Update spring core to v6.2.3 Feb 13, 2025
@renovate renovate bot force-pushed the renovate/spring-core branch from 486ad3c to 21bc722 Compare February 13, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants