fix(deps): update spring core to v6 (major) #160
Closed
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.28
->6.0.10
5.3.28
->6.0.10
Release Notes
spring-projects/spring-framework (org.springframework:spring-beans)
v6.0.10
⭐ 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
⭐ 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
⭐ 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🐞 Bug Fixes
default-destroy-method
in XML config #30301title
inequals()
andhashCode()
ofProblemDetail
#30294@HttpExchange
interface does not resolve return type correctly while using with suspending methods #30266AbstractMessageWriterResultHandler
#30214SharedEntityManagerCreator
#30161📔 Documentation
@PathVariable
reference documentation code snippets #30243@EnableWebSocket
#30183🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@1993heqiang, @TAKETODAY, @ZouHongxue, @alexjansons, @divcon, @edyda99, @filipblondeel, @ghostg00, @giuseppemilicia, @izeye, @justin-tay, @krzyk, @kyuarl21, @quaff, @shitian9, @simonbasle, @srivatsa-cfp, @ssang1105, @stsypanov, @wizard4wu, and @yuzawa-san
v6.0.7
⭐ New Features
matches
operator #30144matches
operator #30140AbstractAutowireCapableBeanFactory
#30103DefaultServerRequestBuilder
methods #30046🐞 Bug Fixes
processAot
fails when Bean Validation API present but no provider found #30130@Autowired
/@Value
does not work on inner bean in native #29803TransactionalOperator
#27572java.lang.Object
on a JDK proxy #25316📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@EnricSala, @MrCoffee77, @abelsromero, @edyda99, @liupeng12345, @srivatsa-cfp, and @yuzawa-san
v6.0.6
⭐ New Features
readNBytes
in ByteArrayHttpMessageConverter when contentLength is available #30010@Nullable
annotations toLogMessage.format
methods #30006CoroutinesUtils#invokeSuspendingFunction
contract #30005@SubscribeMapping
method not called when built as native image #30002ContextView
instead ofContext
inServerWebExchangeContextFilter
#29691@Value
for record injection #28774🐞 Bug Fixes
HttpServiceProxyFactoryExtensions.kt
tospring-web
module #30042PathMatchingResourcePatternResolver
can no longer handle paths containing spaces and special characters #30031NullPointerException
if passing an anonymous class toReflectionsHint#registerType
#29774@Repository
class #29764📔 Documentation
@AspectJ
argument name resolution algorithm is outdated in reference manual #30026chomp
andfold
settings in reference documentation #30001🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@1004789224, @1993heqiang, @AlexElin, @diguage, @divcon, @izeye, @kilink, @lenoch7, @sergiuprdn, @singhbaljit, and @violetagg
v6.0.5
⭐ New Features
CacheControl
#29955HttpServiceProxyFactory#createClient
Kotlin extension #29942TransactionalOperator.executeAndAwait
nullability #29919SharedEntityManagerCreator
'squeryTerminatingMethods
set #29886@Nullable
toProblemDetail.setProperty
value argument #29868ConcurrentExecutorAdapter
for removal in 6.1 #29865Jackson2ObjectMapperBuilder#configureFeature
exception handling #29859http.client.requests
Metrics No Longer Haveclient.name
Tag #29839@Aspect
classes to extend concrete@Aspect
classes #29830@JmsListener
subscription #29790@JsonDeserialize(builder = ...)
does not work in GraalVM native image #29646@RequestMapping
without patterns should match root path as both "" and "/" #29625@JsonNaming
strategy is not supported in GraalVM native image #29386DatabaseClient
is eagerly invoked #29367CloseStatus.SESSION\_NOT\_RELIABLE
#29220Optional
inPayloadMethodArgumentResolver
#28945MockMvc.multipart()
Kotlin extensions withHttpMethod
#28634ModelAttributeMethodProcessor
Kotlin exception handling #23846🐞 Bug Fixes
ex.getPropertyName()
is not initialized inResponseEntityExceptionHandler#handleTypeMismatch
#29959MockHttpServletRequest#setContentType
fails withStringIndexOutOfBoundsException
#29255InMemoryWebSessionStore#changeSessionId
makes blocking calls to UUID.randomUUID #29212forwarding-header-strategy=native
or cloud platform detected #28601CoroutineContext
in reactive transaction #27308📔 Documentation
@DynamicPropertySource
examples regarding changes in Testcontainers #29939ControllerMappingReflectiveProcessor
documentation #29938primitivesDefaultedForNullValue
inBeanPropertyRowMapper
#29923DataClassRowMapper
supports Java records #29814@Bean
method return type for equivalence with XML example #29338@Bean
return type #29944🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Drezir, @FutureGadget, @OlgaMaciaszek, @ThomHurks, @a364176773, @bcc829, @derrick-pericipio, @divcon, @etylermoss, @fml2, @izeye, @j-min5u, @j3graham, @jprinet, @krzyk, @ks-yim, @making, @manthanb, @quaff, @r331, @sephiroth-j, @srivatsa-cfp, @vikeychen, @wplong11, @xavier-b, @yuezk, @yuzawa-san, and @zhmaeff
v6.0.4
⭐ New Features
@Convert
on JPA entities #29771@RequestPart
dto not configured for reflection in aot #29749@Configuration
classes with Kotlin in native-image are broken #29663ResultActions.andExpectAll()
#27317🐞 Bug Fixes
📔 Documentation
ConfigurableEnvironment
#29693🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Dunemaster, @IDJack, @diguage, @izeye, and @quim3ra
v6.0.3
⭐ New Features
MockClientHttpRequest
andMockClientHttpResponse
#29670RequestMappingHandlerMapping#handleNoMatch
#29634ApplicationContext
in AOT mode if AOT processing failed #29579@ModelAttribute
and@InitBinder
annotations@Reflective
#29572BindingReflectionHintsRegistrar
to support properties on records #29571🐞 Bug Fixes
ConstructorReference
does not generate AST representation of arrays #29665@Named
,@ManagedBean
, and other Jakarta annotations #29641NoHandlerFoundException
mistakenly returns request headers fromErrorResponse#getHeaders
#29626@HttpExchange
doesn't work if there are bothURI
and@PathVariable
method parameters #29624boolean
#29598request
-scoped bean with@Lazy
fails in native image (due to missing detection of CGLIB lazy resolution proxies) #29584Configuration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.