Commit Graph

58713 Commits

Author SHA1 Message Date
Moritz Halbritter 552c145213 Improve null-safety of core/spring-boot
See gh-46926
2025-09-03 15:11:10 +02:00
Moritz Halbritter e70edced2f Merge branch '3.5.x'
Closes gh-47020
2025-09-02 15:12:58 +02:00
Andy Wilkinson 7f7d5b157f Upgrade Kafka smoke test to use Jackson 3-based SerDe components
See gh-45535
2025-09-02 13:56:10 +01:00
Moritz Halbritter f50e779942 Merge branch '3.4.x' into 3.5.x
Closes gh-47019
2025-09-02 14:53:52 +02:00
Moritz Halbritter c4af7d6c75 Merge pull request #46974 from quaff
* pr/46974:
  Polish "Create service connections for image with registry host and without project"
  Create service connections for image with registry host and without project

Closes gh-46974
2025-09-02 14:36:04 +02:00
Moritz Halbritter a6afc39956 Polish "Create service connections for image with registry host and without project"
See gh-46974
2025-09-02 14:35:19 +02:00
Yanming Zhou c8d29fd3fe Create service connections for image with registry host and without project
See gh-46974

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-09-02 14:30:01 +02:00
Andy Wilkinson d353038c58 Update Jackson support to require Jackson 3
Closes gh-45535
2025-09-02 11:37:09 +01:00
Andy Wilkinson 8bfb170ebc Remove support for Jersey
Spring Boot 4 requires Jakarta EE 11. Jersey 4 will support EE 11 but
its release schedule is uncertain. Furthermore, Jersey does not yet
support Jackson 3 and there's no clear timeline for when Jackson 3
will be supported.

In light of the above, this commit removes support for Jersey.
Reinstating support can be considered once there's a Jersey GA that
supports Jakarta EE 11 or its clear that one will be available in
time for Boot's GA in November. Ideally, support for Jackson 3 would
also be available before reinstating Jersey support.

Closes gh-47017
2025-09-02 11:36:52 +01:00
Moritz Halbritter b52c55d633 Merge pull request #46995 from maziyarbahramian
* pr/46995:
  Rename ScheduledTasksObservabilityAutoConfiguration to ScheduledTasksObservationAutoConfiguration

Closes gh-46995
2025-09-01 16:58:27 +02:00
Maziyar Bahramian 6d3cb8eff7 Rename ScheduledTasksObservabilityAutoConfiguration to ScheduledTasksObservationAutoConfiguration
See gh-46995

Signed-off-by: Maziyar Bahramian <maziyar.bahramian@gmail.com>
2025-09-01 16:57:00 +02:00
Moritz Halbritter d618f6b1ec Merge branch '3.5.x'
Closes gh-47014
2025-09-01 16:10:16 +02:00
Moritz Halbritter d785a7f26b Merge branch '3.4.x' into 3.5.x
Closes gh-47013
2025-09-01 16:08:50 +02:00
Moritz Halbritter fafd0bbd20 Merge pull request #46984 from Chanwon-Seo
* pr/46984:
  Allow Flyway's Ignore Migration Patterns setting to be an empty string

Closes gh-46984
2025-09-01 16:08:11 +02:00
Chanwon-Seo 972ceca8cd Allow Flyway's Ignore Migration Patterns setting to be an empty string
See gh-46984

Signed-off-by: Chanwon-Seo <scwonn60@gmail.com>
2025-09-01 15:56:24 +02:00
Moritz Halbritter 71ff804717 Adapt to Neo4j image changes
The image has been switched in 4761e13228
2025-09-01 15:51:00 +02:00
Moritz Halbritter c4a4b632c1 Merge pull request #46289 from move-hoon
* pr/46289:
  Polish "Optimize DevTools resource lookup performance"
  Optimize DevTools resource lookup performance

Closes gh-46289
2025-09-01 10:52:46 +02:00
Moritz Halbritter 2c4d162f40 Polish "Optimize DevTools resource lookup performance"
See gh-46289
2025-09-01 10:52:38 +02:00
DongHoon Lee 3e41807e1d Optimize DevTools resource lookup performance
The resource resolver in DevTools can cause performance degradation
during application restarts in large projects. Key methods like
isDeleted() and getAdditionalResources() rely on nested loops, leading
to O(n*m) complexity.

This commit refactors ClassLoaderFiles to use a pre-computed, flattened
map. This provides O(1) complexity for direct lookups and allows for
efficient single-loop iteration.

The ClassLoaderFilesResourcePatternResolver is updated to leverage this
new, efficient structure:

- getFile() and size() are improved from O(n) to O(1).
- isDeleted() and getAdditionalResources() are improved from O(n*m) to
  O(m) by eliminating nested loops.
- Data consistency is maintained across all operations.

This optimization significantly improves restart performance with a
minimal memory footprint, while preserving the existing API and
exception handling behavior.

See gh-46289

Signed-off-by: DongHoon Lee <dhl1924@naver.com>
2025-09-01 10:52:37 +02:00
Andy Wilkinson 4761e13228 Upgrade Neo4j test image to 5.26.11
See gh-47002
2025-09-01 09:49:28 +01:00
Andy Wilkinson a5b195f3f2 Start building against Spring RESTDocs 4.0.0-M3 snapshots
See gh-47007
2025-09-01 08:10:32 +01:00
Andy Wilkinson cec58df657 Start building against Spring Pulsar 2.0.0-M3 snapshots
See gh-47006
2025-09-01 08:10:32 +01:00
Andy Wilkinson e741934a2d Start building against Spring LDAP 4.0.0-M3 snapshots
See gh-47005
2025-09-01 08:10:32 +01:00
Andy Wilkinson 363d9b555a Start building against Spring Kafka 4.0.0-M5 snapshots
See gh-47004
2025-09-01 08:10:32 +01:00
Andy Wilkinson b2e6cb0259 Start building against Spring HATEOAS 3.0.0-M5 snapshots
See gh-47003
2025-09-01 08:10:32 +01:00
Andy Wilkinson fbe0ccf0ae Start building against Spring Data Bom 2025.1.0-M6 snapshots
See gh-47002
2025-09-01 08:10:31 +01:00
Andy Wilkinson 576d67a4f8 Start building against Spring Batch 6.0.0-M3 snapshots
See gh-47001
2025-09-01 08:10:31 +01:00
Andy Wilkinson 3ffdf6ee1a Start building against Spring Authorization Server 2.0.0-M3 snapshots
See gh-47000
2025-09-01 08:10:31 +01:00
Andy Wilkinson 856602ddc4 Upgrade to Elasticsearch Client 9.1.3
Closes gh-47011
2025-09-01 08:10:31 +01:00
Andy Wilkinson f3ac2d5906 Start building against Reactor Bom 2025.0.0-M7 snapshots
See gh-46998
2025-08-29 17:19:34 +01:00
Andy Wilkinson 254068083d Start building against Spring Integration 7.0.0-M3 snapshots
See gh-47010
2025-08-29 17:19:34 +01:00
Andy Wilkinson b15974024c Start building against Spring GraphQL 2.0.0-M3 snapshots
See gh-47009
2025-08-29 17:19:34 +01:00
Andy Wilkinson fe371aba17 Start building against Spring Framework 7.0.0-M9 snapshots
See gh-47008
2025-08-29 17:19:34 +01:00
Andy Wilkinson 62649ae3ed Start building against Micrometer Tracing 1.6.0-M3 snapshots
See gh-46997
2025-08-29 17:16:52 +01:00
Andy Wilkinson 05ae5837e7 Start building against Micrometer 1.16.0-M3 snapshots
See gh-46996
2025-08-29 17:16:52 +01:00
Moritz Halbritter dc03e3749b Merge pull request #46409 from ppkarwasz
* pr/46409:
  Polish "Improve Log4j core configuration file detection for Log4j 3"
  Improve Log4j core configuration file detection for Log4j 3

Closes gh-46409
2025-08-29 11:15:38 +02:00
Moritz Halbritter ff11e21d73 Polish "Improve Log4j core configuration file detection for Log4j 3"
See gh-46409
2025-08-29 11:09:23 +02:00
Piotr P. Karwasz 16439ad6e3 Improve Log4j core configuration file detection for Log4j 3
Log4j Core 3 has undergone significant modularization and no longer uses
optional parser dependencies. This change requires updates to
Spring Boot's configuration file detection logic to properly support
both Log4j Core 2 and 3.

**Updated configuration file detection**
  Spring Boot now detects configuration formats based on the presence of
   ConfigurationFactory implementations, instead of relying on optional
   parser dependencies (as was the case in Log4j Core 2).

**Improved classloader usage for reflection**
  Reflection logic now uses the classloader that loaded Log4j Core,
  rather than the one associated with the Spring Boot context,
  ensuring greater compatibility in modular environments.

* **Adjusted configuration file lookup order**
  The lookup now prioritizes configuration files specified via
  properties over automatically discovered ones, improving consistency
  with Log4j Core.

**Support for contextual configuration files**
  Files named in the form `log4j2<contextName>.<extension>` are now also
  supported.

These changes ensure compatibility with Log4j Core 3 while preserving
support for Log4j Core 2, improving Spring Boot's flexibility in
detecting and loading user-defined logging configurations.

See gh-46409

Signed-off-by: Piotr P. Karwasz <piotr@github.copernik.eu>
2025-08-29 11:06:49 +02:00
Moritz Halbritter f3082e7802 Merge branch '3.5.x'
Closes gh-46991
2025-08-28 17:09:31 +02:00
Moritz Halbritter 89c7a681c0 Merge branch '3.4.x' into 3.5.x
Closes gh-46990
2025-08-28 17:08:23 +02:00
Moritz Halbritter 86bb1b4e57 Bump jfrog/setup-jfrog-cli from 4.5.13 to 4.6.0
Closes gh-46962
2025-08-28 17:08:06 +02:00
Moritz Halbritter bf0998fe54 Merge branch '3.5.x'
Closes gh-46989
2025-08-28 17:06:26 +02:00
Moritz Halbritter efa806e3b5 Merge branch '3.4.x' into 3.5.x
Closes gh-46988
2025-08-28 17:06:18 +02:00
Moritz Halbritter 75f9138a1a Merge pull request #46976 from Chanwon-Seo
* pr/46976:
  Fix links to Flyway reference documentation

Closes gh-46976
2025-08-28 17:05:45 +02:00
Chanwon-Seo 4d499c3e46 Fix links to Flyway reference documentation
See gh-46976

Signed-off-by: Chanwon-Seo <scwonn60@gmail.com>
2025-08-28 17:04:33 +02:00
Moritz Halbritter da2365b8cb Merge branch '3.5.x'
Closes gh-46987
2025-08-28 16:58:28 +02:00
Moritz Halbritter 4716cb3713 Merge branch '3.4.x' into 3.5.x
Closes gh-46986
2025-08-28 16:58:19 +02:00
Moritz Halbritter 1eaa54759a Merge pull request #46973 from quaff
* pr/46973:
  Fix typo

Closes gh-46973
2025-08-28 16:57:56 +02:00
Yanming Zhou f547bc27a5 Fix typo
See gh-46973

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-08-28 16:56:46 +02:00
Moritz Halbritter db5680a79c Merge branch '3.5.x' 2025-08-28 14:04:26 +02:00