Commit Graph
59060 Commits
Author SHA1 Message Date
Brian Clozel 9d1db6830f Fix message converter customizers order
Prior to this commit, gh-48310 separated client and server message
converter configurations by switching from message converter instances
as beans in the application context, to server/client customizers that
are applied to the `HttpMessageConverters` instances while being built.

This change did not order the new ClientHttpMessageConvertersCustomizer
or ServerHttpMessageConvertersCustomizer, letting those being at the
"lowest precedence" default. As customizers, this means they are applied
last and custom instances cannot take over.

This commit ensures that such customizers provided by Spring Boot are
now ordered at "0" to let applications ones take over.

Fixes gh-48635
2025-12-29 14:39:43 +01:00
Stéphane Nicoll 5d1d5173ab Polish 2025-12-29 14:35:55 +01:00
Stéphane Nicoll 22d6f6a7de Allow a custom JsonFactory to be used with JsonMapper.Builder
This commit improves the auto-configuration of the JSonMapper.Builder
to accept a custom JsonFactory if a bean of this type is present.

Closes gh-48594
2025-12-29 13:11:03 +01:00
Stéphane Nicoll 2c55ccfa7f Provide Micrometer's observation test with micrometer test modules
Closes gh-48386
2025-12-27 10:05:32 +01:00
Stéphane Nicoll 9b7451ed9d Merge branch '3.5.x' into 4.0.x
Closes gh-48622
2025-12-26 09:01:59 +01:00
Stéphane Nicoll acdbe045dd Merge pull request #48620 from izeye
* pr/48620:
  Polish

Closes gh-48620
2025-12-26 08:58:33 +01:00
Johnny Lim 9e7988131f Polish
See gh-48620

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-12-26 08:52:47 +01:00
Stéphane Nicoll 4d7896914a Merge branch '3.5.x' into 4.0.x
Closes gh-48601
2025-12-22 08:15:00 +01:00
Stéphane Nicoll ca49fda2bc Merge pull request #48596 from ngocnhan-tran1996
* pr/48596:
  Fix grammar and typos

Closes gh-48596
2025-12-22 08:09:31 +01:00
Tran Ngoc Nhan 0a03c1c724 Fix grammar and typos
See gh-48596

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-12-22 08:06:51 +01:00
Phillip Webb f7e2e9e10a Update Eclipse working sets in project setup 2025-12-19 14:56:19 -08:00
Moritz Halbritter 5575ea19ba Remove explicit dependency on spring-boot-opentelemetry in documentation
See gh-48585
2025-12-19 11:58:18 +01:00
Moritz Halbritter 77807f53ee Add dependency to spring-boot-opentelemetry module
Closes gh-48585
2025-12-19 11:53:14 +01:00
Moritz Halbritter ce1efb02a1 Back off if spring-boot-micrometer-observation or spring-boot-micrometer-metrics is missing
Closes gh-48581
2025-12-19 11:25:32 +01:00
Moritz Halbritter f6cbed4a40 Update Tracing section for Spring Boot 4's modularity
Closes gh-48576
2025-12-19 10:54:27 +01:00
Stéphane Nicoll e1b16c2286 Prepare the 4.0.x branch 2025-12-19 10:11:15 +01:00
Andy Wilkinson 613c40b86b Next development version (v4.0.2-SNAPSHOT) 2025-12-18 17:57:31 +00:00
Andy Wilkinson 252b218ac9 Correct renaming of Kotlinx Serialization JSON starters
Closes gh-48262
2025-12-18 14:42:24 +00:00
Stéphane Nicoll 2fa73c27ef Merge pull request #48577 from jwalter
* pr/48577:
  Polish "Harmonize Kotlin example for HTTP Service client support"
  Harmonize Kotlin example for HTTP Service client support

Closes gh-48577
2025-12-18 15:07:48 +01:00
Stéphane Nicoll 3e689881f2 Polish "Harmonize Kotlin example for HTTP Service client support"
See gh-48577
2025-12-18 15:07:39 +01:00
jwalter 423373ba06 Harmonize Kotlin example for HTTP Service client support
See gh-48577

Signed-off-by: jwalter <joakim.waltersson@gmail.com>
2025-12-18 15:07:39 +01:00
Brian Clozel f61ac29f3f Document HttpMessageConverters detection changes
This commit updates the reference documentation to better reflect
changes applied in gh-48310. As of Spring Boot 4.0.1,
`HttpMessageConverter` beans are all considered as "custom" converters
and will be set ahead of the converters list in the auto-configuration
support.

For more specific changes, developers should contribute
`ClientHttpMessageConvertersCustomizer` or
`ServerHttpMessageConvertersCustomizer` beans to better reflect their
intent: should the converter be configured for client, server or both?
How should this converter be used?

Previously, Spring Boot was relying on heuristics but they would cause
issues for server-only converters, or for specific configuration that
were not meant to replace the default converter for a given media type.

Closes gh-48574
2025-12-18 14:56:38 +01:00
Stéphane Nicoll 2519a5d2ae Merge branch '3.5.x' 2025-12-18 13:05:04 +01:00
Stéphane Nicoll 4fc3ca3596 Next development version (v3.5.10-SNAPSHOT) 2025-12-18 13:04:47 +01:00
Phillip Webb aaf66f4d50 Merge branch '3.5.x' 2025-12-17 20:46:23 -08:00
Phillip Webb 08e2cab6b0 Polish javadoc for when to use class names rather than class references
See gh-48395
2025-12-17 20:46:01 -08:00
Phillip Webb e69be7ccce Merge branch '3.5.x'
Closes gh-48569
2025-12-17 11:48:48 -08:00
Phillip Webb 15ede46eb8 Improve javadoc for when to use class names rather than class references
Closes gh-48395
2025-12-17 11:48:03 -08:00
Stéphane Nicoll d489aa685c Polish "Update AOT tests to fail if deprecated code is not suppressed"
Include use of API that has been marked for removal.

See gh-48566
2025-12-17 15:41:26 +01:00
Stéphane Nicoll b6974ff51a Make MissingParameterNamesFailureAnalyzerTests more robust
Explicitly nullify `ParameterNameDiscovery` to simulate code that has
not been compiled with `-parameters`. Previously we were relying on an
initialization behavior that could change and break those tests.
2025-12-17 15:31:56 +01:00
Stéphane Nicoll 8e895b3bc0 Update AOT tests to fail if deprecated code is not suppressed
Closes gh-48566
2025-12-17 15:30:44 +01:00
Stéphane Nicoll 15eaa461b2 Merge branch '3.5.x' 2025-12-17 15:01:27 +01:00
Stéphane Nicoll 10477ba75b Merge branch '3.4.x' into 3.5.x 2025-12-17 14:51:53 +01:00
Stéphane Nicoll 34e51dc63f Polish 2025-12-17 14:51:21 +01:00
Andy Wilkinson eea16211d8 Upgrade to Spring Batch 6.0.1
Closes gh-48437
2025-12-17 12:07:37 +00:00
Andy Wilkinson da7641a7de Merge pull request #48552 from candrews
* gh-48552:
  JdbcSessionAutoConfiguration after DataSourceAutoConfiguration

Closes gh-48552
2025-12-17 10:32:47 +00:00
Craig Andrews f9f276bd46 JdbcSessionAutoConfiguration after DataSourceAutoConfiguration
JdbcSessionAutoConfiguration is conditional on the DataSource bean
which won't exist until after DataSourceAutoConfiguration; therefore,
JdbcSessionAutoConfiguration must auto-configure after
DataSourceAutoConfiguration.

Signed-off-by: Craig Andrews <candrews@integralblue.com>

See gh-48552
2025-12-17 10:32:41 +00:00
Stéphane Nicoll 2754aaef57 Suppress warnings in JsonMixin AOT-generated code
Closes gh-48564
2025-12-17 09:41:09 +01:00
Stéphane Nicoll 8273bf4aa0 Upgrade to Spring Integration 7.0.1
Closes gh-48482
2025-12-17 08:14:42 +01:00
Stéphane Nicoll b04e2b82c0 Upgrade to Spring GraphQL 2.0.1
Closes gh-48440
2025-12-17 08:14:42 +01:00
Stéphane Nicoll 3f2b3cdb90 Upgrade to Pooled JMS 3.1.8
Closes gh-48563
2025-12-17 08:14:41 +01:00
Stéphane Nicoll 2fccdda611 Upgrade to MariaDB 3.5.7
Closes gh-48562
2025-12-17 08:14:37 +01:00
Stéphane Nicoll aeeb46c9aa Upgrade to AspectJ 1.9.25.1
Closes gh-48561
2025-12-17 08:14:34 +01:00
Stéphane Nicoll 0b768a45cf Merge branch '3.5.x' 2025-12-17 08:10:15 +01:00
Stéphane Nicoll 9252526970 Merge branch '3.4.x' into 3.5.x 2025-12-17 08:10:08 +01:00
Stéphane Nicoll 7831a36e7f Upgrade to Spring Session 3.5.4
Closes gh-48432
2025-12-17 08:02:14 +01:00
Stéphane Nicoll 0d3ec7c867 Upgrade to Spring Integration 6.5.5
Closes gh-48560
2025-12-17 08:02:13 +01:00
Stéphane Nicoll 388815b6e3 Upgrade to Spring GraphQL 1.4.4
Closes gh-48429
2025-12-17 08:02:09 +01:00
Stéphane Nicoll d9d44ff1e3 Upgrade to Pooled JMS 3.1.8
Closes gh-48559
2025-12-17 08:02:09 +01:00
Stéphane Nicoll 86b8db3136 Upgrade to MariaDB 3.5.7
Closes gh-48558
2025-12-17 08:02:05 +01:00