fix(deps): update dependency org.springframework:spring-core to v6 [security] - autoclosed #1050
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.3.31
->6.0.15
GitHub Vulnerability Alerts
CVE-2024-22233
In Spring Framework versions 6.0.15 and 6.1.2, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition.
Specifically, an application is vulnerable when all of the following are true:
Typically, Spring Boot applications need the org.springframework.boot:spring-boot-starter-web and org.springframework.boot:spring-boot-starter-security dependencies to meet all conditions.
Release Notes
spring-projects/spring-framework (org.springframework:spring-core)
v6.0.15
Compare Source
⭐ New Features
StreamUtils.copy(String)
#31631🐞 Bug Fixes
<replaced-method />
unnecessarily requires explicitarg-type
since 6.0 #31828MergedAnnotations
finds duplicate annotations on method in multi-level interface hierarchy #31824MimeTypeUtils.sortBySpecificity()
#31773Query.scroll()
inSharedEntityManagerCreator
'squeryTerminatingMethods
set #31683equals
method (for ConversionService caching) #31673<jee:local-slsb>
no longer works with abusiness-interface
attribute #31630PathResourceResolver.getResource()
does not log warning ifResource#getURL()
throws exception #31624📔 Documentation
@ModelAttribute
is required for reflection hints inference #31767🔨 Dependency Upgrades
v6.0.14
Compare Source
⭐ New Features
Log4jLog
needs to re-resolveExtendedLogger
on deserialization (for compatibility with Log4J 2.21) #31582StandardTypeLocator
for hotspot when the same classes are resolved #31579properties
setter toProblemDetail
#31430🐞 Bug Fixes
@Nullable
#31610PathMatchingResourcePatternResolver
on MS Windows #31598NamedParameterUtils
broken parsing related to square brackets #31596SqlOutParameter
#31550MultiValueMap
when no matrix variables are provided #31483ProxyFactoryBean
declaration may lead to unexpected non-fatal "FactoryBean threw exception from getObjectType" stacktrace output #31473@Value
in compact constructor of a record should not register method injection #31433BeanCopier
falls back toClassLoader.defineClass
for public target #28699📔 Documentation
pertypewithin
is supported by Spring AOP #25887PropertyPlaceholderConfigurer
s [SPR-9989] #14623🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@CrotchBurnt, @GVictorG7, @PiotrFLEURY, @baratrax, @bernie-schelberg-invicara, @huyachigege, @izeye, @lorenzsimon, @martin-lukas, and @rwinch
v6.0.13
Compare Source
⭐ New Features
UnknownContentTypeException
is notSerializable
#31283FastClass
in CGLIB class names for@Configuration
classes #31272🐞 Bug Fixes
HibernateJpaDialect
andHibernateExceptionTranslator
throwSQLExceptionTranslator
-provided exception instead of returning it #31409NamedParameterJdbcTemplate
throws unexpected exception fornull
query #31391@RequestBody
#31327CompoundExpression.toStringAST()
omits?
for null-safe navigation #31326ConcurrentLruCache
no longer supports capacity = 0 #31317@Bean
method #31242ContextOverridingClassLoader.isEligibleForOverriding
#31232void
method invocation #27421LazyResolutionMessage
does not implement propertoString
#21265📔 Documentation
conversionService
field in doc example #31330BeanPropertyRowMapper.getColumnValue(ResultSet, int, Class)
is inconsistent with code #29285@Bean
method in a@Configuration
class'@PostConstruct
method leads to circular reference #27876@Transactional
on interfaces #23538🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@jihuayu and @wfouche
v6.0.12
Compare Source
⭐ New Features
@Scheduled
(fixedDelay = Long.MAX_VALUE, timeUnit = TimeUnit.MINUTES) #31210PathMatchingResourcePatternResolver
#31111@Nullable
toargValue
indoSetValue()
inArgument[Type]PreparedStatementSetter
#31086StringUtils
#31067ReactiveAdapterRegistry
#31047DefaultListableBeanFactory#getBeanNamesForType
does not take target type into account forFactoryBean
resolution #30987spring-core
access toorg.jboss.vfs
forVfsUtils
support on WildFly #30973readNBytes
inStringHttpMessageConverter
whencontentLength
is available #30942DefaultGenerationContext(DefaultGenerationContext, String)
constructorprotected
#30895@Nullable
annotations inAbstractResourceResolver
subclasses in Spring MVC #30893@Autowired
methods on same bean class #30359ClassUtils#getMostSpecificMethod
#30272@PropertySource(ignoreResourceNotFound)
support #22276PayloadMethodArgumentResolver
#21852🐞 Bug Fixes
WebClientResponseException.getResponseBodyAs
throws exception instead of returningnull
for empty body #31179LogFactory
implementation deviates from original ApacheLogFactory
in terms of abstract method declarations #31166nullSafeConciseToString()
invokingisEmpty()
on aMap
/Collection
proxy #31138@DynamicPropertySource
in@Nested
test class cannot override dynamic properties from enclosing class #31083TransactionalApplicationListenerMethodAdapter
should find@TransactionalEventListener
on target class method #31034MethodIntrospector.selectMethods(?)
fails to find methods in case of special bridge method arrangement #30906@ModelAttribute
annotated methods not working with kotlin suspend methods #30894ClassInfo
caching injava.beans.Introspector
on JDK 11/17 #27781PropertySourcesPlaceholderConfigurer
subclass to customizePropertyResolver
#26761📔 Documentation
NoSuchElementException
#31189@Transactional
on package-private/protected methods for class-based proxies #31057Any
to be a nullable type in AOP refdoc examples #31015PathPatternParser.defaultInstance
is outdated #30976ConnectionAccessor
andDatabasePopulator
exception declarations #30932name
attribute in@PropertySource
#30195ApplicationEventMulticaster
used by theApplicationContext
#29996FilePatternResourceHintsRegistrar
API and improve documentation #29161T()
operator not able to locate user types with defaultStandardTypeLocator
configuration #26253@PostConstruct
throughSmartInitializingSingleton
orContextRefreshedEvent
#25074@Scheduled
annotations #23959@ManagedResource
[SPR-17139] #21676@PersistenceContext
injection points in general) [SPR-10443] #15076🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@1zg12, @aahlenst, @christophejan, @gnagy, @izeye, @jongwooo, @kilink, @marschall, @michaldo, @perlun, @pstrsr, @quaff, @remeio, @rwinch, @shin-mallang, and @zakaria-shahen
v6.0.11
Compare Source
⭐ New Features
WARN
level log output during test AOT processing #30867MBeanExporter
in native image #30846AnnotationUtils.isCandidateClass
call withnull
as annotation type #30842DefaultSingletonBeanRegistry.isDependent()
#30839@Nullable
annotations in ContentDisposition.Builder #30820ObjectUtils.nullSafeConciseToString()
#30810ObjectUtils.nullSafeConciseToString()
#30805MicrometerObservationRegistryTestExecutionListener
#30747KotlinReflectionParameterNameDiscoverer
#30725InvocableHandlerMethod#invokeSuspendingFunction
return type toObject
#30716ResolvableType.hasUnresolvableGenerics()
should cache its result #30713@javax.annotation.Resource
annotation #30695LogFactory
contains all public methods from ApacheLogFactory
#30668JdbcTemplate
does not callhandleWarnings
in case of exception #23106🐞 Bug Fixes
toString()
inFieldError
#30799@TransactionalEventListener
#30776AbstractBeanDefinition.getBeanClassName()
when getting bean multithreaded #30773@Scheduled
(fixedDelay = Long.MAX_VALUE) #30754Jackson2ObjectMapperBuilder
breaks whenmodules
customizer followsmodulesToInstall
#30751NullPointerException
in reactiveTransactionalOperatorImpl
#30729MicrometerObservationRegistryTestExecutionListener
uses wrongClassLoader
to detect dependencies #30726@EventListener
anymore in 6.0.9 #30712@Nullable
declarations #30601📔 Documentation
ReactiveTransactionManager
exception declarations #30817JdbcTransactionManager
vsDataSourceTransactionManager
#30802BeanDefinitionDsl.kt
#30798@Aspect
for classes containing only@Pointcut
declarations in reference documentation #30790AbstractMessageListenerContainer
documentation and code disagree regarding log level #30730RowCallbackHandler
can be used withNamedParameterJdbcTemplate
#30705UriUtils
Javadoc #30598MultipartBodyBuilder
#30593@Sql
requiresspring-jdbc
andspring-tx
on the classpath #30280🔨 Dependency Upgrades
micrometer-bom
1.10.9 andcontext-propagation
1.0.4 #30860❤️ Contributors
Thank you to all the contributors who worked on this release:
@KSH-code, @antongub, @bnbakp0582, @cwatzl, @heoYH, @izeye, @kilink, @maartenc, @quaff, @rwinch, @valfirst, and @vbaidak
v6.0.10
Compare Source
⭐ New Features
@Nullable
#30670TestExecutionListener
for Micrometer'sObservationRegistry
in the TestContext framework #30658ResourceEditor
#30628@Nullable
in DefaultJmsListenerContainerFactory #30620commons-logging
is in the classpath #30575MethodArgumentNotValidException(MethodParameter, BindingResult)
constructor #30558ContentDisposition
builder #30537EntityManagerFactory
hints forSharedEntityManagerCreator
#30523MockHttpServletRequestBuilder
to set remote address #30497PersistenceUnitInfoDescriptor
for native images #30492@Bean
'lite' mode not supported if@Bean
methods are not declared locally #30449🐞 Bug Fixes
ApplicationContext
fails to load #30635CompoundExpression.toStringAST()
incorrectly includes.
for indexed properties #30610ReactiveTransactionSupport.unwrapIfResourceCleanupFailure
#30597@Bean
method that returnsnull
,@Autowired
injectsNullBean
instead ofnull
for cached arguments #30485@RequestMapping
method should match both "" and "/" consistently #30293📔 Documentation
@DirtiesContext
semantics when declared at the class level and method level #30623RegisteredBean.resolveAutowiredArgument()
#30609ExchangeFilterFunction
#30543@javax.annotation.Nonnull
is wrong in Javadoc for Spring's@NonNull
#30455@Scheduled
attributes support SpEL expressions #29290🔨 Dependency Upgrades
micrometer-bom
1.10.8 andcontext-propagation
1.0.3 #30657❤️ Contributors
Thank you to all the contributors who worked on this release:
@Foolkin, @anyuruf, @galingerv, @izeye, @jmewes, @kihyuk-sung, @leewin12, @marcingrzejszczak, @rweisleder, @rwinch, @scordio, @ssang1105, and @vpavic
v6.0.9
Compare Source
⭐ New Features
MockServletContext
#30395Environment.matchesProfiles()
for profile expressions #30206🐞 Bug Fixes
InjectionPoint
in bean factory methods when using AOT #30401ApplicationListenerMethodAdapter
supports non-matching generic events #30399@PersistenceContext
injection points on the same class with AOT generates code that does not compile #30437@PropertySource
#value #30376PropertySourceFactory
in native image #30175📔 Documentation
package-info
for CGLIB fork #30461@ResponseStatus
documentation incorrect #30305🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@divcon, @izeye, @luozhenyu, @rwinch, @sigee, and @yuzawa-san
v6.0.8
Compare Source
⭐ New Features
StringUtils.truncate()
#30290ObjectUtils.nullSafeConciseToString()
#30286Cookie
attributes inCookieResultMatchers
forMockMvc
#30285SameSite
cookie attribute inMockMvcHttpConnector
#30264MockCookie
to make use of Servlet 6.0 APIs and semantics for "attributes" #30263initRequestBuilder
inDefaultWebClient
#30254HttpMethod
reflection hint toObjectToObjectConverterRuntimeHints
#30201ConstructorReference
#30189Collections.unmodifiableList(new ArrayList(..))
withList.copyOf()
#30166InputStream.readAllBytes()
inFileCopyUtils.copyToByteArray()
[#30155](https://togithubConfiguration
📅 Schedule: Branch creation - "" (UTC), 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.