Update spring to v6 (master) (major) #2934
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.27
->6.0.8
5.3.27
->6.0.8
5.3.27
->6.0.8
5.3.27
->6.0.8
5.3.27
->6.0.8
5.8.3
->6.0.3
5.8.3
->6.0.3
5.3.27
->6.0.8
5.3.27
->6.0.8
5.3.27
->6.0.8
Release Notes
spring-projects/spring-framework
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🐞 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
Compare Source
⭐ 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
Compare Source
⭐ 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
Compare Source
⭐ 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
Compare Source
⭐ 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
Compare Source
⭐ 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) #29584String
literal (and vice versa) #28356📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Aashay-Chapatwala, @CoderYellow, @ShenFeng312, @Spark61, @divcon, @izeye, @koo-taejin, @mdeinum, @mhalbritter, @quaff, and @singhbaljit
v6.0.2
Compare Source
⭐ New Features
🐞 Bug Fixes
📔 Documentation
v6.0.1
Compare Source
⭐ New Features
SourceHttpMessageConverter
optional #29535LocalVariableTableParameterNameDiscoverer
completely (avoiding its exposure in native images) #29531LogAdapter
to allow build-time code removal #29506🐞 Bug Fixes
📔 Documentation
SQLExceptionSubclassTranslator
in the upgrade guide #29518🔨 Dependency Upgrades
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Encyclopedias, @andregasser, @davidcostanzo, @divcon, @jiangying000, @mdeinum, and @wilkinsona
v6.0.0
Compare Source
See What's New in Spring Framework 6.x and Upgrading to Spring Framework 6.x for upgrade instructions and details of new features.
⭐ New Features
📔 Documentation
Configuration
📅 Schedule: Branch creation - "after 5pm on the first day of the month" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.