Commit Graph
58 Commits
Author SHA1 Message Date
Andy Wilkinson 1d9b5d5a66 Polish 2026-10-01 12:30:00 +01:00
Agustin Bereciartua f135b3fb88 Preserve property descriptions during Gradle incremental compilation
Cache descriptions in a location outside CLASS_OUTPUT so that Gradle's
incremental compilation does not lose javadoc-based descriptions for
types passed as .class files.

See gh-50489

Signed-off-by: Agustin Bereciartua <bereciartua.agustin@gmail.com>
2026-10-01 11:54:46 +01:00
Tran Ngoc Nhan 68c321499a Use instanceof pattern matching to avoid an explicit cast
See gh-51896

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-09-28 14:18:41 -07:00
Junggi Kim 9a09c2842b Avoid rebuilding metadata maps when computing the changelog
Changelog.computeDifferences() called
ConfigurationMetadataRepository.getAllProperties() from inside its main
loop. The default repository implementation builds a new map each time
that method is called, so the new version's properties were rebuilt once
per property of the old version. The ids that had already been seen were
also tracked in an ArrayList, turning each membership check into a linear
scan.

Read the properties of each repository once and use the old properties
map itself to detect the properties that have been added.

Computing the changelog between Spring Boot 3.4.0 and 3.5.0 (2,498 and
2,555 properties) drops from 203ms to 0.5ms and the generator's peak
memory from 302MB to 91MB. The generated asciidoc is byte for byte
identical.

See gh-51655

Signed-off-by: Junggi Kim <kimjg2477@gmail.com>
2026-09-10 16:35:18 +02:00
Hyunwoo Jung 528c8bd1ea Fix typos
Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>

See gh-51590
2026-09-07 11:53:30 +01:00
Stéphane Nicoll 5b9cc3aaab Allow NestedConfigurationProperty to be set on a record accessor
Closes gh-50096
2026-07-22 15:57:45 +02:00
Stéphane Nicoll bafc0ed6d2 Restore copyright headers of JSON shaded lib
Closes gh-50896
2026-06-30 10:13:02 +02:00
Yanming Zhou 9d5c98b7e9 Replace isAssignableFrom() with isInstance() where feasible
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>

See gh-50750
2026-06-24 19:11:59 +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 3d54f6964e Merge branch '3.5.x' into 4.0.x
Closes gh-50434
2026-05-14 11:27:29 +01:00
Phillip Webb 9e4adc21e0 Merge branch '3.5.x' into 4.0.x
Closes gh-49738
2026-03-24 18:11:56 -07:00
Phillip Webb e8ec285fd5 Merge branch '3.5.x' into 4.0.x
Closes gh-49736
2026-03-24 17:39:33 -07:00
Phillip Webb dc785720cf Merge branch '3.5.x' into 4.0.x 2026-03-19 20:16:34 -07:00
Phillip Webb 05e61ff306 Merge branch '3.5.x' into 4.0.x
Closes gh-49060
2026-02-04 18:08:04 -08: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 d555a11282 Fix nullMarked settings when ignoredPackages is used
Closes gh-48636
2025-12-29 15:03:18 +01:00
Stéphane Nicoll c585b05359 Polish
See gh-48239
2025-11-22 10:02:49 +01:00
Stéphane Nicoll c0d18f7d46 Simplify configuration metadata changelog configuration 2025-11-07 14:36:41 +01:00
Phillip WebbandAndy Wilkinson 619454548b Restore support for Jersey
Restore support for Jersey now that it supports JAX-RS 4.

Closes gh-47967

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-11-05 10:51:08 -08:00
Stéphane Nicoll c0308419ba Polish declaration of new tracing modules in changelog generator
See gh-47953
2025-11-05 18:09:55 +01:00
Moritz Halbritter e9172d9f51 Split spring-boot-micrometer-tracing into Brave and OpenTelemetry specific module
Closes gh-47953
2025-11-05 12:14:13 +01:00
Stéphane Nicoll 6c0967cb70 Simplify configuration metadata changelog configuration
Rather than listing common modules and tweak things for various
milestones, this commit flatten the list of modules as of Spring Boot
4.0.0-RC1.

Closes gh-47852
2025-10-28 16:38:51 +01:00
Stéphane Nicoll f409aca471 Add missing modules to configuration metadata changelog generator
Closes gh-47758
2025-10-23 14:03:54 +02:00
Stéphane Nicoll 152635159c Complete modules to be used for generating the changelog
See gh-47758
2025-10-23 08:46:27 +02:00
Stéphane Nicoll 85f330586a Document properties that were removed without a deprecation period
This commit documents properties that are removed without being
deprecated first. Previously those properties were undocumented.

Closes gh-47762
2025-10-22 16:56:44 +02:00
Stéphane Nicoll d8be5ca7c3 Document properties that were added as deprecated
This commit handles a corner case where we have to add properties in
a release that represents something we mean to remove but that's not
ready to go away just yet.

Those properties are now considered in the changelog, but  marked as
deprecated.

Closes gh-47759
2025-10-22 16:56:44 +02:00
Stéphane Nicoll 1b1801adb1 Polish 2025-10-20 13:33:00 +02:00
Andy Wilkinson 6c12521ad2 Polish Spring Session removals
See gh-47661
See gh-47662
2025-10-16 18:50:16 +01:00
Phillip Webb 61c8fa2e1c Remove support for Spring Session Hazelcast
Closes gh-47661
2025-10-16 10:42:14 -07:00
Phillip Webb c477d3b8b4 Remove support for Spring Session Data MongoDB
Closes gh-47662
2025-10-16 10:38:45 -07:00
Stéphane Nicoll 99e356de19 Polish "Rename 'spring-boot-tx' module to 'spring-boot-transaction'"
See gh-47603
2025-10-16 09:46:19 +02:00
Stéphane Nicoll 3e41416af6 Add spring-boot-restdocs to managed dependencies
Closes gh-47434
2025-10-16 09:41:07 +02:00
Stéphane Nicoll 36c2432f69 Rename 'spring-boot-tx' module to 'spring-boot-transaction'
Closes gh-47603
2025-10-16 09:14:20 +02:00
Dmytro Nosan bc2ca5b9fc Extend ArchitectureCheck with NullMarkedExtension
Introduce NullMarkedExtension for ArchitectureCheck, which provides
functionality to configure packages to ignore in nullability checks and
to enable or disable the extension.

See gh-47596

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-10-15 08:23:47 +02:00
Phillip Webb 8f89bd304f Polish code to fix warnings 2025-10-14 21:51:25 -07:00
Stéphane Nicoll 5011f2f40b Upgrade to Lombok 1.18.42
Closes gh-47575
2025-10-13 11:40:38 +02:00
Stéphane Nicoll f10b80cf6f Merge branch '3.5.x'
Closes gh-47480
2025-10-10 14:25:04 +02:00
Stéphane Nicoll 5a2f90d1f1 Register spring-boot-batch-jdbc for configuration metadata changelog
See gh-46307
2025-09-29 15:36:04 +02:00
Stéphane Nicoll 5301c8d905 Use new spring-boot-micrometer-* modules consistently
Closes gh-47350
2025-09-29 15:34:46 +02:00
Stéphane Nicoll ed1ee79aef Share JSON library consistently
This commit shades the use of 'com.vaadin.external.google:android-json'
in the three modules that use it. The configuration processor already
did that and this commit does the same for configuration-metadata and
the CLI.

As a result of this commit, 'android-json' is not used nor managed
internally.

Closes gh-45504
2025-09-15 16:17:21 +02:00
Stéphane Nicoll d7c482aa16 Replace @OptionalParameter with JSpecify's @Nullable
This commit removes OptionalParameter in favor of the nullness support
introduced in Spring Framework 7. The parameter of an action can now
be flagged as optional using JSpecify's @Nullable, and simplifies the
setup for those who are using JSpecify as only a single annotation is
required.

Closes gh-45390
2025-09-10 15:01:43 +02:00
Stéphane Nicoll ee83ff5f6a Revert "Only support @OptionalParameter annotation with endpoint methods"
This reverts commit 450eb48303.

See gh-47136
2025-09-10 14:31:35 +02:00
Phillip Webb 450eb48303 Only support @OptionalParameter annotation with endpoint methods
Remove `@Nullable` support for optional endpoint method parameters in
favor of only supporting `@OptionalParameter`. The annotation processor
now also only supports `@OptionalParameter` detection.

Closes gh-47136
2025-09-09 13:00:50 -07:00
Moritz Halbritter 63adb82145 Merge branch '3.5.x'
Closes gh-47055
2025-09-05 14:17:39 +02:00
Andy Wilkinson 8bfb170ebc Remove support for Jersey
Spring Boot 4 requires Jakarta EE 11. Jersey 4 will support EE 11 but
its release schedule is uncertain. Furthermore, Jersey does not yet
support Jackson 3 and there's no clear timeline for when Jackson 3
will be supported.

In light of the above, this commit removes support for Jersey.
Reinstating support can be considered once there's a Jersey GA that
supports Jakarta EE 11 or its clear that one will be available in
time for Boot's GA in November. Ideally, support for Jackson 3 would
also be available before reinstating Jersey support.

Closes gh-47017
2025-09-02 11:36:52 +01:00
Moritz Halbritter 9b1c07c0eb Improve null-safety of configuration-metadata/spring-boot-configuration-metadata-changelog-generator
See gh-46926
2025-08-26 14:22:53 +02:00
Andy Wilkinson 73e5a3551e Update config prop changelog generator to cope with renamed modules
See gh-46925
2025-08-22 12:11:47 +01:00
Phillip Webb 7140be8751 Rename metrics, observation, and tracing modules
Rename modules to include 'micrometer'.

Closes gh-46925
2025-08-20 16:05:11 -07:00
Brian Clozel 8c0051a02e Drop Undertow support
Spring Framework 7.0 requires a Servlet 6.1 baseline for Servlet containers.

Partial Servlet 6.1 support is available on the `main` Undertow branch,
but there isn't any milestone version available for the undertow 2.4
generation. At this stage of our 4.0 schedule, we think it's safer to drop
Undertow support now.

Closes: gh-46917
2025-08-20 09:30:40 +02:00
Stéphane Nicoll efb80bcdcb Polish "Support additional nullness signal for Actuator endpoints"
See gh-46854
2025-08-19 15:51:09 +02:00