Commit Graph

46602 Commits

Author SHA1 Message Date
Moritz Halbritter
86c2f28cb4 Prevent keep alive thread from blocking the AOT processing
Instead of creating the thread directly in the constructor, the thread
is now created when the context is refreshed and stopped when the
context is closed.

As AOT processing never refreshes the context, the thread is never
started and can't block the AOT processing task.

Closes gh-38531
2023-11-27 13:41:02 +01:00
Phillip Webb
0856e10443 Fix IndexOutOfBoundsException exception from parseUrl with empty spec
Update jar `Handler` code so that the `parseUrl` method can accept an
empty `spec`. Prior to this commit, a `classLoader.getResource("")`
call would result in a `null` result. This breaks a number of things
including `ClassPathResource` and `PathMatchingResourcePatternResolver`.

Fixes gh-38524
2023-11-23 14:35:04 -08:00
Moritz Halbritter
7387c1c64c Merge branch '3.1.x' 2023-11-23 16:58:20 +01:00
Moritz Halbritter
07d8c99605 Switch LATEST_GA for 3.1.x to false 2023-11-23 16:57:22 +01:00
Spring Builds
3fae5516c9 Next development version (v3.2.1-SNAPSHOT) 2023-11-23 14:05:52 +00:00
Andy Wilkinson
f3d48e64a5 Set LATEST_GA to true for Homebrew and SDKMan
Closes gh-38512
2023-11-23 12:12:57 +00:00
Andy Wilkinson
1514d6fd57 Upgrade to Spring Framework 6.1.1
Closes gh-38451
2023-11-23 12:11:48 +00:00
Andy Wilkinson
0da9c64261 Merge branch '3.1.x' 2023-11-23 12:09:13 +00:00
Spring Builds
9552335c15 Next development version (v3.1.7-SNAPSHOT) 2023-11-23 11:32:11 +00:00
Brian Clozel
f54a539c86 Merge branch '3.1.x' 2023-11-23 11:45:44 +01:00
Brian Clozel
11db8c4a46 Fix final release flag in CI pipeline
Spring Boot 3.1.x should have its final OSS release before 2024-05-18.

See gh-38474
2023-11-23 11:45:07 +01:00
Moritz Halbritter
8f2d7d4cef Merge pull request #38508 from izeye
* pr/38508:
  Polish

Closes gh-38508
2023-11-23 09:41:35 +01:00
Johnny Lim
f9f73aa146 Polish
See gh-38508
2023-11-23 09:39:01 +01:00
Moritz Halbritter
f613ab89b9 Auto-configure observations for RestClients
Closes gh-38500
2023-11-23 09:28:09 +01:00
Andy Wilkinson
9c68a2ab87 Integrate child management context with parent context's lifecycle
Previously, the child management context was created when the
parent context's web server was initialized and it wasn't stopped
or closed until the parent context was closed. This resulted in
the child context being left running when the parent context was
stopped. This would then cause a failure when the parent context
was started again as another web server initialized event would be
received and a second child management context would be started.

This commit updates the initialization of the child management
context to integrate it with the lifecycle of the parent context.
The management context is now created the first time the parent
context is started. It is stopped when the parent context is
stopped and restarted if the parent context is started again.
This lifecycle management is done using a phase that ensures
that the child context is not started until the parent context's
web server has been started.

Fixes gh-38502
2023-11-22 19:50:22 +00:00
Andy Wilkinson
de8b304da4 Merge branch '3.1.x' 2023-11-22 19:50:08 +00:00
Andy Wilkinson
1707904f70 Upgrade to Spring Batch 5.0.4
Closes gh-38493
2023-11-22 19:49:53 +00:00
Andy Wilkinson
d33af60ca6 Merge branch '3.0.x' into 3.1.x 2023-11-22 19:49:47 +00:00
Andy Wilkinson
4840ee9f63 Upgrade to Spring Batch 5.0.4
Closes gh-38492
2023-11-22 19:48:42 +00:00
Phillip Webb
9f031b04e5 Merge branch '3.1.x'
Closes gh-38507
2023-11-22 11:13:12 -08:00
Phillip Webb
bc504a8a03 Fix @ConditionalOnBean with annotation early FactoryBean initialization
Update `OnBeanCondition` with a variant of `getBeanNamesForAnnotation`
that does not cause early `FactoryBean` initialization.

Fixes gh-38473
2023-11-22 11:10:59 -08:00
Andy Wilkinson
152acf8a59 Merge branch '3.1.x' 2023-11-22 18:24:03 +00:00
Andy Wilkinson
e7aeeb87cf Upgrade to Spring Integration 6.1.5
Closes gh-38303
2023-11-22 18:23:57 +00:00
Andy Wilkinson
fc00c4006a Upgrade to Spring Integration 6.2.0
Closes gh-38315
2023-11-22 18:19:47 +00:00
Andy Wilkinson
4d33676c04 Upgrade to Spring Batch 5.1.0
Closes gh-38310
2023-11-22 18:19:46 +00:00
Brian Clozel
4b21c12e12 Merge branch '3.1.x' 2023-11-22 16:32:12 +01:00
Brian Clozel
f1dc740316 Merge branch '3.0.x' into 3.1.x 2023-11-22 16:31:52 +01:00
Brian Clozel
d09959d799 Merge branch '2.7.x' into 3.0.x 2023-11-22 16:30:42 +01:00
Brian Clozel
5490e73922 Improve Tags generation for methods names
This commit optimizes the `Tag` generation for method names by only
allocating new `Tag` instances for well-known method names. Others will
be marked as "UNKNOWN".
2023-11-22 16:29:41 +01:00
Andy Wilkinson
22d752ccf7 Merge branch '3.1.x' 2023-11-22 14:24:50 +00:00
Andy Wilkinson
7cb02b4387 Merge branch '3.0.x' into 3.1.x 2023-11-22 14:24:41 +00:00
Andy Wilkinson
1d7d6d1797 Merge branch '2.7.x' into 3.0.x 2023-11-22 14:24:29 +00:00
Andy Wilkinson
7ad6e4470c Upgrade to Spring Batch 4.3.10
Closes gh-38281
2023-11-22 14:23:48 +00:00
Andy Wilkinson
a40f3da028 Merge branch '3.1.x'
Closes gh-38499
2023-11-22 12:35:58 +00:00
Andy Wilkinson
ae5bae393b Remove unnecessary toLowerCase call from remainderIsDashes
Closes gh-38498
2023-11-22 12:35:36 +00:00
Andy Wilkinson
a7571cf667 Use different default database names for Oracle XE and Oracle Free
Closes gh-38476
2023-11-22 10:48:35 +00:00
Moritz Halbritter
2323c7a838 Merge branch '3.1.x'
Closes gh-38496
2023-11-22 11:15:33 +01:00
Moritz Halbritter
74239ad689 Merge branch '3.0.x' into 3.1.x
Closes gh-38495
2023-11-22 11:15:20 +01:00
Moritz Halbritter
48e06af7ec Merge branch '2.7.x' into 3.0.x
Closes gh-38494
2023-11-22 11:15:07 +01:00
Moritz Halbritter
a6346fba08 Merge pull request #38385 from PENEKhun
* pr/38385:
  Polish "Document comments in SQL for database initialization"
  Document comments in SQL for database initialization

Closes gh-38385
2023-11-22 11:14:55 +01:00
Moritz Halbritter
0171ed205c Polish "Document comments in SQL for database initialization"
See gh-38385
2023-11-22 11:14:13 +01:00
penekhun
578d0436e0 Document comments in SQL for database initialization
See gh-38385
2023-11-22 11:10:14 +01:00
Andy Wilkinson
9b6a614023 Merge branch '3.1.x' 2023-11-22 09:45:05 +00:00
Andy Wilkinson
a7bcb67cce Merge branch '3.0.x' into 3.1.x 2023-11-22 09:44:54 +00:00
Andy Wilkinson
3f12c36198 Prepare for the final OSS release of 3.0.x
Closes gh-38474
2023-11-22 09:43:47 +00:00
Andy Wilkinson
1fd534ae4c Merge branch '3.1.x' 2023-11-22 09:43:13 +00:00
Andy Wilkinson
a67825c320 Merge branch '3.0.x' into 3.1.x 2023-11-22 09:43:04 +00:00
Andy Wilkinson
9cdb17c9eb Merge branch '2.7.x' into 3.0.x 2023-11-22 09:42:54 +00:00
Andy Wilkinson
49c4f33919 Prepare for the final OSS release of 2.7.x
Closes gh-38472
2023-11-22 09:41:07 +00:00
Andy Wilkinson
470ae150e3 Merge branch '3.1.x' 2023-11-22 09:39:42 +00:00