Commit Graph
61723 Commits
Author SHA1 Message Date
Moritz Halbritter 49a48c330c Merge branch '4.0.x' into 4.1.x
Closes gh-51000
2026-07-20 10:13:24 +02:00
Moritz Halbritter b635877c67 Add link from AOT Cache documentation to the how-to guide
Closes gh-50996
2026-07-20 10:13:06 +02:00
Moritz Halbritter 2862d30399 Merge branch '4.0.x' into 4.1.x
Closes gh-50998
2026-07-20 09:55:15 +02:00
Moritz Halbritter 246cf64bfb Upgrade Java version in sdkmanrc to 25.0.3-librca
Closes gh-50997
2026-07-20 09:53:56 +02:00
Stéphane Nicoll fa6a996372 Merge branch '4.0.x' into 4.1.x
Closes gh-50964
2026-07-16 15:39:21 +02:00
Stéphane Nicoll 21cb821f95 Merge pull request #50433 from DragonFSKY
Closes gh-50433

* fix/50422-flyway-native-resource-path:
  Polish "Preserve nested Flyway migration paths in native images"
  Preserve nested Flyway migration paths in native images
2026-07-16 15:38:42 +02:00
Stéphane Nicoll 9f8f4da563 Polish "Preserve nested Flyway migration paths in native images"
See gh-50433
2026-07-16 15:38:24 +02:00
Dongliang Xie d9ffeee4b7 Preserve nested Flyway migration paths in native images
This commit preserves the classpath-relative path for Flyway migration
discovered by the native image resource provider so nested migrations
remain readable.

See gh-50433

Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
2026-07-16 15:38:19 +02:00
Brian Clozel 1377c3a1c2 Merge branch '4.0.x' into 4.1.x
Closes gh-50961
2026-07-16 14:53:24 +02:00
Dmitry Sulman f83576eb29 Order kotlinxJsonCodecCustomizer so user-provided customizer can go after it
Closes gh-50428

Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2026-07-16 14:52:42 +02:00
Stéphane Nicoll 15c7518da5 Merge branch '4.0.x' into 4.1.x
Closes gh-50959
2026-07-16 11:09:08 +02:00
Stéphane Nicoll 15bb54a41f Merge pull request #50949 from SebTardif
Closes gh-50949

* fix/findmainclass-close-jarfile:
  Close JarFile when finding main class from archive
2026-07-16 11:08:56 +02:00
Sebastien Tardif c3153dc39f Close JarFile when finding main class from archive
MainClassFinder.findSingleMainClass(JarFile, ...) does not close the
JarFile; the caller owns the resource. FindMainClass passed a newly
opened JarFile without closing it, unlike sibling call sites that use
try-with-resources.

See gh-50949

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-07-16 11:08:06 +02:00
Stéphane Nicoll 7ef46fb87a Merge branch '4.0.x' into 4.1.x 2026-07-15 13:25:59 +02:00
Stéphane Nicoll f01e775082 Polish 2026-07-15 13:22:42 +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