Commit Graph

51880 Commits

Author SHA1 Message Date
Andy Wilkinson b5feadab13 Merge pull request #43314 from quaff
* gh-43314:
  Polish "Document StructuredLoggingJsonMembersCustomizer constructor params"
  Document StructuredLoggingJsonMembersCustomizer constructor params

Closes gh-43314
2024-11-28 13:39:51 +00:00
Andy Wilkinson 15109b2eb2 Polish "Document StructuredLoggingJsonMembersCustomizer constructor params"
See gh-43314
2024-11-28 13:39:30 +00:00
Yanming Zhou 34ac045073 Document StructuredLoggingJsonMembersCustomizer constructor params
See gh-43314
2024-11-28 13:38:05 +00:00
Andy Wilkinson d3c5a4bf8d Merge branch '3.3.x'
Closes gh-43315
2024-11-28 11:34:59 +00:00
Andy Wilkinson 5cff43ddff Link to EnableMethodSecurity instead of EnableGlobalMethodSecurity
Closes gh-43308
2024-11-28 11:33:37 +00:00
Andy Wilkinson a1c1e32947 Call spring.factories customizers in the same way as one from props
Previously, customizers loaded from spring.factories were called
using LambdaSafe. This resulted in customizers with a generic type
more specific than Object being ignored. A customizer loaded from
the logging.structured.json.customizer property was not affected as
it was called directly rather than through LambdaSafe.

This commit aligns the way in which customizers loaded from
spring.factories are called with the way in which any customizer
specified using the logging.structured.json.customizer property is
called.

Closes gh-43312
2024-11-28 11:08:32 +00:00
Stéphane Nicoll f9aedf5a43 Merge branch '3.3.x'
Closes gh-43311
2024-11-28 09:31:02 +01:00
Stéphane Nicoll fcfbe50dc1 Merge pull request #43305 from ngocnhan-tran1996
* pr/43305:
  Fix Javadoc link for Hikari

Closes gh-43305
2024-11-28 09:30:56 +01:00
Tran Ngoc Nhan 57a5fa0555 Fix Javadoc link for Hikari
See gh-43305
2024-11-28 09:26:40 +01:00
Andy Wilkinson 74d69d0eb1 Merge branch '3.3.x'
Closes gh-43307
2024-11-27 20:14:23 +00:00
Andy Wilkinson 7bc709c32f Fix subName from adapted name with value processor
Previously, when a configuration property name was created by
adapting a source with a value processor, creating sub names from
that property name did not work correctly. This broke binding of
prefixed environment variables to a map as the ancestor checking
did not work.

Fixes gh-43304
2024-11-27 19:34:35 +00:00
Stéphane Nicoll de268324e0 Merge branch '3.3.x'
Closes gh-43299
2024-11-27 08:25:00 +01:00
Stéphane Nicoll b22cc2e505 Merge pull request #43271 from ngocnhan-tran1996
* pr/43271:
  Fix syntax in reference guide

Closes gh-43271
2024-11-27 08:24:53 +01:00
Tran Ngoc Nhan 16838a9b58 Fix syntax in reference guide
See gh-43271
2024-11-27 08:24:16 +01:00
Stéphane Nicoll d8c41c2583 Defensively unwrap CacheConnectionFactory
This commit refines the optimization introduced in gh-39816 to only
unwrap our own caching connection factory. The more advanced unwrap
algorithm is still available, but opt-in only.

Unwrapping more aggressively may break use cases where the wrapped
ConnectionFactory is required, i.e. for transactional purposes.

Closes gh-43277
2024-11-26 19:56:32 +01:00
Andy Wilkinson 6029b01d3d Merge branch '3.3.x'
Closes gh-43292
2024-11-26 14:47:47 +00:00
Andy Wilkinson f061bb8a1d Merge pull request #43285 from dependabot[bot]
* gh-43285:
  Bump spring-io/artifactory-deploy-action from 0.0.1 to 0.0.2

Closes gh-43285
2024-11-26 14:46:29 +00:00
dependabot[bot] 1c64a40b92 Bump spring-io/artifactory-deploy-action from 0.0.1 to 0.0.2
Bumps [spring-io/artifactory-deploy-action](https://github.com/spring-io/artifactory-deploy-action) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/spring-io/artifactory-deploy-action/releases)
- [Commits](26bbe925a7...dc1913008c)

---
updated-dependencies:
- dependency-name: spring-io/artifactory-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

See gh-43285
2024-11-26 14:46:02 +00:00
Andy Wilkinson 23d92aa32e Merge branch '3.3.x'
Closes gh-43291
2024-11-26 13:42:40 +00:00
Andy Wilkinson d924e4d999 Mark shaded application's jar as multi-release by default
Spring Framework now uses a multi-release jar for its virtual thread
support. If the shaded jar is not marked as being a multi-release jar
and virtual threads are enabled, the application will fail to start as
the Java 21+ virtual threads delegate will be unavailable.

This commit updates the starter parent's default configuration for the
Maven Shade plugin to set Multi-Release: true in the application's
manifest.

Closes gh-43284
2024-11-26 13:42:03 +00:00
Andy Wilkinson 32433e84f3 Merge branch '3.3.x'
Closes gh-43270
2024-11-22 15:46:38 +00:00
Andy Wilkinson bb3651b7d1 Reduce warnings reported by Eclipse
Closes gh-43269
2024-11-22 15:39:35 +00:00
Andy Wilkinson 3bff418df9 Merge branch '3.3.x'
Closes gh-43267
2024-11-22 11:59:19 +00:00
Andy Wilkinson cf1dadf2e7 Stop publishing CLI's Homebrew formula in commercial builds
Closes gh-43247
2024-11-22 11:58:50 +00:00
Andy Wilkinson 7a9f57fa10 Merge branch '3.3.x'
Closes gh-43266
2024-11-22 11:48:19 +00:00
Andy Wilkinson c36d307f6a Correct snapshot repository name for publishing commercial builds
Closes gh-43250
2024-11-22 11:47:42 +00:00
Andy Wilkinson 045d25bb39 Merge branch '3.3.x' 2024-11-22 11:45:34 +00:00
Andy Wilkinson 69100b7dd7 Set 3.3.x CLI release to no longer be the default on SDKMAN
Closes gh-43246
2024-11-22 11:44:32 +00:00
Andy Wilkinson 1f5bd9179e Merge branch '3.3.x'
Closes gh-43265
2024-11-22 11:43:42 +00:00
Andy Wilkinson 46f59c7ad0 Upgrade to release verification tests 0.0.7
Closes gh-43251
2024-11-22 11:43:19 +00:00
Andy Wilkinson 43b45d6580 Merge branch '3.3.x'
Closes gh-43264
2024-11-22 11:39:07 +00:00
Andy Wilkinson 31cca9b5ad Upgrade Java version in .sdkmanrc to 17.0.13
Closes gh-43262
2024-11-22 11:38:39 +00:00
Andy Wilkinson e56417052c Merge branch '3.3.x'
Closes gh-43263
2024-11-22 11:30:19 +00:00
Andy Wilkinson 333762fd0e Upgrade to Gradle 8.11.1
Closes gh-43261
2024-11-22 11:29:28 +00:00
Stéphane Nicoll be3a0ad5c5 Merge pull request #43249 from izeye
* pr/43249:
  Update Javadoc since for OtlpMetricsProperties and OtlpTracingProperties

Closes gh-43249
2024-11-22 08:25:21 +01:00
Johnny Lim fa0a4849fa Update Javadoc since for OtlpMetricsProperties and OtlpTracingProperties
See gh-43249
2024-11-22 08:24:59 +01:00
Andy Wilkinson 364f014e9a Next development version (v3.4.1-SNAPSHOT) 2024-11-21 17:58:57 +00:00
Andy Wilkinson 109e731c83 Revert "Add `@ConditionalOnMissingBean` for `JobRepository`"
This reverts commit 73fc351d71.

See gh-43236
2024-11-21 13:31:20 +00:00
Moritz Halbritter d21952d6a9 Merge branch '3.3.x' 2024-11-21 13:39:15 +01:00
Moritz Halbritter 415193827b Next development version (v3.3.7-SNAPSHOT) 2024-11-21 13:38:45 +01:00
Stéphane Nicoll 14989a5fb7 Upgrade to Testcontainers 1.20.4
Closes gh-43243
2024-11-21 09:32:54 +01:00
Stéphane Nicoll c188822db3 Upgrade to Spring Security 6.4.1
Closes gh-43232
2024-11-21 09:32:50 +01:00
Stéphane Nicoll e286739cee Upgrade to Spring Batch 5.2.0
Closes gh-43018
2024-11-21 09:32:50 +01:00
Phillip Webb 73fc351d71 Add `@ConditionalOnMissingBean` for `JobRepository`
Update `BatchAutoConfiguration` so that the `JobRepository` is not
defined when the user provides an appropriate bean.

Fixes gh-43236
2024-11-20 21:57:52 -08:00
Phillip Webb 3cae5c27d1 Merge branch '3.3.x' 2024-11-20 20:58:02 -08:00
Phillip Webb 283bc6faf0 Merge branch '3.2.x' into 3.3.x 2024-11-20 20:57:35 -08:00
Phillip Webb 5c938fc8bc Update copyright year of changed files 2024-11-20 20:57:27 -08:00
Phillip Webb 933b7d30bb Merge pull request #43235 from izeye
* pr/43235:
  Polish 'Replace TestObservationRegistryAssert.assertThat()''
  Replace TestObservationRegistryAssert.assertThat()

Closes gh-43235
2024-11-20 20:56:55 -08:00
Phillip Webb c9a84549c8 Polish 'Replace TestObservationRegistryAssert.assertThat()''
See gh-43235
2024-11-20 20:56:39 -08:00
Johnny Lim 4b5b76d7b1 Replace TestObservationRegistryAssert.assertThat()
See gh-43235
2024-11-20 20:56:03 -08:00