Commit Graph
338 Commits
Author SHA1 Message Date
Stéphane Nicoll ddb2b8e0eb Merge branch '4.0.x' 2026-05-26 09:29:18 +02:00
Stéphane Nicoll e3bb5cf669 Polish 2026-05-26 09:28:04 +02:00
Stéphane Nicoll 33580421e1 Merge branch '4.0.x'
Closes gh-50499
2026-05-25 17:17:10 +02:00
Stéphane Nicoll 86fed81403 Merge branch '3.5.x' into 4.0.x
Closes gh-50498
2026-05-25 17:16:59 +02:00
Stéphane Nicoll a243d230b3 Merge branch '4.0.x'
Closes gh-50497
2026-05-25 17:09:28 +02:00
Stéphane Nicoll 8e337c5ddc Merge branch '3.5.x' into 4.0.x
Closes gh-50496
2026-05-25 17:09:13 +02:00
Andy Wilkinson 6a74bb85a3 Merge branch '4.0.x'
Closes gh-50440
2026-05-14 15:03:44 +01:00
Andy Wilkinson add52b6ccd Merge branch '3.5.x' into 4.0.x
Closes gh-50439
2026-05-14 15:02:24 +01:00
Phillip Webb 21a3eec136 Merge branch '4.0.x'
Closes gh-50425
2026-05-13 07:47:34 -07:00
Phillip Webb 3213393bf9 Merge branch '3.5.x' into 4.0.x
Closes gh-50424
2026-05-13 07:47:07 -07:00
Phillip Webb 812c80c88d Merge branch '4.0.x'
Closes gh-50414
2026-05-12 13:08:05 -07:00
Phillip Webb 4f846b1645 Merge branch '3.5.x' into 4.0.x
Closes gh-50413
2026-05-12 13:07:55 -07:00
Phillip Webb 4a668f9a46 Merge branch '4.0.x'
Closes gh-50408
2026-05-12 11:34:02 -07:00
Phillip Webb 86c600eb90 Merge branch '3.5.x' into 4.0.x
Closes gh-50407
2026-05-12 11:33:34 -07:00
Yanming Zhou 949d5e0f3f Polish AppendableByteArray
See gh-50369

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-05-12 09:12:53 -07:00
Phillip Webb bcf4c32426 Call setAllowBeanDefinitionOverriding before initializer
Update initialization order in `SpringApplication` to ensure
`setAllowBeanDefinitionOverriding` is called before initializiers.

This prevents an initializer from accidentially overriding a bean.

Closes gh-50264
2026-05-04 15:47:22 -07:00
Andy Wilkinson 1a64cac622 Merge branch '4.0.x'
Closes gh-50270
2026-05-01 09:34:24 +01:00
Andy Wilkinson 065c463cef Improve nullability of TestPropertyValues
Closes gh-50269
2026-05-01 08:39:18 +01:00
Phillip Webb 2fffebe214 Reduce garbage of repeated WritableJson.toByteArray() calls
Update the default implementation of `WritableJson.toByteArray()`
to reduce the amount of garbage created from repeated calls.

Prior to this commit, each call would create a new
`ByteArrayOutputStream` and `OutputStreamWriter` to create the
byte array. Writing structured JSON results in many calls to
the `toByteArray()` method, which means we repeatedly create
and destroy the `ByteArrayOutputStream` and `OutputStreamWriter`
objects. Furthermore, both contain buffers that are often
expanded and will overlap with each other.

The updated implementation uses a custom `Appendable`
implementation that uses a single `ByteBuffer` buffer. It also
has a `ThreadLocal` cache so that repeated calls from the same
thread can reuse the buffer. The cache uses a `SoftReference`
to ensure that the JVM can reclaim space if needed (for example,
if a large JSON line was written).

Closes gh-49428
2026-04-30 12:04:39 -07:00
Stéphane Nicoll 0e2f7e2b1a Merge branch '4.0.x'
Closes gh-50234
2026-04-28 13:54:58 +02:00
Stéphane Nicoll 813913ccb8 Merge branch '3.5.x' into 4.0.x
Closes gh-50233
2026-04-28 13:54:49 +02:00
Andy Wilkinson 72cad8c97d Merge branch '4.0.x'
Closes gh-50214
2026-04-25 07:49:27 +01:00
Andy Wilkinson afc61f922c Merge branch '3.5.x' into 4.0.x
Closes gh-50213
2026-04-25 07:47:49 +01:00
Phillip Webb eac712596d Add public constructor that accepts a cause
Add a public constructor to `InvalidConfigurationPropertyValueException`
that accepts a cause.

Closes gh-50211
2026-04-24 20:10:47 -07:00
Andy Wilkinson 14c4f779c5 Merge branch '4.0.x' 2026-04-23 11:34:47 +01:00
Andy Wilkinson 98daa8ea30 Merge branch '3.5.x' into 4.0.x 2026-04-23 11:33:21 +01:00
Andy Wilkinson ca03d6d1f3 Merge branch '4.0.x'
Closes gh-50186
2026-04-23 08:55:14 +01:00
Andy Wilkinson ef8527bb0e Merge branch '3.5.x' into 4.0.x
Closes gh-50185
2026-04-23 08:55:02 +01:00
Andy Wilkinson 653f5a1c17 Merge branch '4.0.x'
Closes gh-50184
2026-04-23 08:52:28 +01:00
Andy Wilkinson 4a7bd332b6 Merge branch '3.5.x' into 4.0.x
Closes gh-50183
2026-04-23 08:52:16 +01:00
Andy Wilkinson 9a15575243 Merge branch '4.0.x'
Closes gh-50179
2026-04-23 08:48:26 +01:00
Andy Wilkinson 8e013b6f90 Merge branch '3.5.x' into 4.0.x
Closes gh-50178
2026-04-23 08:48:16 +01:00
Moritz Halbritter 02df21cc07 Polish "Add support for docker.elastic.co/elasticsearch/elasticsearch"
See gh-50119
2026-04-20 09:03:40 +02:00
itsmevichu 1b712e0434 Add support for docker.elastic.co/elasticsearch/elasticsearch
See gh-50119

Signed-off-by: itsmevichu <vishnutheep@gmail.com>
2026-04-20 08:51:50 +02:00
Phillip Webb d088519814 Merge branch '4.0.x'
Closes gh-50065
2026-04-13 15:52:31 -07:00
Phillip Webb 3cf39544c3 Merge branch '3.5.x' into 4.0.x
Closes gh-50064
2026-04-13 15:41:08 -07:00
Phillip Webb 481b972fad Merge branch '3.5.x' into 4.0.x
Closes gh-50064
2026-04-13 15:26:23 -07:00
Stéphane Nicoll 3087d96686 Merge branch '4.0.x'
Closes gh-50042
2026-04-13 09:17:36 +02:00
Stéphane Nicoll 2e7adbdef4 Merge branch '3.5.x' into 4.0.x
Closes gh-50041
2026-04-13 09:17:22 +02:00
Andy Wilkinson 767444c48e Merge branch '4.0.x'
Closes gh-50013
2026-04-10 09:56:53 +01:00
Andy Wilkinson 9fdb2db07c Merge branch '3.5.x' into 4.0.x
Closes gh-50012
2026-04-10 09:56:33 +01:00
Phillip Webb 3753b9d466 Fix additional test Timezone issue
Fix test that fails in certain timezones.

See gh-8923
2026-04-07 21:19:03 -07:00
Stéphane Nicoll 1519bcf1e2 Polish "Add support for additional Homebrew home on macOS"
See gh-49721
2026-04-03 16:19:47 +02:00
1233day 2d4c235522 Add support for additional Homebrew home on macOS
Add /opt/homebrew/bin as an additional macOS fallback location when
starting external processes.

The previous fallback assumed /usr/local/bin only, which can fail on
Apple Silicon Homebrew setups in restricted PATH environments (for
example, IDE or UI-launched processes).

Update CredentialHelperTests to verify both macOS fallback paths are
attempted.

See gh-49721

Signed-off-by: 1233day <1233day@naver.com>
2026-04-03 13:32:45 +02:00
Stéphane Nicoll 11d1498509 Polish "Enable ansi support if Windows 11 or later is detected"
See gh-49571
2026-04-03 08:54:33 +02:00
Philemon Hilscher 13c795a102 Enable ansi support if Windows 11 or later is detected
See gh-49571

Signed-off-by: Philemon Hilscher <philemon847@gmail.com>
2026-04-03 08:46:31 +02:00
Moritz Halbritter a04b65ea74 Set embeddedValueResolver on WebConversionService
Closes gh-8923
2026-04-02 08:57:22 +02:00
Stéphane Nicoll 3b471d5193 Merge branch '4.0.x' 2026-03-30 11:24:28 +02:00
Stéphane Nicoll e4c4283dce Polish
See gh-49837
2026-03-30 11:24:19 +02:00
Stéphane Nicoll 67bb931f22 Merge branch '4.0.x'
Closes gh-49819
2026-03-27 11:45:05 +01:00