Commit Graph
62896 Commits
Author SHA1 Message Date
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
Phillip Webb 46ed033333 Merge branch '4.1.x'
Closes gh-51864
2026-09-25 09:56:41 -07:00
Phillip Webb 53eeaf88d0 Document InetAddressFilter limitations with respect to proxy servers
Closes gh-51863
2026-09-25 09:54:42 -07:00
Andy Wilkinson 51417e37e5 Merge branch '4.1.x'
See gh-51860
2026-09-25 15:43:26 +01:00
Andy Wilkinson 113a235e77 Merge branch '4.0.x' into 4.1.x
See gh-51859
2026-09-25 15:42:59 +01:00
Andy Wilkinson a7023de9db Revert "Upgrade to Gradle 9.8.0"
This reverts commit ce8963169a.

See gh-51858
2026-09-25 15:42:39 +01:00
Andy Wilkinson d57bf3fa3e Merge branch '4.1.x'
Closes gh-51860
2026-09-25 11:03:02 +01:00
Andy Wilkinson a3ad9fc54b Merge branch '4.0.x' into 4.1.x
Closes gh-51859
2026-09-25 11:02:41 +01:00
Andy Wilkinson ce8963169a Upgrade to Gradle 9.8.0
Closes gh-51858
2026-09-25 10:25:21 +01:00
Moritz Halbritter 8ce3f594fe Check distro instead of stack ID for run image
Stack IDs are deprecated since Platform API 0.12 in favor of target
data. Comparing them produced false warnings for valid combinations,
e.g. the default builder with its tiny run image ('resolute' vs
'resolute.tiny').

Compare the OS distribution instead, read from the
io.buildpacks.base.distro.* labels with a fallback to the
io.buildpacks.stack.distro.* labels set by Paketo images. A missing
name or version matches any value, as in the lifecycle.

Deprecate BuildLog.stackIdsDoNotMatch in favor of distrosDoNotMatch.

Closes gh-51851
2026-09-24 14:03:08 +02:00
Moritz Halbritter f88aae6324 Merge pull request #51249 from anthonydahanne
Closes gh-51249

* pr/51249:
  Polish "Switch to ubuntu-resolute-builder as the default builder"
  Switch to ubuntu-resolute-builder as the default builder
2026-09-24 13:52:51 +02:00
Moritz Halbritter f0f435a8bb Polish "Switch to ubuntu-resolute-builder as the default builder"
See gh-51249
2026-09-24 13:52:22 +02:00
Anthony Dahanne 93880ced79 Switch to ubuntu-resolute-builder as the default builder
See gh-51249

Signed-off-by: Anthony Dahanne <anthony.dahanne@gmail.com>
2026-09-24 13:52:22 +02:00
Andy Wilkinson 413efc24f8 Merge commit 'v4.2.0-M2~1' 2026-09-24 12:14:38 +01:00
Phillip Webb a52645de17 Upgrade to Spring Session 4.2.0-M1
Closes gh-51806
2026-09-22 13:19:46 -07:00
Stéphane Nicoll 7b2c9b42cf Upgrade to Spring Security 7.2.0-M2
Closes gh-51805
2026-09-21 09:53:27 +01:00