Phillip Webb
914f39384c
Merge branch '4.0.x' into 4.1.x
...
Closes gh-51454
2026-08-25 14:07:23 -07:00
Phillip Webb
5a21e0d698
Upgrade to spring-javaformat 0.0.48
...
Closes gh-51452
2026-08-25 13:58:58 -07:00
Stéphane Nicoll
02b3242057
Merge branch '4.0.x'
...
Closes gh-50943
2026-07-14 11:38:01 +02:00
Yanming Zhou
7522f679fd
Inject Customizers as ObjectProvider to keep consistency
...
See gh-50909
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2026-07-14 11:23:34 +02:00
Andy Wilkinson
c5261cf0eb
Merge branch '4.0.x'
...
Closes gh-50878
2026-06-28 12:14:56 +01:00
Yanming Zhou
dff33aec55
Remove unnecessary @Nullables from local variable declarations
...
See gh-50866
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2026-06-28 10:39:07 +01:00
Stéphane Nicoll
23829221ef
Remove sourceType from deprecated properties with error level
...
See gh-50375
2026-05-30 14:29:04 +02:00
Andy Wilkinson
6a74bb85a3
Merge branch '4.0.x'
...
Closes gh-50440
2026-05-14 15:03:44 +01:00
Andy Wilkinson
add52b6ccd
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50439
2026-05-14 15:02:24 +01:00
Andy Wilkinson
147be28138
Merge branch '4.0.x'
...
Closes gh-49957
2026-04-08 09:42:45 +01:00
Andy Wilkinson
edcc937add
Align FAIL_ON_UNKNOWN_PROPERTIES with Spring Boot 3.x
...
In Spring Boot 3.x, Jackson2ObjectMapperBuilder disabled
FAIL_ON_UNKNOWN_PROPERTIES. This commit aligns the behavior of
use-jackson2-defaults with this.
This commit also ensures that DEFAULT_VIEW_INCLUSION is disabled. It
was enabled by default in Jackson 2 and then disabled by
Jackson2ObjectMapperBuilder. At the time of writing, Jackson 3's
configureForJackson2() method does not enable DEFAULT_VIEW_INCLUSION.
Should that ever be corrected/changed in Jackson 3, this additional
change in this commit ensures that the Boot will continue to have the
desired default.
Fixes gh-49951
2026-04-08 08:38:32 +01:00
Stéphane Nicoll
5e6b4045a6
Merge branch '4.0.x'
...
Closes gh-49799
2026-03-26 11:26:08 +01:00
Stéphane Nicoll
30a3fac242
Merge branch '3.5.x' into 4.0.x
...
Closes gh-49798
2026-03-26 11:25:57 +01:00
Andy Wilkinson
2ccfde80cc
Auto-configure Jackson mappers with bean-based handler instantiator
...
Closes gh-48711
2026-03-18 12:12:36 +00:00
Andy Wilkinson
988a012a7b
Upgrade to Jackson Bom 3.1.0
...
Closes gh-49330
2026-02-26 11:19:18 +00:00
Andy Wilkinson
918e59b817
Add customizer and property support for configuring Jackson factories
...
Closes gh-34709
2026-02-13 11:31:17 +00:00
Andy Wilkinson
c51788b4ee
Remove stale metadata that was hiding new properties
...
See gh-48870
2026-01-20 12:58:52 +00:00
Andy Wilkinson
60bad35a1c
Merge branch '4.0.x'
...
See gh-48633
2026-01-20 09:55:01 +00:00
Andy Wilkinson
85f3f3856d
Revert "Allow a custom JsonFactory to be used with JsonMapper.Builder"
...
This reverts commit 22d6f6a7de .
See gh-48594
2026-01-20 09:34:39 +00:00
Andy Wilkinson
e1cf93c545
Polish "Add properties for format-agnostic read and write features"
...
Apply the format-agnostic read and write feature properties to all
supported mappers (CBOR, JSON, and XML), not just JSON.
See gh-48870
2026-01-20 09:28:13 +00:00
michaldo
9c15debfb2
Add properties for format-agnostic read and write features
...
Signed-off-by: michaldo <michaldo@github.com >
See gh-48870
2026-01-20 09:28:13 +00:00
Andy Wilkinson
e8cea82772
Don't require …TestAutoConfiguration classes in imports file
...
See gh-48822
2026-01-15 12:01:46 +00:00
Andy Wilkinson
e51fb2f8f0
Merge branch '3.5.x' into 4.0.x
...
Closes gh-48822
Fixes gh-48819
2026-01-14 11:25:01 +00:00
Andy Wilkinson
0ffffee4bf
Upgrade to Nullability Plugin 0.0.9
...
Closes gh-48638
2026-01-08 11:59:51 +00: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
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
8e895b3bc0
Update AOT tests to fail if deprecated code is not suppressed
...
Closes gh-48566
2025-12-17 15:30:44 +01:00
Andy Wilkinson
e1d85b3678
Apply default property inclusion to content
...
Previously, the setting was only applied to values. This worked
for POJOs but had no effect on maps.
Fixes gh-48343
2025-12-01 10:57:11 +00:00
Maurice Zeijen
a39adff3eb
Corrected ProblemDetail mixin for XmlMapper.Builder
...
The ProblemDetailXmlMapperBuilderCustomizer applied the wrong
ProblemDetail mixin for the Jackson XmlMapper. Namely the
ProblemDetailJacksonMixin, which is intended for JSON.
Now the ProblemDetailJacksonXmlMixin is used instead.
The corresponding test also tested for the wrong XML output,
which has been adjusted.
Fixes gh-48222
Signed-off-by: Maurice Zeijen <mzeijen@bol.com >
2025-11-24 09:57:43 +01:00
Stéphane Nicoll
76cccc5842
Document correct replacement for spring.jackson.parser
...
See gh-48255
2025-11-23 20:03:33 +01:00
michaldo
6ad521cdfc
Document correct replacement for spring.jackson.generator
...
See gh-48255
Signed-off-by: michaldo <michaldo@github.com >
2025-11-23 20:03:06 +01:00
Stéphane Nicoll
3d23261f87
Merge branch '3.5.x'
...
Closes gh-48122
2025-11-13 14:55:19 +01:00
Stéphane Nicoll
d1e5fe3248
Merge branch '3.5.x'
...
Closes gh-48106
2025-11-13 10:31:25 +01:00
Andy Wilkinson
2f5e9b5ad0
Auto-configure XmlMapper.Builder and XmlMapper
...
Closes gh-47942
2025-11-04 18:01:15 +00:00
Stéphane Nicoll
30a6b50e82
Align naming change for Jackson components
...
This commit polishes the renaming of JsonComponent to JacksonComponent
and the use of JacksonModule instead of Module in Jackson 2.
This also adds integration tests that use a JacksonComponent with
WebMvcTest and WebFluxTest.
Closes gh-47864
2025-10-29 16:58:16 +01:00
Stéphane Nicoll
7bde0e65f1
Fix typos
...
Closes gh-47818
2025-10-27 14:55:39 +01:00
Florian Waltenberger
63ec0fc18a
Fix JacksonTesterTestAutoConfiguration javadoc
...
See gh-47784
Signed-off-by: Florian Waltenberger <waltenberger.florian@gmail.com >
2025-10-24 15:36:51 +02:00
Andy Wilkinson
aa95282290
Polish @since tags
...
Closes gh-47779
2025-10-23 12:48:58 +01:00
Stéphane Nicoll
b965ae1f98
Add deprecation note for Jackson properties.
...
This commit adds metadata for spring.jackson.generator and
spring.jackson.parser to hint at a partial replacement.
Closes gh-47778
2025-10-23 11:44:25 +02:00
Andy Wilkinson
cb976ba38d
Remove @Primary for auto-configured CBORMapper
...
Closes gh-47641
2025-10-22 16:27:35 +01:00
Phillip Webb
2210252c75
Drop @TestAutoConfiguration annotation
...
Closes gh-47746
2025-10-21 11:18:01 -07:00
Yanming Zhou
609b0b444e
Use JsonMapper instead of ObjectMapper where feasible
...
See gh-47503
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-10-20 13:16:52 +02:00
Andy Wilkinson
e221bfdd69
Rename Jackson-specific Json… classes to Jackson…
...
Closes gh-47625
2025-10-16 13:53:17 +01:00
Andy Wilkinson
7224b550a3
Add auto-configuration for Jackson's CBOR data format
...
Closes gh-47641
2025-10-15 10:34:38 +01:00
Stéphane Nicoll
43cda8f54e
Polish "Upgrade to Jackson Bom 3.0.0"
...
Closes gh-47569
2025-10-13 13:01:10 +02:00
Stéphane Nicoll
e15c7e8e4a
Upgrade to Jackson Bom 3.0.0
...
Closes gh-47569
2025-10-13 11:40:38 +02:00
Andy Wilkinson
52eea3d491
Automatically find and add Jackson modules
...
Closes gh-47485
2025-10-13 10:25:26 +01:00
Andy Wilkinson
2a2d3a88d2
Correct imports for AutoConfigureJson
...
See gh-47322
2025-10-10 09:55:20 +01:00
Andy Wilkinson
6e4b88d850
Add property to configure Jackson 3 with Boot's Jackson 2 defaults
...
Closes gh-
2025-10-10 09:21:41 +01:00
Andy Wilkinson
da74dd92c9
Merge branch '3.5.x'
...
Closes gh-47439
2025-10-09 10:59:17 +01:00