Commit Graph
62911 Commits
Author SHA1 Message Date
Stéphane Nicoll e8d93a7670 Merge branch '4.1.x'
Closes gh-51889
2026-09-28 12:42:38 +02:00
Stéphane Nicoll 708a58c2cf Merge branch '4.0.x' into 4.1.x
Closes gh-51888
2026-09-28 12:42:30 +02:00
Stéphane Nicoll 8c7c372dcb Merge pull request #51870 from ohchanKyu
Closes gh-51870

* fix-mariadb-allow-empty-root-password-env:
  Recognize MARIADB_ALLOW_EMPTY_ROOT_PASSWORD in Docker Compose support
2026-09-28 12:42:25 +02:00
ohchanKyu 5e2730eb01 Recognize MARIADB_ALLOW_EMPTY_ROOT_PASSWORD in Docker Compose support
MariaDbEnvironment checked for MARIADB_ALLOW_EMPTY_PASSWORD, which the
official MariaDB image does not support. The documented variable is
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD. As a result, a compose service that
used the documented variable started fine but Spring Boot failed with
"No MariaDB password found".

See gh-51870

Signed-off-by: ohchanKyu <okc0202@naver.com>
2026-09-28 12:41:32 +02:00
Stéphane Nicoll 9e334ee02c Merge branch '4.1.x'
Closes gh-51887
2026-09-28 11:23:22 +02:00
Stéphane Nicoll aecce0a0a5 Merge branch '4.0.x' into 4.1.x
Closes gh-51886
2026-09-28 11:23:16 +02:00
Stéphane Nicoll b61cd8c102 Merge pull request #51869 from noojung
Closes gh-51869

* fix-actuator-endpoint-javadoc:
  Fix actuator endpoint property names in Javadoc
2026-09-28 11:23:12 +02:00
Hyunwoo Jung 032ed4eabf Fix actuator endpoint property names in Javadoc
See gh-51869

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>
2026-09-28 11:21:22 +02:00
Stéphane Nicoll cc0bc93d1a Merge pull request #51852 from crapxxi
Closes gh-51852

* gh-51781:
  Polish "Reuse cached PathPattern"
  Reuse cached PathPattern
2026-09-28 11:20:10 +02:00
Stéphane Nicoll a249310e34 Polish "Reuse cached PathPattern"
See gh-51852
2026-09-28 11:17:41 +02:00
crapxxi 5cf401758d Reuse cached PathPattern
See gh-51852

Signed-off-by: crapxxi <aibynkairatov@gmail.com>
2026-09-28 11:09:26 +02:00
Stéphane Nicoll 593344ccc1 Merge branch '4.1.x'
Closes gh-51885
2026-09-28 11:07:19 +02:00
Stéphane Nicoll dda41fef36 Merge branch '4.0.x' into 4.1.x
Closes gh-51884
2026-09-28 11:07:14 +02:00
Stéphane Nicoll fc01dabf04 Merge pull request #51850 from ngocnhan-tran1996
Closes gh-51850

* remove-cast:
  Remove unnecessary cast to null
2026-09-28 11:07:10 +02:00
Tran Ngoc Nhan 3fe8d42485 Remove unnecessary cast to null
See gh-51850

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-09-28 10:54:13 +02:00
Stéphane Nicoll 9bf8d3ca90 Merge branch '4.1.x'
Closes gh-51882
2026-09-28 10:53:09 +02:00
Stéphane Nicoll c6993305f2 Merge branch '4.0.x' into 4.1.x
Closes gh-51881
2026-09-28 10:53:01 +02:00
Stéphane Nicoll d0f9b6b3e6 Merge pull request #51847 from dependabot[bot]
Closes gh-51847

* dependabot/github_actions/jfrog/setup-jfrog-cli-5.2.0:
  Polish "Bump jfrog/setup-jfrog-cli from 5.1.0 to 5.2.0"
  Bump jfrog/setup-jfrog-cli from 5.1.0 to 5.2.0
2026-09-28 10:52:56 +02:00
Stéphane Nicoll a03204096e Polish "Bump jfrog/setup-jfrog-cli from 5.1.0 to 5.2.0"
See gh-51847
2026-09-28 10:52:16 +02:00
dependabot[bot] b8b9177400 Bump jfrog/setup-jfrog-cli from 5.1.0 to 5.2.0
Bumps [jfrog/setup-jfrog-cli](https://github.com/jfrog/setup-jfrog-cli) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/jfrog/setup-jfrog-cli/releases)
- [Commits](https://github.com/jfrog/setup-jfrog-cli/compare/deda456d982fc5e9a7a020b63eb0d2968aedd33e...68c0efdc951dd2359bbbfa15c48bc67b3ae8e4d6)

---
updated-dependencies:
- dependency-name: jfrog/setup-jfrog-cli
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

See gh-51847

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 10:50:29 +02:00
Stéphane Nicoll 7d0e42258f Merge branch '4.1.x'
Closes gh-51880
2026-09-28 10:48:48 +02:00
Stéphane Nicoll d08246e436 Merge branch '4.0.x' into 4.1.x
Closes gh-51879
2026-09-28 10:48:36 +02:00
Stéphane Nicoll c602c8c1a1 Merge pull request #51846 from dependabot[bot]
Closes gh-51846

* dependabot/github_actions/Homebrew/actions/setup-homebrew-2026.09.21.1:
  Bump Homebrew/actions/setup-homebrew from 2026.09.13.1 to 2026.09.21.1
2026-09-28 10:48:32 +02:00
dependabot[bot] e1cb818f72 Bump Homebrew/actions/setup-homebrew from 2026.09.13.1 to 2026.09.21.1
Bumps [Homebrew/actions/setup-homebrew](https://github.com/homebrew/actions) from 2026.09.13.1 to 2026.09.21.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/1e34f2e2acaa766b7efacb8c26352e6abbb023f9...848c272c7bfe984a197bd4d16383f4c106ec61e6)

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

See gh-51846

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 10:47:42 +02:00
Stéphane Nicoll ed4d85df80 Merge pull request #51844 from hunseonglee
Closes gh-51844

* caffeine-async-cache-mode:
  Polish "Add property to enable Caffeine async cache mode"
  Add property to enable Caffeine async cache mode
2026-09-28 10:46:11 +02:00
Stéphane Nicoll 0fe97e3da2 Polish "Add property to enable Caffeine async cache mode"
Restructured to spring.cache.caffeine.cache-mode with an enum that can
be "native" or "async". Also clarified in the documentation the scope
of the property and that custom caches are not affected.

See gh-51844
2026-09-28 10:45:01 +02:00
seonghun lee 4e4cdc3fda Add property to enable Caffeine async cache mode
CaffeineCacheManager supports asynchronous caches backed by Caffeine's
AsyncCache via setAsyncCacheMode, which adds support for Cache.retrieve.

Add a spring.cache.caffeine.async property (default false) wired to
CaffeineCacheManager.setAsyncCacheMode in CaffeineCacheConfiguration.

See gh-51844

Signed-off-by: seonghun lee <harrisleesh@gmail.com>
2026-09-28 10:12:51 +02:00
Stéphane Nicoll 0eed305ce0 Merge branch '4.1.x'
Closes gh-51878
2026-09-28 10:11:22 +02:00
Stéphane Nicoll a2a08124f1 Merge branch '4.0.x' into 4.1.x
Closes gh-51877
2026-09-28 10:11:10 +02:00
Stéphane Nicoll 34b3df1ac6 Merge pull request #51842 from dmitrysulman
Closes gh-51842

* gh-51840:
  Polish contribution
  Apply auto-configured Kotlinx Serialization JSON codec customization
2026-09-28 10:11:08 +02:00
Stéphane Nicoll a55d5985fc Polish contribution
See gh-51842
2026-09-28 10:06:38 +02:00
Dmitry Sulman ea72da3604 Apply auto-configured Kotlinx Serialization JSON codec customization
See gh-51842

Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2026-09-28 10:05:53 +02:00
Stéphane Nicoll f4fb059204 Merge pull request #51841 from move-hoon
Closes gh-51841

* devtools-isdeleted-uri-once:
  Polish "Check resource existence once when looking for deleted files"
  Check resource existence once when looking for deleted files
2026-09-28 09:44:37 +02:00
Stéphane Nicoll 097319ecf9 Polish "Check resource existence once when looking for deleted files"
See gh-51841
2026-09-28 09:40:24 +02:00
DongHoon Lee 5c2ad14f50 Check resource existence once when looking for deleted files
ClassLoaderFilesResourcePatternResolver.isDeleted() calls
resource.exists() and resource.getURI() inside the loop over the
uploaded files, so both are repeated once per DELETED entry although
neither depends on the entry. Every resource lookup made while the
application context is being built goes through this method - about
1300 times per restart in the application I measured - so a session
that has accumulated 100 deleted files performs around 130 000 file
system lookups where 1300 are enough.

This commit hoists both calls out of the loop: the resource is
inspected at most once per call, on the first DELETED entry, and the
URI comparison then uses the cached value. The method still returns on
the first match and still reports a failing getURI() as an
IllegalStateException, so behaviour is unchanged.

The loop now walks the per-directory entry sets, which is what
ClassLoaderFiles.addAll() and RestartServer already do, instead of the
flattened view added in gh-46289. That view is wrapped in
Collections.unmodifiableSet(), whose iterator is shared JDK code; in a
running application its delegate calls are megamorphic and C2 stops
inlining them, which made restarts with many accumulated files and no
deletions slower than before gh-46289. isDeleted() returns a boolean,
so the visiting order of the entries cannot change its result.

Measured on a Spring Boot application driven through the remote restart
path (restart request to ApplicationReadyEvent), 12 JVMs per variant
and 20 restarts per JVM, medians:

  100 source directories, 10 000 entries, 10 deleted:  278 ms -> 200 ms
  100 source directories, 10 000 entries, 100 deleted: 891 ms -> 201 ms
  100 source directories, 10 000 entries, 500 deleted: 3536 ms -> 200 ms
  100 source directories, 50 000 entries, none deleted: 431 ms -> 341 ms
  100 source directories, 10 000 entries, none deleted: 202 ms -> 192 ms
  no uploaded files:                                   150 ms -> 148 ms

See gh-51841

Signed-off-by: DongHoon Lee <dhl1924@naver.com>
2026-09-28 09:26:41 +02:00
Stéphane Nicoll 76cc145900 Merge branch '4.1.x'
Closes gh-51876
2026-09-28 09:21:07 +02:00
Stéphane Nicoll ed674dc20c Merge branch '4.0.x' into 4.1.x
Closes gh-51875
2026-09-28 09:21:01 +02:00
Stéphane Nicoll 093ea126ca Merge pull request #51839 from dependabot[bot]
Closes gh-51839

* dependabot/maven/build-plugin/spring-boot-maven-plugin/src/intTest/projects/jar-signed/org.bouncycastle-bcprov-jdk18on-1.85:
  Bump org.bouncycastle:bcprov-jdk18on
2026-09-28 09:20:54 +02:00
dependabot[bot] 6b5c574916 Bump org.bouncycastle:bcprov-jdk18on
Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) from 1.84 to 1.85.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.md)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.85'
  dependency-type: direct:production
...

See gh-51839

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 09:20:16 +02:00
Stéphane Nicoll b015f43df4 Merge branch '4.1.x'
Closes gh-51874
2026-09-28 09:13:22 +02:00
Stéphane Nicoll 79853c1197 Merge branch '4.0.x' into 4.1.x
Closes gh-51873
2026-09-28 09:13:11 +02:00
Stéphane Nicoll e23c6a8db1 Merge pull request #51838 from dependabot[bot]
Closes gh-51838

* dependabot/maven/build-plugin/spring-boot-maven-plugin/src/intTest/projects/war-signed/org.bouncycastle-bcprov-jdk18on-1.85:
  Bump org.bouncycastle:bcprov-jdk18on
2026-09-28 09:13:01 +02:00
dependabot[bot] b418533eb8 Bump org.bouncycastle:bcprov-jdk18on
Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) from 1.84 to 1.85.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.md)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.85'
  dependency-type: direct:production
...

See gh-51838

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-28 09:11:43 +02:00
Phillip Webb ef67de058e Merge pull request #51855 from noojung
Closes gh-51855

* pr/51855:
  Polish 'Allow properties migrator to fail application startup'
  Allow properties migrator to fail application startup
2026-09-25 20:27:02 -07:00
Phillip Webb 602a7e73e9 Polish 'Allow properties migrator to fail application startup'
See gh-51855
2026-09-25 20:24:40 -07:00
Hyunwoo Jung a86aa43303 Allow properties migrator to fail application startup
Add a new configuration property to prevent the application from
starting when configuration keys that need to be migrated are
found.

With `on-error`, the application fails when keys that are no longer
supported are found. With `on-warning`, it also fails when keys that
have been renamed are found. The default, `never`, keeps the current
behavior of only logging the report.

See gh-51855

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>
2026-09-25 20:23:53 -07:00
Phillip Webb 789e06631b Merge branch '4.1.x'
Closes gh-51866
2026-09-25 15:35:31 -07:00
Phillip Webb caec174dee Merge branch '4.0.x' into 4.1.x
Closes gh-51865
2026-09-25 15:35:16 -07:00
Phillip Webb fe9a8f638d Merge pull request #51861 from xoruddl
Closes gh-51861

* pr/51861:
  Enable nullability checking of spring-boot-jersey's tests
2026-09-25 15:34:39 -07:00
itaekyung a0df183115 Enable nullability checking of spring-boot-jersey's tests
See gh-51861

Signed-off-by: itaekyung <taeyun1411@gmail.com>
2026-09-25 15:32:57 -07:00