Commit Graph
60 Commits
Author SHA1 Message Date
Stéphane Nicoll b1672ba040 Detect duplicate property names in configuration processing
This commit updates the annotation processor to fail the build if a
given configuration property defines the same property name on two
different elements.

Closes gh-49565
2026-04-13 17:14:51 +02:00
Phillip Webb b06ee6e423 Merge branch '4.0.x'
Closes gh-49739
2026-03-24 18:12:08 -07: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 9bac152770 Merge branch '4.0.x'
Closes gh-49737
2026-03-24 17:39:47 -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 b00320a8e2 Merge branch '4.0.x' 2026-03-19 20:16:45 -07:00
Phillip Webb dc785720cf Merge branch '3.5.x' into 4.0.x 2026-03-19 20:16:34 -07:00
Andy Wilkinson 396bdfb385 Make config metadata changelog generation more robust
Previously, the list of modules for a particular version of Boot was
hard-coded. When this list got of a sync with a version's actual
modules, the changelog would become inaccurate as the generator would
not have a complete view of all of the version's metadata.

This commit addresses this by resolving the list of modules for a
particular version from its dependency management declared in
spring-boot-dependencies.

Closes gh-49336
2026-02-26 14:13:29 +00:00
Stéphane Nicoll cfee3f10f4 Handle Spring Boot 4.1 modules in changelog generation
Closes gh-49273
2026-02-20 14:38:22 +01:00
Stéphane Nicoll 66841ddb3a Fix checkstyle violation 2026-02-20 14:29:16 +01:00
Stéphane Nicoll c33e7585ac Fix equality check for multiple values
This commit fixes the changelog generator to not flag two identical
arrays as changed. Previously, any candidate property with an array
of default values were flagged incorrectly.

Closes gh-49272
2026-02-20 10:47:14 +01:00
Phillip Webb 60b2e35e17 Merge branch '4.0.x'
Closes gh-49061
2026-02-04 18:08:16 -08:00
Phillip Webb 05e61ff306 Merge branch '3.5.x' into 4.0.x
Closes gh-49060
2026-02-04 18:08:04 -08:00
Stéphane Nicoll a0a1ebfc18 Polish "Document properties whose default values have changed"
This commit adds a new section in the Configuration Changelog to
indicate properties whose default values have changed.

See gh-48962
2026-01-30 17:00:32 +01:00
junpak d760b171c3 Document properties whose default values have changed
This commit adds a new section in the Configuration Changelog to
indicate properties whose default values have changed.

See gh-48962

Signed-off-by: junpak <junpak.park@gmail.com>
2026-01-30 17:00:31 +01:00
Phillip Webb 0463b4d0bc Add @AutoConfigureWebServer test annotation
Introduce `@AutoConfigureWebServer` test annotation to support
`@SpringBootTest` with specific classes and a random port.

Closes gh-48815
2026-01-21 19:32:43 -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