NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central, #152 by repository stars
Spring Framework
Latest stable
5.3.39
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
21 years old
116 releases · first in 2005
Drag across the ruler to compare, or tap a release to open it.
SimpleEvaluationContext should disable array allocation #33386
Efficient handling of conditional HTTP requests #33378
SimpleEvaluationContext does not enforce read-only semantics #33320ConversionService cannot convert primitive array to Object[] #33314Indexer silently ignores failure to set property as index #33312java.nio.file.Path (and plain "." value resolves to classpath root) #33140Your coding agent can read these notes before it upgrades. Set up the MCP server →
AnnotationUtils performance degrades with deep stacks #32923
Map with a primitive #32911Integer #32909@EnableTransactionManagement(mode = AdviceMode.ASPECTJ) #32885Overridden aspect method runs twice #32868
Accept ajc-compiled @Aspect classes for Spring AOP proxy usage #32818
@Aspect classes for Spring AOP proxy usage #32818MergedAnnotations search does not find container for repeatable annotation #32751AnnotationConfigWebApplicationContext should propagate ApplicationStartup to BeanFactory #32749PropertiesPropertySource.getPropertyNames() #32744ResponseCookie #32668Log column type for limited support message in JdbcUtils.getResultSetValue #32603
JdbcUtils.getResultSetValue #32603Annotation array cloning in TypeDescriptor #32477Annotation array in TypeDescriptor #32466MethodIntrospector.selectMethods() fails to detect bridge methods across ApplicationContexts #32588Extract reusable method for URI validations #32442
*HttpMessageConverter#getContentLength return value null safety #323325.3.x Spring Framework Javadoc #32414Add CORS support for Private Network Access #31974
MergedAnnotations finds duplicate annotations on method in multi-level interface hierarchy #31825Query.scroll() in SharedEntityManagerCreator's queryTerminatingMethods set #31684equals method (for ConversionService caching) #31674Log4jLog needs to re-resolve ExtendedLogger on deserialization (for compatibility with Log4J 2.21) #31583
Log4jLog needs to re-resolve ExtendedLogger on deserialization (for compatibility with Log4J 2.21) #31583@Nullable #31611PathMatchingResourcePatternResolver on MS Windows #31603SqlOutParameter #31560BeanCopier falls back to ClassLoader.defineClass for public target #31436HibernateJpaDialect and HibernateExceptionTranslator throw SQLExceptionTranslator-provided exception instead of returning it #31410NamedParameterJdbcTemplate throws unexpected exception for null query #31394LazyResolutionMessage does not implement proper toString #31385ContextOverridingClassLoader.isEligibleForOverriding #31233@Transactional on interfaces #31401@Bean method in a @Configuration class' @PostConstruct method leads to circular reference #31339Optimize ClassUtils#getMostSpecificMethod #31100
ClassUtils#getMostSpecificMethod #31100StringUtils #31069PayloadMethodArgumentResolver #31056ReactiveAdapterRegistry #31048@Autowired methods on same bean class #30994LogFactory implementation deviates from original Apache LogFactory in terms of abstract method declarations #31167nullSafeConciseToString() invoking isEmpty() on a Map/Collection proxy #31156@DynamicPropertySource in @Nested test class cannot override dynamic properties from enclosing class #31085TransactionalApplicationListenerMethodAdapter should find @TransactionalEventListener on target class method #31037ClassInfo caching in java.beans.Introspector on JDK 11/17 #31005MethodIntrospector.selectMethods(?) fails to find methods in case of special bridge method arrangement #30907ConnectionAccessor and DatabasePopulator exception declarations #30933@PostConstruct through SmartInitializingSingleton or ContextRefreshedEvent #30889Avoid illegal reflective access in ContextOverridingClassLoader.isEligibleForOverriding #30868
JdbcTemplate does not call handleWarnings in case of exception #30852AnnotationUtils.isCandidateClass call with null as annotation type #30843DefaultSingletonBeanRegistry.isDependent() #30841ObjectUtils.nullSafeConciseToString() #30811ObjectUtils.nullSafeConciseToString() #30806ResolvableType.hasUnresolvableGenerics() should cache its result #30715LogFactory contains all public methods from Apache LogFactory #30711toString() in FieldError #30800@TransactionalEventListener #30784Jackson2ObjectMapperBuilder breaks when modules customizer follows modulesToInstall #30752ReactiveTransactionManager exception declarations #30819JdbcTransactionManager vs DataSourceTransactionManager #30814ClassLoader can be null in DeserializingConverter and should be annotated with @Nullable #30672
@Nullable #30672Environment.matchesProfiles() for profile expressions #30226@Bean method that returns null, @Autowired injects NullBean instead of null for cached arguments #30551@Scheduled attributes support SpEL expressions #30642Limit string concatenation in SpEL expressions #30331
StringUtils.truncate() #30291ObjectUtils.nullSafeConciseToString() #30287HttpComponentsHeadersAdapter#getFirst nullable #30269AbstractMessageWriterResultHandler #30215SharedEntityManagerCreator #30164@PathVariable reference documentation code snippets #30258@EnableWebSocket #30187Improve diagnostics in SpEL for matches operator #30145
matches operator #30145matches operator #30141@Nullable annotations to LogMessage.format methods #30009MockMvc.multipart() Kotlin extensions with HttpMethod #29941@JmsListener subscription #29902SharedEntityManagerCreator's queryTerminatingMethods set #29888DatabaseClient is eagerly invoked #29887Jackson2ObjectMapperBuilder#configureFeature exception handling #29860java.lang.Object on a JDK proxy #30118forwarding-header-strategy=native or cloud platform detected #29974Jetty10RequestUpgradeStrategy #29256@AspectJ argument name resolution algorithm is outdated in reference manual #30057@Bean method return type for equivalence with XML example #29970@DynamicPropertySource examples regarding changes in Testcontainers #29940primitivesDefaultedForNullValue in BeanPropertyRowMapper #29926DataClassRowMapper supports Java records #29922JmsTemplate.convertAndSend throws NullPointerException during shutdown #29719
ConstructorReference does not generate AST representation of arrays #29666String literal (and vice versa) #29653WebMvcConfigurationSupport should not catch Throwable for SourceHttpMessageConverter #29537Avoid reflection for annotation method invocations #29448
null WebSocket session attributes #29315webjars-locator-core dependency #29322We'd like to thank all the contributors who worked on this release!
Deprecate NestedIOException #28929
@Nested tests #29037@RequestParam with WebFlux #28944<tt> HTML tag in Javadoc #28819We'd like to thank all the contributors who worked on this release!
Improve regex "." matching for URL paths #28815
MockMvcRequestBuilders.multipart(HttpMethod, String, Object...) #28631GenericApplicationContext does not honor ProtocolResolver when a resource loader is set via setResourceLoader() #28703@Transactional(readOnly) is applied to the connection before the transaction has begun #28610@Production #28680@Required Kotlin documentation to use annotation use site targets #28630@ComponentScan basePackages attribute #28628We'd like to thank all the contributors who worked on this release!
Expose ThreadPoolTaskExecutor queue size and capacity for metrics #28583
org.springframework.web log category at runtime #28477PathPattern and UrlPathHelper is set to not decode #27791@Required #28590We'd like to thank all the contributors who worked on this release!
Refine CachedIntrospectionResults property introspection #28445
@Value etc. [SPR-10656] #15284@ModelAttribute name attribute is not supported in WebFlux #28423We'd like to thank all the contributors who worked on this release!
Remove DNS lookups during websocket connection initiation #28280
ServletOutputStream::isReady() when reading chunked data across network packets #28241We'd like to thank all the contributors who worked on this release!
Move off deprecated API in SessionTransactionData #28234
SessionTransactionData #28234@Transactional test does not execute all JPA lifecycle callback methods #28228We'd like to thank all the contributors who worked on this release!
Using DataClassRowMapper causes "No property found for column" debug messages in logs #28179
@EnabledIf and @DisabledIf test support #28157We'd like to thank all the contributors who worked on this release!
Deprecate AsyncTaskExecutor.execute(Runnable task, long startTimeout) #27959
We'd like to thank all the contributors who worked on this release!
Deprecate inappropriate getBeanFactory() method in AbstractBeanDefinitionReader #27875
H2SequenceMaxValueIncrementer compatible with H2 database 2.0.x #27870We'd like to thank all the contributors who worked on this release!
Add default methods to CachingConfigurer #27811
null argument to Optional.empty() in SpEL varargs expression #27795@Autowired and beanFactory.getBeanProvider #27727DataSource when the job store class has been customized #27709@Bean definitions via default methods #767We'd like to thank all the contributors who worked on this release!
Use ByteArrayDecoder in DefaultClientResponse::createException #27666
@ComponentScan.Filter #27553We'd like to thank all the contributors who worked on this release!
Update warn log message for empty static resource locations #27575
We'd like to thank all the contributors who worked on this release!
Enhance DefaultResponseErrorHandler to allow logging complete error response body #27552
java.naming module) #27483CglibAopProxy via ProxyFactory #27439We'd like to thank all the contributors who worked on this release!
Invalid JavaBean property 'logoutHandlers' being accessed (warning in the logs for Spring Security's ConcurrentSessionFilter) #27372
ExceptionCollector testing utility #27316TimeUnit in the @Scheduled annotation #27309setDefaultCharacterEncoding() in MockHttpServletResponse #27214@ExceptionHandler methods #27203ResultHandlers before default ResultMatchers in MockMvc #27225MockHttpServletResponse.characterEncoding should not be @Nullable #27219HtmlUnitRequestBuilder ignores file uploaded via HtmlFileInput.setData() #27199prepareTestInstance() is invoked when using the SpringMethodRule #27305@Cacheable caches empty Optionals but documentation states otherwise #27184We'd like to thank all the contributors who worked on this release!
Configure CommonsMultipartResolver to support specific HTTP methods #27161
@ResponseStatus on handler method is not resolved by MessageSource #27156@PathVariable path #27132@since to BeanDefinitionBuilder.setSynthetic() #27155@Valid* annotation triggers validation in the reference manual #27050We'd like to thank all the contributors who worked on this release!
Deprecate/Remove internal APIs in ScriptUtils implementations #26947
@ResponseStatus is inherited by @ExceptionHandler methods #27031@Transactional docs regarding method visibility #27003@Transactional examples regarding method visibility #27001@TransactionalEventListener after completion methods #26974We'd like to thank all the contributors who worked on this release!
Ensure multipart temp directories do not collide #26931
CorsRegistration#combine is a noop #26877@ModelAttribute(binding=false) is not honored with WebFlux #26856@ModelAttribute through type conversion from a request value #26873@AuthenticationPrincipal annotation #26791We'd like to thank all the contributors who worked on this release!
Make sure file storage directory exists before usage in DefaultPartHttpMessageReader #26790
@DirtiesContext not applied when class-level @EnabledIf evaluates to false #26694<context:annotation-config/> #26782We'd like to thank all the contributors who worked on this release!
Update reference to deprecated CronSequenceGenerator #26651
@JmsListener endpoint id to annotation-derived listener container (for transaction definition name) #26683@EventListener annotated bean cannot be removed from the ApplicationEventMulticaster #26638@MessageExceptionHandler via @ControllerAdvice in RSocket #26636@ExceptionHandler methods #24539@DateTimeFormat #20292@CrossOrigin maxAge value should override global value #26619@Component #26199@Required annotation #26578We'd like to thank all the contributors who worked on this release!
Enforce standard Java types in YamlProcessor #26530
@RequestBody in WebFlux #26386@CrossOrigin #26490* expression is used #26390We'd like to thank all the contributors who worked on this release!
Add null check for ExceptionHandlerMethodResolvers #26339
@Schedule with Quartz features in CronExpression #26289@ExceptionHandler methods not invokable if matched on exception's cause level > 1 #26317@Nullable value but throws NullPointerException #26274We'd like to thank all the contributors who worked on this release!
Refine ConfigurationClassPostProcessor behavior in native images #26236
@DynamicPropertySource is not supported via @NestedTestConfiguration semantics #26091@Autowired #25966ServerRequest::pathVariable in nested RequestPredicate #26163@Transactional causes casting error for suspending function on Spring MVC #26092toEntityFlux methods in WebClient #26069@RequestParam now fails #26088@Transactional does not propagate to new threads #25439We'd like to thank all the contributors who worked on this release!
Expose a public method "isClosed" to indicate whether the connection has been closed in WebSocketSession (WebFlux) #26043
@Transactional functions #26052@Transactional on suspending function returning a value always rollbacks #25998@Nonnull annotation breaks ServletRequestMethodArgumentResolver for Principal #25981We'd like to thank all the contributors who worked on this release!
Deprecate StringUtils.isEmpty(Object) and replace remaining usage (e.g. with ObjectUtils.isEmpty) #25945
StringUtils.isEmpty(Object) and replace remaining usage (e.g. with ObjectUtils.isEmpty) #25945@Sql, @SqlConfig, @SqlGroup, & @SqlMergeMode on enclosing class for nested test class #25913@Transactional #23575@MessageMapping handles received messages #22822@NestedTestConfiguration should not be discovered on enclosing class for nested interface #25917@NestedTestConfiguration support #25912@DynamicPropertySource use cases that require @DirtiesContext #25850We'd like to thank all the contributors who worked on this release!
Reintroduce support for null SpEL expressions #30464
Limit string concatenation in SpEL expressions #30332
Improve diagnostics in SpEL for matches operator #30150
Refine CachedIntrospectionResults property introspection #28446
Remove DNS lookups during websocket connection initiation #28281
Restrict access to property paths on Class references #28262
Declare serialVersionUID on DefaultAopProxyFactory #27785
Enhance DefaultResponseErrorHandler to allow logging complete error response body #27558
Invalid JavaBean property 'logoutHandlers' being accessed (warning in the logs for Spring Security's ConcurrentSessionFilter) #27396
prepareTestInstance() is invoked when using the SpringMethodRule #27312Deprecate internal APIs in ScriptUtils implementations #26948
@Transactional examples regarding method visibility #27005@Transactional docs regarding method visibility #27004@TransactionalEventListener after completion methods #26979Ensure multipart temp directories do not collide #26932
@ModelAttribute(binding=false) is not honored with WebFlux #26888Add missing nullable annotation to ResponseEntity ok convenience method #26614
@DirtiesContext not applied when class-level @EnabledIf evaluates to false #26697@CrossOrigin maxAge value should override global value #26620@Component #26584Inefficient reflection operations for destroy method determination #26499
@Nullable value but throws NullPointerException #26277ContentCachingResponseWrapper should not add “Content-Length” when “Transfer-Encoding” is present #26191
@Transactional does not propagate to new threads #26102StompSubProtocolHandler logs failed authentication with error stack trace #26037
Optimize Jackson resource management in codecs #25910
@RequestPart multipart controllers with Servlet MockPart #25829@ActiveProfiles with same profiles but different order results in duplicate ApplicationContext #25973HttpHeaders.setContentDispositionFormData should ignore empty filename #25769
@FunctionalInterface #25571@RestControllerAdvice annotation attributes #25520@Bean method with name mismatch causes bean to be created twice (in case of ASM processing) #25263@RestController and Webflux #25596@Bean javadoc and ConfigurationClassEnhancer #25590@RequestMapping#params #25482We'd like to thank all the contributors who worked on this release!
Defer creating logger in StandardWebSocketHandlerAdapter #25427
We’d like to thank all the contributors who worked on our current release!
Implement reliable invocation order for advice within an @Aspect #25186
@Aspect #25186@Lookup annotation #25044@PathVariable declarations in examples in webmvc.adoc #25006We'd like to thank all the contributors who worked on this release!
Deprecate AnnotationFilter.NONE (since MergedAnnotations always filters java.lang.* annotations) #24932
@Nullable #24839@Autowired constructors #24838@DynamicPropertySource #24837We'd like to thank all the contributors who worked on this release!
One column per quarter.