Commit Graph
61710 Commits
Author SHA1 Message Date
Stéphane Nicoll 6d28fc10f9 Start development of Spring Boot 4.2.x 2026-07-15 10:30:43 +02:00
Stéphane Nicoll 493315f8cf Merge branch '4.1.x' 2026-07-15 10:26:56 +02:00
Stéphane Nicoll ad641b6bd6 Prepare 4.1.x 2026-07-15 10:25:21 +02:00
Andy Wilkinson 4407c656c0 Merge branch '4.0.x'
Closes gh-50952
2026-07-15 09:02:03 +01:00
Andy Wilkinson daa7e4917b Use GRADLE_USER_HOME to locate gradle.properties
Closes gh-50951
2026-07-15 09:01:25 +01:00
Stéphane Nicoll 9eb03d13fb Configure virtual threads on RedisMessageListenerContainer
Closes gh-50884
2026-07-15 09:45:44 +02:00
Stéphane Nicoll a500eaaefe Merge branch '4.0.x' 2026-07-15 08:02:02 +02:00
Stéphane Nicoll 8c6c3fd1e4 Polish "Upgrade to Gradle 9.6.1"
Stop using providers.properties as it is deprecated

See gh-50793
2026-07-15 07:51:22 +02:00
Stéphane Nicoll 7a89c31f91 Merge branch '4.0.x'
Closes gh-50950
2026-07-14 18:28:28 +02:00
Stéphane Nicoll b75932f259 Merge pull request #50779 from dhruv-15-03
* fix-jul-bridge-uninstall-asymmetry:
  Polish "Avoid removing application-managed JUL bridge handler"
  Avoid removing application-managed JUL bridge handler

Closes gh-50779
2026-07-14 18:21:46 +02:00
Stéphane Nicoll a2af5acbe2 Polish "Avoid removing application-managed JUL bridge handler"
See gh-50779
2026-07-14 18:17:03 +02:00
dhruv-15-03 fe5164521d Avoid removing application-managed JUL bridge handler
`LogbackLoggingSystem` and `Log4J2LoggingSystem` install a JUL bridge
handler only when the application is not already managing `java.util.logging`.
However, `cleanUp()` removed the bridge handler whenever the bridge class
was present on the classpath, so Spring Boot uninstalled a bridge handler
that an application had installed and managed itself.

Track whether the bridge handler was installed by Spring Boot and only
remove it during cleanup when that is the case.

See gh-50779

Signed-off-by: dhruv-15-03 <dhruvrastogi2004@gmail.com>
2026-07-14 18:11:50 +02:00
Stéphane Nicoll 1c423ab57d Merge pull request #50801 from ns3154
* gh-50797-lazy-jpa-bootstrap-executor:
  Polish "Lazily resolve JPA fallback bootstrap executor"
  Lazily resolve JPA fallback bootstrap executor

Closes gh-50801
2026-07-14 17:54:33 +02:00
Stéphane Nicoll d4d20787c1 Polish "Lazily resolve JPA fallback bootstrap executor"
See gh-50801
2026-07-14 17:45:54 +02:00
Ns 8c519369ec Lazily resolve JPA fallback bootstrap executor
Previously, the `entityManagerFactoryBuilder` bean method injected a
`Map<String, AsyncTaskExecutor>` to determine the fallback executor used
for background JPA bootstrapping. A `Map` parameter is resolved eagerly,
so this forced early initialization of every `AsyncTaskExecutor` bean
whenever the builder was created, even when background bootstrapping was
not in use. When an `AsyncTaskExecutor` directly or transitively
depended on the `EntityManagerFactory`, this resulted in a
`BeanCurrentlyInCreationException`.

The fallback executor is now resolved lazily.
`EntityManagerFactoryBuilder` holds a `Supplier` that is only invoked
when background bootstrapping is actually required, and the executor is
then looked up from the `BeanFactory` rather than eagerly injected. A
new `Supplier`-based constructor is added for this purpose; the existing
constructor that accepts an `AsyncTaskExecutor` is retained and
delegates to it.

The same eager `Map<String, AsyncTaskExecutor>` injection, along with an
unused private method, is also removed from
`DataJpaRepositoriesAutoConfiguration`.

See gh-50801

Signed-off-by: Ns <397827222@qq.com>
2026-07-14 17:11:14 +02:00
Stéphane Nicoll 46ed3df7e6 Merge branch '4.0.x'
Closes gh-50948
2026-07-14 16:26:27 +02:00
Stéphane Nicoll c7dd44815a Upgrade to Native Build Tools Plugin 1.1.4
Closes gh-50947
2026-07-14 16:20:52 +02:00
Stéphane Nicoll 2eedeabe9a Upgrade to Gradle 9.6.1
This commit also suppresses new warnings from the Native Build Tools
Plugin, see https://github.com/graalvm/native-build-tools/pull/903

Closes gh-50793
2026-07-14 16:03:14 +02:00
Stéphane Nicoll 1f43bb3b4f Merge branch '4.0.x'
Closes gh-50946
2026-07-14 15:44:39 +02:00
Stéphane Nicoll eb621439bc Harmonize Gradle versions used for testing on Java 26
Closes gh-50945
2026-07-14 15:44:03 +02:00
Stéphane Nicoll 6c160f17d9 Merge branch '4.0.x'
Closes gh-50944
2026-07-14 15:38:56 +02:00
Stéphane Nicoll bbacbc6291 Do not require WebClient.Builder in CloudFoundry auto-configuration
Closes gh-50928
2026-07-14 15:37:40 +02:00
Stéphane Nicoll 02b3242057 Merge branch '4.0.x'
Closes gh-50943
2026-07-14 11:38:01 +02:00
Stéphane Nicoll 2a40555069 Merge pull request #50909 from quaff
* patch-225:
  Inject Customizers as ObjectProvider to keep consistency

Closes gh-50909
2026-07-14 11:29:11 +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
Stéphane Nicoll 666d7d042d Merge branch '4.0.x'
Closes gh-50942
2026-07-14 11:12:24 +02:00
Stéphane Nicoll f8e62d6f18 Merge pull request #50916 from dlwldnjs1009
* cf-reactive-health-absent-4.0.x:
  Polish "Guard reactive Cloud Foundry health extension"
  Guard reactive Cloud Foundry health extension

Closes gh-50916
2026-07-14 11:12:19 +02:00
Stéphane Nicoll a0c8fa445b Polish "Guard reactive Cloud Foundry health extension"
See gh-50916
2026-07-14 11:09:17 +02:00
Lee JiWon bda889997d Guard reactive Cloud Foundry health extension
Move the reactive Cloud Foundry health endpoint extension into a
health-specific configuration guarded by @ConditionalOnClass. When
spring-boot-health is absent, scanning the outer configuration attempts
to resolve ReactiveHealthEndpointWebExtension and causes context refresh
to fail.

See gh-50916

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
2026-07-14 08:37:44 +02:00
Stéphane Nicoll f004d3077c Merge branch '4.0.x'
Closes gh-50941
2026-07-14 08:35:49 +02:00
Stéphane Nicoll d5cde2ece1 Merge pull request #50919 from SebTardif
* fix/image-buildpack-temp-and-stream-cleanup:
  Close streams and delete intermediate temps in ImageBuildpack

Closes gh-50919
2026-07-14 08:35:42 +02:00
Sebastien Tardif 7bdb1320bf Close streams and delete intermediate temps in ImageBuildpack
ExportedLayers left the intermediate create-builder-scratch-source
temp file behind after rebased layer files were written, and opened
layer InputStreams without closing them when StreamUtils.copy does
not close either stream. Delete the source temp in a finally block
and use try-with-resources for the apply path so layer files can be
deleted reliably.

See gh-50919

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-07-14 08:33:33 +02:00
Stéphane Nicoll 1fb29ef797 Merge branch '4.0.x'
Closes gh-50940
2026-07-14 08:12:44 +02:00
Stéphane Nicoll 401a719654 Merge pull request #50931 from ngocnhan-tran1996
* gh-50930:
  Fix key for the MongoDB health indicator in reference guide

Closes gh-50931
2026-07-14 08:12:37 +02:00
Tran Ngoc Nhan c463dd033b Fix key for the MongoDB health indicator in reference guide
See gh-50931

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-07-14 08:07:07 +02:00
Stéphane Nicoll 822752a0b0 Merge branch '4.0.x'
Closes gh-50939
2026-07-14 08:05:41 +02:00
Stéphane Nicoll 26b93d007c Merge pull request #50938 from dependabot[bot]
* dependabot/github_actions/Homebrew/actions/setup-homebrew-18fcb8e3e06b4247c676c506750dc95ea7226479:
  Bump Homebrew/actions/setup-homebrew

Closes gh-50938
2026-07-14 08:05:35 +02:00
dependabot[bot] c88058ecdf Bump Homebrew/actions/setup-homebrew
Bumps [Homebrew/actions/setup-homebrew](https://github.com/homebrew/actions) from 7657c9512f50e1c35b640971116425935bab3eea to 18fcb8e3e06b4247c676c506750dc95ea7226479.
- [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/7657c9512f50e1c35b640971116425935bab3eea...18fcb8e3e06b4247c676c506750dc95ea7226479)

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

See gh-50938

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-14 08:04:56 +02:00
Stéphane Nicoll 4c346884f3 Merge branch '4.0.x'
Closes gh-50923
2026-07-06 15:15:07 +02:00
Stéphane Nicoll 2245a79653 Harmonize checkstyle configuration
Closes gh-50921
2026-07-06 15:12:44 +02:00
Stéphane Nicoll dc23ca59a5 Merge branch '4.0.x'
Closes gh-50914
2026-07-03 12:33:45 +02:00
Stéphane Nicoll d2b538be08 Merge pull request #50908 from quaff
* patch-224:
  Polish "Apply GraphQL customizers in order"
  Apply GraphQL customizers in order

Closes gh-50908
2026-07-03 12:33:32 +02:00
Stéphane Nicoll a57da0c57a Polish "Apply GraphQL customizers in order"
See gh-50908
2026-07-03 12:32:28 +02:00
Yanming Zhou f96808edfa Apply GraphQL customizers in order
See gh-50908

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-07-03 12:17:18 +02:00
Stéphane Nicoll fb9794a2d3 Merge branch '4.0.x'
Closes gh-50901
2026-07-01 08:10:29 +02:00
Stéphane Nicoll d849df08b6 Merge pull request #50890 from dependabot[bot]
* dependabot/github_actions/gradle/actions/setup-gradle-6.2.0:
  Polish "Bump gradle/actions/setup-gradle from 5.0.2 to 6.2.0"
  Bump gradle/actions/setup-gradle from 5.0.2 to 6.2.0

Closes gh-50890
2026-07-01 08:10:18 +02:00
Stéphane Nicoll 0b3aaff96f Polish "Bump gradle/actions/setup-gradle from 5.0.2 to 6.2.0"
See gh-50890
2026-07-01 08:08:06 +02:00
dependabot[bot] 36d098c755 Bump gradle/actions/setup-gradle from 5.0.2 to 6.2.0
Bumps [gradle/actions/setup-gradle](https://github.com/gradle/actions) from 5.0.2 to 6.2.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/0723195856401067f7a2779048b490ace7a47d7c...3f131e8634966bd73d06cc69884922b02e6faf92)

---
updated-dependencies:
- dependency-name: gradle/actions/setup-gradle
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

See gh-50890

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 08:06:27 +02:00
Stéphane Nicoll ca7849e507 Merge branch '4.0.x'
Closes gh-50897
2026-06-30 10:13:55 +02:00
Stéphane Nicoll bafc0ed6d2 Restore copyright headers of JSON shaded lib
Closes gh-50896
2026-06-30 10:13:02 +02:00