Commit Graph
60642 Commits
Author SHA1 Message Date
Phillip Webb fd0f76304c Sort implementation dependencies in spring-boot-docs 2026-08-26 11:03:23 -07:00
Phillip Webb a1cc95e8a6 Polish gradle dependency declarations
Remove 'path:' prefix when possible.
2026-08-26 10:39:28 -07:00
Phillip Webb b41cff1ab5 Merge pull request #51290 from scottfrederick
Closes gh-51290

* pr/51290:
  Polish "Retain SSL host config customizations when reloading SSL bundles"
  Retain SSL host config customizations when reloading SSL bundles
2026-08-25 18:53:55 -07:00
Phillip Webb fa163d4f2d Polish "Retain SSL host config customizations when reloading SSL bundles"
See gh-51290
2026-08-25 18:53:05 -07:00
Scott Frederick cbbe588d1f Retain SSL host config customizations when reloading SSL bundles
Tomcat's SSL configuration is applied to an `SSLHostConfig` for each
host name. When an SSL bundle was updated, a new `SSLHostConfig` was
created and used to replace the existing one for that host name,
discarding any customizations that had been applied to it (for example
by a `TomcatConnectorCustomizer`).

Reuse the existing `SSLHostConfig` for the host name when one is
present, applying the updated bundle to it rather than replacing it. The
existing `SSLHostConfigCertificate` is also reused, as adding a second
certificate with an undefined type to an `SSLHostConfig` is rejected by
Tomcat.

See gh-51290

Signed-off-by: Scott Frederick <scottyfred@gmail.com>
2026-08-25 18:52:34 -07:00
Phillip Webb 5a21e0d698 Upgrade to spring-javaformat 0.0.48
Closes gh-51452
2026-08-25 13:58:58 -07:00
Phillip Webb 53c04499b4 Create properties despite used-defined ClientRegistrationRepository
Update `OAuth2ClientConfigurations` so that properties are created
regardless of a user-defined `ClientRegistrationRepository` bean.

Fixes gh-51447
2026-08-25 12:41:23 -07:00
Phillip Webb 64267798cb Merge pull request #51409 from msridhar
Closes gh-51409

* pr/51409:
  Fix warning from NullAway 0.14.0 related to override
2026-08-25 12:39:36 -07:00
Manu Sridharan 23fc7dd183 Fix warning from NullAway 0.14.0 related to override
See gh-51409

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
2026-08-25 12:29:02 -07:00
Phillip Webb 45b520f6c2 Merge pull request #51431 from CHISANW
Closes gh-51431

* pr/51431:
  Fix typos in service connection documentation
2026-08-25 12:08:49 -07:00
chisanw 857d1b7a8a Fix typos in service connection documentation
See gh-51431

Signed-off-by: chisanw <keuye06380618@gmail.com>
2026-08-25 12:07:13 -07:00
Phillip Webb a5e2fb3148 Merge pull request #51438 from MacAlsandair
Closes gh-51438

* pr/51438:
  Remove duplicate adoc generation in DocumentAutoConfigurationClasses
2026-08-25 11:59:56 -07:00
Alexander Makarov f76e3b6886 Remove duplicate adoc generation in DocumentAutoConfigurationClasses
The task loaded the auto-configuration metadata twice and wrote every
module's adoc file twice. When `load()` and `writeNavAdoc()` were
introduced, the pre-existing loop that read each metadata file and
called `writeModuleAdoc()` was left in place, so each file was
generated once from `load()` and then again, identically, by the loop.

Remove the redundant loop. The generated output is unchanged.

See gh-51438

Signed-off-by: Alexander Makarov <alexander.makarov@nightsong.li>
2026-08-25 11:58:25 -07:00
Moritz Halbritter 831b46ccf8 Merge pull request #51421 from MacAlsandair
Closes gh-51421

* pr/51421:
  Document SAML2 back-off in WebFlux security documentation
2026-08-25 09:19:50 +02:00
Alexander Makarov 768308ec74 Document SAML2 back-off in WebFlux security documentation
See gh-51421

Signed-off-by: Alexander Makarov <alexander.makarov@nightsong.li>
2026-08-25 09:16:39 +02:00
Moritz Halbritter a39ed772d6 Merge pull request #51412 from 2heunxun
Closes gh-51412

* pr/51412:
  Fix watchdog thread leak in JmsHealthIndicator on start failure
2026-08-25 09:13:47 +02:00
2heunxun d00566ae5d Fix watchdog thread leak in JmsHealthIndicator on start failure
See gh-51412

Signed-off-by: 2heunxun <seapeon@naver.com>
2026-08-25 09:07:25 +02:00
Phillip Webb 068bb037bf Change code to make Eclipse compiler happy
Extract a local variable to fix compiler error that only seems to
happen in Eclipse.
2026-08-24 19:07:53 -07:00
Andy Wilkinson 6dbc7e9a51 Use method on String to identify Java 27
At the time of writing, https://javaalmanac.io lists
EnumSet.spliterator as being new in Java 27, but that's not the case.

This commit switches to using String.encodedLength(Charset) instead.
This method is new in Java 27 and also aligns with the existing
TWENTY_SIX value that already uses a method on String for version
identification.

See gh-51422
2026-08-24 15:47:34 +01:00
Andy Wilkinson 6e58a6ff8b Polish
See gh-51422
2026-08-24 15:31:30 +01:00
Andy Wilkinson ee059ae3ca Add CI for Java 27
Closes gh-51423
2026-08-24 14:52:36 +01:00
Andy Wilkinson ff153f21d8 Add TWENTY_SEVEN to JavaVersion
Closes gh-51422
2026-08-24 14:51:52 +01:00
Stéphane Nicoll 43d3cf57eb Close reader in GsonTester
This harmonizes how JSON marshaller testers operate on a stream. Also
added tests that checks the source is closed as expected for all
implementations.

Closes gh-51417
2026-08-24 08:21:51 +02:00
Stéphane Nicoll d3547de07b Merge pull request #51398 from dlwldn30
Closes gh-51398

* close-aot-file-content-stream:
  Polish "Release file handle when comparing AOT file content"
  Release file handle when comparing AOT file content
2026-08-24 08:07:49 +02:00
Stéphane Nicoll 5402f5b43f Polish "Release file handle when comparing AOT file content"
See gh-51398
2026-08-24 08:05:45 +02:00
dlwldn30 4a1abb9617 Release file handle when comparing AOT file content
RequireNewOrMatchingContentFileHandler reads the already generated file
through content.getInputStream().readAllBytes(). That method does not
close the stream, and the stream is never assigned, so it cannot
be closed at all.

During AOT processing the content is a FileSystemResource, so each
comparison leaks a file handle. FileSystemGeneratedFiles already uses
try-with-resources when it consumes an InputStreamSource.

Read the existing content inside a try-with-resources block.

See gh-51398

Signed-off-by: dlwldn30 <dlwldn30@naver.com>
2026-08-24 08:05:38 +02:00
Stéphane Nicoll 01267a3c6f Merge pull request #51411 from MacAlsandair
Closes gh-51411

* docs-remove-springbootwebsecurityconfiguration-reference-4.0.x:
  Polish
  Remove reference to SpringBootWebSecurityConfiguration
2026-08-24 08:03:12 +02:00
Stéphane Nicoll 083b4d3f0e Polish
See gh-51411
2026-08-24 08:01:15 +02:00
Alexander Makarov 13389a27e7 Remove reference to SpringBootWebSecurityConfiguration
Servlet web security moved to ServletWebSecurityAutoConfiguration, but
the MVC Security section still describes SecurityAutoConfiguration
importing SpringBootWebSecurityConfiguration, which no longer exists.

See gh-51411

Signed-off-by: Alexander Makarov <alexander.makarov@nightsong.li>
2026-08-24 07:57:21 +02:00
Stéphane Nicoll 08b21900c4 Merge pull request #51393 from dependabot[bot]
Closes gh-51393

* dependabot/npm_and_yarn/antora/antora/cli-3.2.0-rc.3:
  Bump @antora/cli from 3.2.0-rc.2 to 3.2.0-rc.3 in /antora
2026-08-21 11:01:31 +02:00
dependabot[bot] 19431312b6 Bump @antora/cli from 3.2.0-rc.2 to 3.2.0-rc.3 in /antora
Bumps [@antora/cli](https://gitlab.com/antora/antora) from 3.2.0-rc.2 to 3.2.0-rc.3.
- [Changelog](https://gitlab.com/antora/antora/blob/main/CHANGELOG.adoc)
- [Commits](https://gitlab.com/antora/antora/compare/v3.2.0-rc.2...v3.2.0-rc.3)

---
updated-dependencies:
- dependency-name: "@antora/cli"
  dependency-version: 3.2.0-rc.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

See gh-51393

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-21 10:58:33 +02:00
Stéphane Nicoll 14989917a3 Merge pull request #51392 from dependabot[bot]
Closes gh-51392

* dependabot/npm_and_yarn/antora/antora/site-generator-3.2.0-rc.3:
  Bump @antora/site-generator from 3.2.0-rc.2 to 3.2.0-rc.3 in /antora
2026-08-21 10:54:44 +02:00
dependabot[bot] a4f6585607 Bump @antora/site-generator from 3.2.0-rc.2 to 3.2.0-rc.3 in /antora
Bumps [@antora/site-generator](https://gitlab.com/antora/antora) from 3.2.0-rc.2 to 3.2.0-rc.3.
- [Changelog](https://gitlab.com/antora/antora/blob/main/CHANGELOG.adoc)
- [Commits](https://gitlab.com/antora/antora/compare/v3.2.0-rc.2...v3.2.0-rc.3)

---
updated-dependencies:
- dependency-name: "@antora/site-generator"
  dependency-version: 3.2.0-rc.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

See gh-51392

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-21 10:54:34 +02:00
Stéphane Nicoll 76073b109f Merge pull request #51391 from dependabot[bot]
Closes gh-51391

* dependabot/github_actions/Homebrew/actions/setup-homebrew-2026.08.14.1:
  Bump Homebrew/actions/setup-homebrew from 2026.08.10.1 to 2026.08.14.1
2026-08-21 10:54:04 +02:00
dependabot[bot] 9bff138a78 Bump Homebrew/actions/setup-homebrew from 2026.08.10.1 to 2026.08.14.1
Bumps [Homebrew/actions/setup-homebrew](https://github.com/homebrew/actions) from 2026.08.10.1 to 2026.08.14.1.
- [Release notes](https://github.com/homebrew/actions/releases)
- [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts)
- [Commits](https://github.com/homebrew/actions/compare/c8707045ccae42888fe98e86f2ee8938bc7cc193...8f3d1ec8a696b3b9d9a6c3696b6c73033cab69e4)

---
updated-dependencies:
- dependency-name: Homebrew/actions/setup-homebrew
  dependency-version: 2026.08.14.1
  dependency-type: direct:production
...

See gh-51391

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-21 10:53:50 +02:00
Stéphane Nicoll baa3e5a9ca Merge pull request #51390 from scottfrederick
Closes gh-51390

* gh-51166-buildpack-stack-id:
  Polish "Warn when builder and run image stack IDs do not match"
  Warn when builder and run image stack IDs do not match
2026-08-21 10:50:58 +02:00
Stéphane Nicoll 0b0a6c88dc Polish "Warn when builder and run image stack IDs do not match"
See gh-51390
2026-08-21 10:49:17 +02:00
Scott Frederick 829fd8bb29 Warn when builder and run image stack IDs do not match
Spring Boot's Buildpacks integration inspects the stack IDs contained
in labels on the builder image and run image. Prior to this change, it
was a failure condition when the stack IDs did not match. Stack IDs
have been deprecated in the CNB spec, and it is no longer required
that the builder and run images match. The validation of stack IDs
was changed from an error to a warning to match the `pack` reference
implementation.

See gh-51390

Signed-off-by: Scott Frederick <scottyfred@gmail.com>
2026-08-21 10:49:17 +02:00
Phillip Webb b1ac5f53dd Restore '.github/actions/build' 2026-08-20 15:30:33 -07:00
Phillip Webb 425a96e9f8 Resore '.github' directory 2026-08-20 15:26:21 -07:00
Phillip Webb e3b1cff986 Restore GitHub workflows 2026-08-20 15:19:35 -07:00
Phillip Webb 2e50190739 Next development version (v4.0.9-SNAPSHOT) 2026-08-20 15:19:33 -07:00
Stéphane Nicoll 2c92717f55 Upgrade to Spring Pulsar 2.0.7
Closes gh-51327
2026-08-11 18:08:03 +02:00
Stéphane Nicoll 365e687312 Upgrade to Spring HATEOAS 3.0.5
Closes gh-51356
2026-08-11 18:08:03 +02:00
Stéphane Nicoll aab9b6b3c7 Upgrade to Spring Data Bom 2025.1.7
Close gh-51355
2026-08-11 18:08:03 +02:00
Stéphane Nicoll 3a096d58d4 Upgrade to Spring Session 4.0.5
Closes gh-51246
2026-08-11 18:08:03 +02:00
Stéphane Nicoll bb99ddab0c Upgrade to Spring Security 7.0.7
Closes gh-51245
2026-08-11 18:08:03 +02:00
Stéphane Nicoll 3f1c4ac2d1 Upgrade to Spring LDAP 4.0.5
Closes gh-51244
2026-08-11 18:08:03 +02:00
Stéphane Nicoll 19139ac9b3 Upgrade to Spring Kafka 4.0.7
Closes gh-51243
2026-08-11 18:08:02 +02:00
Stéphane Nicoll b70535bc18 Upgrade to Spring Integration 7.0.6
Closes gh-51242
2026-08-11 18:08:02 +02:00