spring-framework
spring-framework copied to clipboard
Spring Framework
**Affects:** \5.2.x **Affects:** \5.3.x --- When trying to use the `PartGenerator` in steaming mode (streaming = true), the documentation states that part content should be consumed in an ordered and...
Consider the following configuration class: ```java @Configuration public class MyConfiguration { @Bean A a() { return new A(); } @Bean B b() { return new B(this.a()); } static class A...
Shutdown tasks annotated with @Scheduled when waitForTasksToCompleteOnShutdown is true 1. ScheduledTaskRegistrar: shutdown taskScheduler of ExecutorConfigurationSupport type in destroy() 2. ScheduledAnnotationBeanPostProcessor: do not cancel tasks in destroy(), taskRegistrar cancel them Closes...
We currently resolve the constructor or factory method to use to instantiate a bean using the package private `ConstructorResolver` class. When processing a `BeanFactory` at build-time, we need to retain...
As part of #27052, each Spring web exception now implements `ErrorResponse` and exposes a `ProblemDetail` with details for the error response body. The `detail` field is typically set to a...
This has been requested a number of times but so far has been deferred to Spring Boot which supports error response details. The corresponding https://github.com/spring-projects/spring-boot/issues/19525 issue in Spring Boot has...
The Micrometer [context-propagation](https://github.com/micrometer-metrics/context-propagation) library propagates context across different types of context such as `ThreadLocal`, Reactor `Context`, and others. It does not replace those but rather helps to propagate values from...
**Affects:** \>=5.3.3 --- Consider a _Spring Boot_ application with the following websocket configuration class: @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { @Override public void configureMessageBroker(MessageBrokerRegistry config) { config.setApplicationDestinationPrefixes("/app"); config.enableSimpleBroker("/topic",...
SLF4J 2.0.0 is out now. In alignment with Spring Boot (https://github.com/spring-projects/spring-boot/issues/12649), let's try to upgrade for Spring Framework 6.0 once all necessary bridges and providers have released corresponding versions.
**Affects:** 5.3.12 Webflux fails to apply the [rule for controller methods returning void](https://docs.spring.io/spring-framework/docs/current/reference/html/web-reactive.html#webflux-ann-return-types) to suspend functions returning Unit. Code like the example below causes error messages in log: `ERROR o.s.w.s.a.HttpWebHandlerAdapter...