Commit Graph

27538 Commits

Author SHA1 Message Date
Andy Wilkinson a5c2f0fc74 Improve diagnostics when config prop value conversion fails
Closes gh-43378

Co-Authored-By: Phillip Webb <phil.webb@broadcom.com>
2024-12-18 15:36:16 +00:00
Moritz Halbritter 208d043450 Merge branch '3.3.x'
Closes gh-43558
2024-12-18 09:55:58 +01:00
Yanming Zhou 6366511b59 Fix typo
See gh-43557
2024-12-18 09:53:53 +01:00
Stéphane Nicoll 63202f818e Upgrade to Spring Session 3.4.1
Closes gh-43420
2024-12-18 08:30:02 +01:00
Stéphane Nicoll 9a403d92d7 Upgrade to Spring Integration 6.4.1
Closes gh-43415
2024-12-18 08:30:02 +01:00
Phillip Webb b447bdf070 Merge branch '3.3.x'
Closes gh-43555
2024-12-17 20:40:46 -08:00
Phillip Webb 38d96aabef Drop {*-javadoc} attribute prefixes when possible
Update javadoc references to use package name lookups rather than
`{*-javadoc}` attributes. MongoDB and Testcontainers cannot be
migrated since they have split packages.

Closes gh-43223
2024-12-17 20:38:30 -08:00
Phillip Webb f5cf95d0cf Merge branch '3.3.x'
Closes gh-43552
2024-12-17 17:35:08 -08:00
Phillip Webb 229137d2cd Document certain server.ssl.properties are ignored when using a bundle
Closes gh-43353
2024-12-17 17:34:20 -08:00
Stéphane Nicoll cbb8d124c0 Upgrade to Spring Session 3.3.5
Closes gh-43397
2024-12-17 21:15:15 +01:00
Stéphane Nicoll a967a2fec0 Upgrade to Spring Pulsar 1.1.7
Closes gh-43396
2024-12-17 21:15:15 +01:00
Stéphane Nicoll 7b9701a477 Upgrade to Spring Integration 6.3.7
Closes gh-43476
2024-12-17 21:15:15 +01:00
Stéphane Nicoll db93202534 Upgrade to Spring Authorization Server 1.3.4
Closes gh-43391
2024-12-17 21:15:15 +01:00
Stéphane Nicoll 320f02a2c2 Upgrade to Netty 4.1.116.Final
Closes gh-43549
2024-12-17 21:15:14 +01:00
Stéphane Nicoll 6ffef13ead Upgrade to Spring Pulsar 1.2.1
Closes gh-43418
2024-12-17 21:15:05 +01:00
Stéphane Nicoll b1cb3b155e Upgrade to Spring Authorization Server 1.4.1
Closes gh-43412
2024-12-17 21:15:04 +01:00
Stéphane Nicoll f6875704c4 Upgrade to Netty 4.1.116.Final
Closes gh-43548
2024-12-17 21:15:04 +01:00
Phillip Webb 724dea634d Merge branch '3.3.x' 2024-12-17 09:50:58 -08:00
Phillip Webb 495665aec0 Use reverse order for shutdown hooks
Refine `SpringApplicationShutdownHook` so that shutdown happens in
reverse order to registration.

See gh-43430
2024-12-17 09:49:57 -08:00
Andy Wilkinson f5a4bf0302 Merge branch '3.3.x'
Closes gh-43544
2024-12-17 10:45:31 +00:00
Andy Wilkinson 4763123932 Recommend using Maven's <annotationProcessorPaths>
Closes gh-43329
2024-12-17 10:45:16 +00:00
Andy Wilkinson a84e65f29d Upgrade to Dependency Management Plugin 1.1.7
Closes gh-43543
2024-12-17 10:42:27 +00:00
Andy Wilkinson 13c9f68b45 Upgrade to Dependency Management Plugin 1.1.7
Closes gh-43542
2024-12-17 10:40:17 +00:00
Stéphane Nicoll f7f9d6389c Upgrade to Spring Kafka 3.3.1
Closes gh-43416
2024-12-17 08:33:42 +01:00
Stéphane Nicoll 1ba5c5c85d Upgrade to Pulsar Reactive 0.5.10
Closes gh-43539
2024-12-17 08:33:42 +01:00
Stéphane Nicoll 17901065ca Upgrade to Pulsar Reactive 0.5.10
Closes gh-43539
2024-12-17 08:33:36 +01:00
Phillip Webb a824b23cd7 Merge branch '3.3.x'
Closes gh-43536
2024-12-16 17:16:47 -08:00
Phillip Webb 21203f06ec Use deterministic ordering for inserted shutdown hooks
Update `SpringApplicationShutdownHook` so the underlying set of
`Runnable` instances are stored in a `LinkedHashSet` rather than
a `Collections.newSetFromMap(new IdentityHashMap<>())`. This insures
that shutdown hooks are run in the order that they are added.

Fixes gh-43430
2024-12-16 17:16:21 -08:00
Chris Bono 02f748bd2d Update version of Pulsar test container image
This commit updates the version of the Pulsar container from 3.2.4 to
3.3.3 (the recommended version in the Spring Boot 3.4.x line).

See gh-43534
2024-12-16 16:09:55 -08:00
Andy Wilkinson a25065e383 Upgrade to Spring Security 6.4.2
Closes gh-43419
2024-12-16 19:19:58 +00:00
Andy Wilkinson cadeb6d88f Upgrade to Spring AMQP 3.2.1
Closes gh-43411
2024-12-16 19:19:58 +00:00
Andy Wilkinson 65deba8dbb Upgrade to Byte Buddy 1.15.11
Closes gh-43529
2024-12-16 19:19:57 +00:00
Andy Wilkinson e6e1274bf7 Upgrade to Spring Security 6.3.6
Closes gh-43527
2024-12-16 19:18:54 +00:00
Andy Wilkinson 843a4d5658 Upgrade to Spring Kafka 3.2.6
Closes gh-43394
2024-12-16 19:18:54 +00:00
Phillip Webb 54b96c86ce Merge branch '3.3.x'
Closes gh-43526
2024-12-16 10:44:33 -08:00
Phillip Webb 239fa0356f Remove trailing slashes from all link URLs
Closes gh-43518
2024-12-16 10:44:20 -08:00
Stéphane Nicoll cc877987a4 Merge branch '3.3.x'
Closes gh-43519
2024-12-16 10:42:55 +01:00
Tran Ngoc Nhan 7832d3be73 Fix typo
See gh-43512
2024-12-16 10:42:22 +01:00
Stéphane Nicoll bb6c50b75a Merge branch '3.3.x'
Closes gh-43513
2024-12-14 17:24:18 +01:00
Stéphane Nicoll 0ac3f8dd1f Switch spring-retry javadoc links back to docs.spring.io
Closes gh-43231
2024-12-14 17:20:13 +01:00
Stéphane Nicoll 312c2d3e3c Upgrade to Spring Retry 2.0.11
Closes gh-43486
2024-12-14 11:17:54 +01:00
Stéphane Nicoll 6cec79df63 Upgrade to Hibernate Validator 8.0.2.Final
Closes gh-43510
2024-12-14 11:17:53 +01:00
Stéphane Nicoll 11cb329070 Upgrade to Spring Retry 2.0.11
Closes gh-43485
2024-12-14 11:17:37 +01:00
Stéphane Nicoll 0c090b728a Upgrade to Hibernate Validator 8.0.2.Final
Closes gh-43509
2024-12-14 11:17:37 +01:00
Phillip Webb 4d6fc85c8e Merge branch '3.3.x' 2024-12-13 19:03:48 -08:00
Phillip Webb 45da43c6b4 Update copyright year of changed files 2024-12-13 19:03:43 -08:00
Phillip Webb 940ff952fa Merge branch '3.3.x'
Closes gh-43507
2024-12-13 19:02:58 -08:00
Phillip Webb 6d09459cfc Improve error message when unable to find `@SpringBootConfiguration`
Closes gh-43357
2024-12-13 19:02:43 -08:00
Johnny Lim 4d15ee5bf0 Polish
See gh-43498
2024-12-13 13:29:20 -08:00
Stéphane Nicoll dd1e09ea16 Upgrade to Spring LDAP 3.2.10
Closes gh-43417
2024-12-13 16:43:24 +01:00
Stéphane Nicoll 236fa617e6 Upgrade to Spring Data Bom 2024.1.1
Closes gh-43413
2024-12-13 16:43:24 +01:00
Stéphane Nicoll 42aff42d71 Upgrade to Prometheus Client 1.3.5
Closes gh-43503
2024-12-13 16:43:24 +01:00
Stéphane Nicoll 4d32fb09ee Upgrade to Spring LDAP 3.2.10
Closes gh-43395
2024-12-13 16:43:22 +01:00
Stéphane Nicoll 487d8d5822 Upgrade to Spring Data Bom 2024.0.7
Closes gh-43392
2024-12-13 16:43:22 +01:00
Stéphane Nicoll b283e1d915 Upgrade to Kafka 3.7.2
Closes gh-43502
2024-12-13 16:43:21 +01:00
Stéphane Nicoll 3792a8ab2b Upgrade to Log4j2 2.24.3
Closes gh-43501
2024-12-13 16:43:18 +01:00
Stéphane Nicoll 4a520714e5 Upgrade to Couchbase Client 3.7.6
Closes gh-43500
2024-12-13 16:43:13 +01:00
Moritz Halbritter 8c20e6c1e9 Merge branch '3.3.x'
Closes gh-43497
2024-12-13 14:17:47 +01:00
Dmytro Nosan 1234409fbe Multiple WebFlux ResourceHandlerRegistrationCustomizer should be invoked
Before this commit, only a single ResourceHandlerRegistrationCustomizer
was invoked. This commit adds functionality to have more
than one ResourceHandlerRegistrationCustomizers

See gh-43494
2024-12-13 14:00:47 +01:00
Phillip Webb ccc1b5da28 Don't call `Startable.start()` for already started containers
Add a new `TestcontainersStartup.start` static method and update the
existing start methods so that `Startable.start()` is only called when
the container is not already running.

Prior to this commit, we assumed that `Startable.start()` calls were
idempotent and could be safely made multiple times. Whilst this appears
to be true for stock `GenericContainer` based startables, users may have
their own `start()` method that does not expect to be called multiple
times.

The implemented detection logic will not be applied if a `Startable`
is not also a `Container`. In these cases, the implementation will need
to deal directly with multiple `start()` calls.

Fixed gh-43253
2024-12-12 15:26:59 -08:00
Andy Wilkinson 65a862c13c Merge branch '3.3.x' 2024-12-12 11:07:04 +00:00
Andy Wilkinson 8572d9e177 Restore previous Main-Class configuration
This partially reverts commit
d924e4d999.

See gh-43284
2024-12-12 11:05:58 +00:00
Stéphane Nicoll 20fc18458e Upgrade to Spring HATEOAS 2.4.1
Closes gh-43478
2024-12-12 11:34:21 +01:00
Stéphane Nicoll de18f0ed43 Upgrade to Jetty 12.0.16
Closes gh-43488
2024-12-12 11:34:20 +01:00
Stéphane Nicoll 92e241798e Upgrade to Spring HATEOAS 2.3.4
Closes gh-43475
2024-12-12 11:29:43 +01:00
Stéphane Nicoll 64015df798 Upgrade to Jetty 12.0.16
Closes gh-43487
2024-12-12 11:29:42 +01:00
Andy Wilkinson dc00342384 Improve handling of environment variables in failure analysis
Prior to this change, the failure analysis for an invalid
configuration property value filtered out the configuration property
sources property source. This property source contains a "duplicate"
of all of the environment's other property sources but with
configuration property support (such as relaxed/fuzzy matching of
environment variables). This was done to prevent the reporting of
duplicates when a property was found in both the configuration
property sources property source and the "normal" property sources.
An unwanted side-effect of this was that fuzzy matching of
environment variables was lost so the origin of
com.example.some-property would be found in the environment variable
was COM_EXAMPLE_SOME_PROPERTY but would not be found if it was
COM_EXAMPLE_SOMEPROPERTY.

This commit addresses this side-effect by no longer filtering out
the configuration property sources property source. To then
prevent duplicates from being reported in the analysis, it instead
deduplicates things based on the origin of each property that's
found in the environment's property sources.

Fixes gh-43380
2024-12-12 09:06:15 +00:00
Phillip Webb 15f5811f3d Merge pull request #43441 from minwoo1999
* pr/43441:
  Polish 'Add test for nullSafeValue with mapper transformation'
  Add test for nullSafeValue with mapper transformation

Closes gh-43441
2024-12-11 15:14:25 -08:00
Phillip Webb d5d7152e5d Polish 'Add test for nullSafeValue with mapper transformation'
See gh-43441
2024-12-11 15:14:14 -08:00
KIM MIN WOO 22f527af6a Add test for nullSafeValue with mapper transformation
See gh-43441
2024-12-11 15:13:31 -08:00
Stéphane Nicoll e3b0fcf9b6 Start building against Spring Retry 2.0.11 snapshots
See gh-43486
2024-12-11 16:16:21 +01:00
Stéphane Nicoll 42821f30bb Start building against Spring Retry 2.0.11 snapshots
See gh-43485
2024-12-11 16:16:18 +01:00
Moritz Halbritter 61bab92231 Merge branch '3.3.x'
Closes gh-43484
2024-12-11 14:25:44 +01:00
Yanming Zhou a964bbd8cb Polish variable name for consistency
See gh-43483
2024-12-11 14:25:19 +01:00
Phillip Webb e72546d2a6 Add customizer variant of `requestFactorySettings`
Add `requestFactorySettings` that accepts a `UnaryOperator` so that
the existing `requestFactorySettings` can be customized rather than
replaced.

Closes gh-43258
2024-12-10 14:54:33 -08:00
Phillip Webb 123502b8d7 Restore use of fixed version when calling docker APIs
Update `DockerApi` so that calls are made using a fixed version. For
most calls this will be `v1.24`, however, for calls with a platform
we must use the `v1.41`.

When possible, we check that the Docker version in use meets the
required minimum, however, if we can't detect the running version
we now proceed and let the actual API call fail. This is due to the
fact that the `/_ping` endpoint may not always be available. For
example, it is restricted when building from a BitBucket CI pipeline.

Fixes gh-43452
2024-12-10 13:14:20 -08:00
Phillip Webb 48d51bda1d Start building against Spring HATEOAS 2.4.1 snapshots
See gh-43478
2024-12-10 09:42:18 -08:00
Phillip Webb d815009aca Start building against Spring Batch 5.2.1 snapshots
See gh-43477
2024-12-10 09:42:14 -08:00
Phillip Webb 6344c4767f Start building against Spring Session 3.3.5 snapshots
See gh-43397
2024-12-10 09:38:21 -08:00
Phillip Webb 8ab03e0495 Start building against Spring Integration 6.3.7 snapshots
See gh-43476
2024-12-10 09:38:21 -08:00
Phillip Webb 60217e0894 Start building against Spring HATEOAS 2.3.4 snapshots
See gh-43475
2024-12-10 09:38:16 -08:00
Phillip Webb 8dfde8625c Start building against Spring Batch 5.1.3 snapshots
See gh-43474
2024-12-10 09:38:12 -08:00
Stéphane Nicoll f65336ca56 Fix compilation failure on merge 2024-12-10 16:28:34 +01:00
Stéphane Nicoll f17ba516fa Upgrade to Thymeleaf Extras SpringSecurity 3.1.3.RELEASE
Closes gh-43470
2024-12-10 15:45:51 +01:00
Stéphane Nicoll 922ff4f252 Upgrade to Thymeleaf 3.1.3.RELEASE
Closes gh-43469
2024-12-10 15:45:51 +01:00
Stéphane Nicoll 7e94839c7c Upgrade to Reactor Bom 2024.0.1
Closes gh-43410
2024-12-10 15:45:51 +01:00
Stéphane Nicoll 1a9fc9b06c Upgrade to Micrometer Tracing 1.4.1
Closes gh-43409
2024-12-10 15:45:50 +01:00
Stéphane Nicoll 4fa33183ba Upgrade to Micrometer 1.14.2
Closes gh-43408
2024-12-10 15:45:50 +01:00
Stéphane Nicoll bd53ba3846 Upgrade to jOOQ 3.19.16
Closes gh-43468
2024-12-10 15:45:50 +01:00
Stéphane Nicoll a59937b8b8 Upgrade to Zipkin Reporter 3.4.3
Closes gh-43467
2024-12-10 15:45:50 +01:00
Stéphane Nicoll df94a86924 Upgrade to Thymeleaf Extras SpringSecurity 3.1.3.RELEASE
Closes gh-43465
2024-12-10 15:45:43 +01:00
Stéphane Nicoll 65cedf6bc5 Upgrade to Thymeleaf 3.1.3.RELEASE
Closes gh-43464
2024-12-10 15:45:43 +01:00
Stéphane Nicoll 6a68faaf9c Upgrade to Reactor Bom 2023.0.13
Closes gh-43390
2024-12-10 15:45:43 +01:00
Stéphane Nicoll 8a473a4098 Upgrade to Micrometer Tracing 1.3.7
Closes gh-43389
2024-12-10 15:45:43 +01:00
Stéphane Nicoll dcf8b31eda Upgrade to Micrometer 1.13.9
Closes gh-43388
2024-12-10 15:45:42 +01:00
Stéphane Nicoll 7486c27cdd Upgrade to jOOQ 3.19.16
Closes gh-43463
2024-12-10 15:45:42 +01:00
Stéphane Nicoll bed68daa13 Upgrade to Zipkin Reporter 3.4.3
Closes gh-43462
2024-12-10 15:45:42 +01:00
Moritz Halbritter ce9878a7d0 Merge branch '3.3.x'
Closes gh-43472
2024-12-10 15:43:46 +01:00
Moritz Halbritter e2cf9e105c Respect profiles when listing running Docker Compose containers
Closes gh-40139
2024-12-10 14:24:44 +01:00
Stéphane Nicoll f1a3e056bb Merge branch '3.3.x'
Closes gh-43456
2024-12-10 07:36:27 +01:00
Tran Ngoc Nhan a96b91fa3e Fix logback javadoc
See gh-43439
2024-12-10 07:35:58 +01:00
Stéphane Nicoll 9020d30206 Merge branch '3.3.x'
Closes gh-43454
2024-12-10 07:30:17 +01:00
Soby Chacko 55ffed4ee4 Add dependency management for kafka-server
Apache Kafka now ships a new module, kafka-server, since the 3.7.0
release. The `3.9.0` kafka-client introduced some breaking changes that
require this dependecy for the `EmbeddedKafka` support in Spring for
Apache Kafka.

This commit adds this dependecny for Spring Boot based Spring Kafka
projects.

See gh-43450
2024-12-10 07:28:41 +01:00
Phillip Webb 565ec07046 Merge branch '3.3.x'
Closes gh-43448
2024-12-09 09:46:47 -08:00
Phillip Webb 3338c22372 Restore `build...` methods that don't need an SSL bundle
Restore `buildConsumerProperties()` and `buildProducerProperties()`
methods in `KafkaProperties` to make it more convenient to use them
without an SSL bundle.

Fixes gh-43300
2024-12-09 09:43:13 -08:00
Dmytro Nosan 26ab0fea81 Don't replace existing defaultRequestConfigCustomizer
Update `HttpComponentsClientHttpRequestFactoryBuilder` to add to the
existing `defaultRequestConfigCustomizer` rather than replace it.

See gh-43429
2024-12-06 19:11:37 -08:00
Phillip Webb e394cadc48 Merge branch '3.3.x'
Closes gh-43436
2024-12-06 19:01:30 -08:00
Phillip Webb f21402d4c3 Consistently return non-zero exit codes for jarmode failures
Update jar mode launchers to catch all exceptions and return a non-zero
exit code. This refinement also allows us to consolidate the existing
error reporting logic to a central locations. Modes that wish to report
a simple error rather than a full stacktrace can throw the newly
introduced `JarModeErrorException`.

Fixes gh-43435
2024-12-06 19:00:50 -08:00
Phillip Webb 86b0c768e7 Fix annotation matching when using scoped proxies
Update `OnBeanCondition` to check `isAutowireCandidate` on the original
bean of scoped proxy targets.

Fixes gh-43423
2024-12-05 18:05:23 -08:00
Phillip Webb 8ca8ab14f6 Add `withRequestFactorySettings` method and restore previous defaults
Update `TestRestTemplate` with a `withRequestFactorySettings` method
that can be used to change defaults such as `Redirects`.

This commit also restores the previous redirect defaults for HTTP
components where redirects would only be followed when the
`HttpClientOption.ENABLE_REDIRECTS` was specified.

Closes gh-43258
2024-12-05 18:01:09 -08:00
Moritz Halbritter 4dca6ee5d3 Polish "Only set imagePlatform if it has text"
See gh-43424
2024-12-05 11:03:14 +01:00
Leonid Bogdanov fe1f9b3002 Only set imagePlatform if it has text
See gh-43424
2024-12-05 10:59:17 +01:00
Moritz Halbritter 48bc3b6412 Merge branch '3.3.x'
Closes gh-43428
2024-12-05 10:54:02 +01:00
Tran Ngoc Nhan dbe7ecd168 Fix Junit javadoc links
See gh-43383
2024-12-05 10:37:06 +01:00
Moritz Halbritter 2ff6dea5ca Polish "Document how to use structured logging with custom log configuration"
See gh-43301
2024-12-05 10:34:07 +01:00
Yanming Zhou dd14158ad7 Document how to use structured logging with custom log configuration
See gh-43301
2024-12-05 10:13:02 +01:00
Phillip Webb 8b83afdb68 Polish 'Add `redirects(...)` method to `RestTemplateBuilder`'
Remove deprecations and new methods in `TestRestTemplate` in favor of
passing in a configured `RestTemplateBuilder`.

See gh-43258
2024-12-04 15:12:59 -08:00
Yanming Zhou f450b28a7c Add `redirects(...)` method to `RestTemplateBuilder`
Add `redirects(...)` method to `RestTemplateBuilder` to allow redirect
customization. This new method is required in 3.4 since the default
redirect strategy for some clients has changed and users need a way
to restore the old behavior.

See gh-43258
2024-12-04 15:09:33 -08:00
Phillip Webb 916efb632c Merge branch '3.3.x' 2024-12-04 15:04:22 -08:00
Phillip Webb 9e7972a9b4 Polish code with code cleanup rules 2024-12-04 15:03:40 -08:00
Phillip Webb c1f0dacd3f Start building against Spring Session 3.4.1 snapshots
See gh-43420
2024-12-04 11:48:59 -08:00
Phillip Webb c7882d1396 Start building against Spring Security 6.4.2 snapshots
See gh-43419
2024-12-04 11:48:55 -08:00
Phillip Webb 7852284d59 Start building against Spring Pulsar 1.2.1 snapshots
See gh-43418
2024-12-04 11:48:51 -08:00
Phillip Webb bcf9e6c513 Start building against Spring LDAP 3.2.9 snapshots
See gh-43417
2024-12-04 11:48:47 -08:00
Phillip Webb 49df76a45d Start building against Spring Kafka 3.3.1 snapshots
See gh-43416
2024-12-04 11:48:43 -08:00
Phillip Webb 32532b1f4d Start building against Spring Integration 6.4.1 snapshots
See gh-43415
2024-12-04 11:48:39 -08:00
Phillip Webb e8e4629791 Start building against Spring Data Bom 2024.1.1 snapshots
See gh-43413
2024-12-04 11:48:31 -08:00
Phillip Webb 4f914ab951 Start building against Spring Authorization Server 1.4.1 snapshots
See gh-43412
2024-12-04 11:48:27 -08:00
Phillip Webb e91d0da022 Start building against Spring AMQP 3.2.1 snapshots
See gh-43411
2024-12-04 11:48:23 -08:00
Phillip Webb 41aa90f036 Start building against Reactor Bom 2024.0.1 snapshots
See gh-43410
2024-12-04 11:48:19 -08:00
Phillip Webb bece4f51bb Start building against Micrometer Tracing 1.4.1 snapshots
See gh-43409
2024-12-04 11:48:15 -08:00
Phillip Webb e42095813a Start building against Micrometer 1.14.2 snapshots
See gh-43408
2024-12-04 11:48:10 -08:00
Phillip Webb e431b119a5 Upgrade to SQLite JDBC 3.47.1.0
Closes gh-43407
2024-12-04 11:43:56 -08:00
Phillip Webb ecd73478ca Upgrade to RxJava3 3.1.10
Closes gh-43406
2024-12-04 11:43:52 -08:00
Phillip Webb 002539f6f6 Upgrade to Pulsar 3.3.3
Closes gh-43405
2024-12-04 11:43:48 -08:00
Phillip Webb 060f89e195 Upgrade to Prometheus Client 1.3.4
Closes gh-43404
2024-12-04 11:43:44 -08:00
Phillip Webb 3010d7a471 Upgrade to Log4j2 2.24.2
Closes gh-43402
2024-12-04 11:43:36 -08:00
Phillip Webb a538b8bef4 Upgrade to Hibernate 6.6.3.Final
Closes gh-43400
2024-12-04 11:43:27 -08:00
Phillip Webb 79653a9275 Upgrade to Elasticsearch Client 8.15.5
Closes gh-43399
2024-12-04 11:43:23 -08:00
Phillip Webb 7f8ccc66f7 Upgrade to CycloneDX Maven Plugin 2.9.1
Closes gh-43398
2024-12-04 11:43:19 -08:00
Phillip Webb 1edc997440 Start building against Spring Session 3.3.4 snapshots
See gh-43397
2024-12-04 11:41:13 -08:00
Phillip Webb 210c1465a2 Start building against Spring Pulsar 1.1.7 snapshots
See gh-43396
2024-12-04 11:41:13 -08:00
Phillip Webb f0fd24800a Start building against Spring LDAP 3.2.9 snapshots
See gh-43395
2024-12-04 11:41:13 -08:00
Phillip Webb 8761285557 Start building against Spring Kafka 3.2.6 snapshots
See gh-43394
2024-12-04 11:41:13 -08:00
Phillip Webb 6cd3ee5347 Start building against Spring Data Bom 2024.0.7 snapshots
See gh-43392
2024-12-04 11:41:13 -08:00
Phillip Webb cd3fd0e6da Start building against Spring Authorization Server 1.3.4 snapshots
See gh-43391
2024-12-04 11:41:12 -08:00
Phillip Webb 740862a39b Start building against Reactor Bom 2023.0.13 snapshots
See gh-43390
2024-12-04 11:41:12 -08:00
Phillip Webb 53824c860a Start building against Micrometer Tracing 1.3.7 snapshots
See gh-43389
2024-12-04 11:41:12 -08:00
Phillip Webb c09f7c9944 Start building against Micrometer 1.13.9 snapshots
See gh-43388
2024-12-04 11:41:12 -08:00
Phillip Webb 4c00c376a1 Upgrade to Undertow 2.3.18.Final
Closes gh-43387
2024-12-04 11:41:12 -08:00
Phillip Webb 0ebee16043 Upgrade to RxJava3 3.1.10
Closes gh-43386
2024-12-04 11:41:12 -08:00
Andy Wilkinson 04310a7ad0 Merge branch '3.3.x'
Closes gh-43382
2024-12-04 17:00:01 +00:00
Andy Wilkinson 7c7bb531b4 Improve handling of environment variables in failure analysis
Prior to this change, the failure analysis for an invalid
configuration property value filtered out the configuration property
sources property source. This property source contains a "duplicate"
of all of the environment's other property sources but with
configuration property support (such as relaxed/fuzzy matching of
environment variables). This was done to prevent the reporting of
duplicates when a property was found in both the configuration
property sources property source and the "normal" property sources.
An unwanted side-effect of this was that fuzzy matching of
environment variables was lost so the origin of
com.example.some-property would be found in the environment variable
was COM_EXAMPLE_SOME_PROPERTY but would not be found if it was
COM_EXAMPLE_SOMEPROPERTY.

This commit addresses this side-effect by no longer filtering out
the configuration property sources property source. To then
prevent duplicates from being reported in the analysis, it instead
deduplicates things based on the origin of each property that's
found in the environment's property sources.

Fixes gh-43380
2024-12-04 13:55:20 +00:00
Stéphane Nicoll 60b028e7cb Merge branch '3.3.x'
Closes gh-43377
2024-12-04 10:57:58 +01:00
Stéphane Nicoll cc274ccdca Polish "Polish formatting of log configuration file"
See gh-43322
2024-12-04 10:33:58 +01:00
Yanming Zhou 3f17e42b38 Polish formatting of log configuration file
1. Remove space before `/>` to keep consistency.
2. Capitalize `filters` for Log4j2.
3. Uppercase log level to keep consistency.

See gh-43322
2024-12-04 10:28:28 +01:00
Phillip Webb 1d578a8213 Merge branch '3.3.x' 2024-12-03 20:30:36 -08:00
Phillip Webb 3dcea98f00 Polish `redirect.adoc` by sorting contents alphabetically 2024-12-03 20:30:09 -08:00
Phillip Webb 01ea503383 Merge branch '3.3.x'
Closes gh-43372
2024-12-03 20:29:49 -08:00
Phillip Webb 709cd91b3e Add legacy anchor redirects
Add anchor redirects previously covered by the
`anchor-rewrite.properties` file.

See gh-43367
2024-12-03 20:17:14 -08:00
Phillip Webb 75a3722ee4 Add more anchor redirects
See gh-43367
2024-12-03 20:16:51 -08:00
Phillip Webb 6155735ac5 Merge branch '3.3.x'
Closes gh-43370
2024-12-03 19:07:55 -08:00
Phillip Webb 4265a0bcc2 Reset `Startables` COUNTER when testing parallel startup
Closes gh-43369
2024-12-03 19:07:16 -08:00
Phillip Webb 3ddfd62f16 Prefer file resolution when loading SSL content
Update `SslAutoConfiguration` so that the used resource loader prefers
file based resolution when paths are specified without a prefix. This
restores the behavior found in Spring Boot 3.3.

The `ApplicationResourceLoader` has been updated with a new `get` method
that accepts a `preferFileResolution` parameter. Unfortunately, we can't
directly influence the resource returned by the delegate
`ResourceLoader` since we can't override `getResourceByPath(...)`.
Instead we check if the returned type was likely to have been created
by a call to that method. If so, we change it to a `FileSystemResource`.

This approach should hopefully work with `DefaultResourceLoader` and
subclasses.

Fixes gh-43274
2024-12-03 15:00:15 -08:00
Phillip Webb 7a4e071709 Polish 2024-12-03 14:45:25 -08:00
Phillip Webb 3e37a50b1e Fix actuator access documentation to use 'none' rather than 'disabled'
Closes gh-43351
2024-12-03 12:01:07 -08:00
Phillip Webb 91778e9f96 Merge branch '3.3.x'
Closes gh-43359
2024-12-02 19:05:21 -08:00
Phillip Webb b340c855c0 Prevent H2 console from causing early DataSource initialization
Update `H2ConsoleAutoConfiguration` so that DataSource connection
logging occurs outside of the `ServletRegistrationBean`.

Fixes gh-43337
2024-12-02 19:05:16 -08:00
Phillip Webb dd64b0648f Merge branch '3.3.x'
Closes gh-43356
2024-12-02 13:59:53 -08:00
Phillip Webb 0afbc0b23c Polish 'Accept Docker progress on numbers >2GB'
Restore `int` returns for existing methods and deprecate them in
favor of a new `asPercentage()` method.

See gh-43328
2024-12-02 13:58:03 -08:00
Wolfgang Kronberg d8565185e8 Accept Docker progress on numbers >2GB
Update `ProgressUpdateEvent` to support images of a file size
>2GB without provoking build failures.

See gh-43328
2024-12-02 13:56:09 -08:00
Moritz Halbritter d5344e3f1b Polish "Fix property name in OnEnabledLoggingExportConditionTests"
See gh-43331
2024-12-02 13:52:01 +01:00
Johnny Lim 1f17e0125d Fix property name in OnEnabledLoggingExportConditionTests
See gh-43331
2024-12-02 13:49:39 +01:00
Moritz Halbritter ff9fde0ef4 Polish "Make UserDetailsServiceAutoConfiguration conditional on servlet app"
See gh-43334
2024-12-02 13:40:51 +01:00
BenchmarkingBuffalo c5d41f1469 Make UserDetailsServiceAutoConfiguration conditional on servlet app
See gh-43334
2024-12-02 13:22:07 +01:00
Moritz Halbritter 07bc5f2563 Polish "Remove redundant null check for sorter"
See gh-43343
2024-12-02 11:39:37 +01:00
Jae-Young98 bd367803d1 Remove redundant null check for sorter
See gh-43343
2024-12-02 11:37:56 +01:00
Stéphane Nicoll 5e33808607 Merge branch '3.3.x'
Closes gh-43342
2024-12-02 09:42:52 +01:00
Yanming Zhou d81678016e Restore System property in Logging section of the reference documentation
Before this commit, it is rendered as an unexpected link with simple class
name, it should be full qualified class name.

See gh-43341
2024-12-02 09:42:08 +01:00
BenchmarkingBuffalo b86b81da35 Remove prohibited undertow upgrade restriction
See gh-43333
2024-12-02 09:36:01 +01:00
Stéphane Nicoll 615b199364 Update copyright year of changed file
See gh-43316
2024-11-29 10:35:12 +01:00
Johnny Lim 859c235a95 Polish
See gh-43316
2024-11-29 10:35:11 +01:00
Yanming Zhou aaaeddcd7d Update javadoc to describe registration through spring.factories
See gh-43313
2024-11-29 09:22:49 +00:00
Andy Wilkinson 512584d990 Merge branch '3.3.x'
Closes gh-43325
2024-11-29 09:18:28 +00:00
Stefano Cordio 26b1d74470 Fix link to proxyBeanMethods in @AutoConfiguration javadoc
See gh-43323
2024-11-29 09:17:27 +00:00
Andy Wilkinson d96aef219f Merge branch '3.3.x'
Closes gh-43324
2024-11-29 09:08:53 +00:00
Tran Ngoc Nhan 82652aba49 Fix Servlet and JPA javadoc links
See gh-43320
2024-11-29 09:07:19 +00:00
Andy Wilkinson f3a161afdd Enable relaxed matching of enabled and access properties
The lowercase form of the endpoint ID needs to be used so that
relaxed matching of properties, as provided by
ConfigurationPropertySources, works as intended. Without this
change the id of the endpoint in a property had to be an exact
match of the endpoint's ID.

Closes gh-43302
2024-11-28 14:17:37 +00:00
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
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
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 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
Johnny Lim fa0a4849fa Update Javadoc since for OtlpMetricsProperties and OtlpTracingProperties
See gh-43249
2024-11-22 08:24:59 +01:00
Andy Wilkinson 109e731c83 Revert "Add `@ConditionalOnMissingBean` for `JobRepository`"
This reverts commit 73fc351d71.

See gh-43236
2024-11-21 13:31:20 +00: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 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
Phillip Webb 11415a97f2 Restore monospaced text to unescaped form
See gh-43239
2024-11-20 20:46:11 -08:00
Phillip Webb e9e018c598 Migrate class references to full javadoc links
Update documentation to use `javadoc:...` macro for class and interface
references.

Migrated using https://github.com/philwebb/asciidoctor-javadoc-migration

See gh-43239
2024-11-20 20:46:11 -08:00
Phillip Webb 0e62778612 Use fully-qualified names for ambiguous type references
Update type references to use a fully qualified name when we have
more than one candidate available to us.

See gh-43239
2024-11-20 20:46:11 -08:00
Phillip Webb e8e9592c3d Temporarily escape monospaced text that will not be linked
Escape elements that we know cannot be converted to a javadoc link.

See gh-43239
2024-11-20 20:46:11 -08:00
Phillip Webb 6b6597b403 Restore monospaced text to unescaped form
See gh-41614
2024-11-20 20:35:33 -08:00
Phillip Webb 4c8dafe12b Migrate class references to full javadoc links
Update documentation to use `javadoc:...` macro for class and interface
references.

Migrated using https://github.com/philwebb/asciidoctor-javadoc-migration

See gh-41614
2024-11-20 20:24:54 -08:00
Phillip Webb 3d57d36c16 Use fully-qualified names for ambiguous type references
Update type references to use a fully qualified name when we have
more than one candidate available to us.

See gh-41614
2024-11-20 20:24:53 -08:00
Phillip Webb d289d0a442 Temporarily escape monospaced text that will not be linked
Escape elements that we know cannot be converted to a javadoc link.

See gh-41614
2024-11-20 20:24:53 -08:00
Phillip Webb 4628059dc0 Remove Influx section from redirects
See gh-43238
2024-11-20 19:57:40 -08:00
Phillip Webb bd770f1992 Remove Influx section from documentation
Closes gh-43238
2024-11-20 19:42:50 -08:00
Phillip Webb cdf0bfa5b0 Refine javadoc links for 3.4.x
See gh-41614
2024-11-20 19:40:17 -08:00
Phillip Webb b094a13c3b Polish documentation 2024-11-20 17:56:57 -08:00
Phillip Webb 4493ef6ec3 Merge branch '3.3.x' 2024-11-20 17:15:03 -08:00
Phillip Webb 81ba8b6c7b Refine javadoc links
See gh-41614
2024-11-20 17:14:12 -08:00
Phillip Webb 2f04ad6699 Merge branch '3.3.x'
Closes gh-43234
2024-11-20 12:35:33 -08:00
Phillip Webb dc49c64e56 Remove FlywayCallback reference in documentation
Closes gh-43233
2024-11-20 12:35:24 -08:00
Phillip Webb b56352405b Merge branch '3.3.x' 2024-11-20 12:34:47 -08:00
Phillip Webb 924ea70c19 Polish documentation to use more javadoc links
Update a few areas of the documentation to use full javadoc
links.

See gh-41614
2024-11-20 12:34:04 -08:00
Phillip Webb 47722af18e Polish documentation
Cleanup and polish some areas of the documentation.
2024-11-20 12:16:29 -08:00
Phillip Webb 127b140ebd Add javadoc links for Jooq and Netty
See gh-41614
2024-11-20 12:15:18 -08:00
Phillip Webb 5f9a13bdc3 Fix `withDefaultRequestConfigCustomizer` method name
Second attempt to fix the method name.

Closes gh-43139
2024-11-20 10:32:27 -08:00
Phillip Webb 0c2d5e6c50 Fix formatting
See gh-43139
2024-11-20 10:00:20 -08:00
Phillip Webb 223427e96d Fix `withDefaultRequestConfigCustomizer` method name
The work `manager` was accidentally included due to a copy/paste
mistake.

Closes gh-43139
2024-11-20 09:54:50 -08:00
Andy Wilkinson 16f45169f7 Upgrade to Spring Integration 6.3.6
Closes gh-43010
2024-11-20 17:12:12 +00:00
Andy Wilkinson 11401d3290 Upgrade to Spring Integration 6.2.11
Closes gh-43001
2024-11-20 17:07:50 +00:00
Andy Wilkinson 758d0ffb64 Upgrade to Infinispan 14.0.33.Final
Closes gh-43229
2024-11-20 17:07:49 +00:00
Stéphane Nicoll f3c5be94e5 Upgrade to Spring Authorization Server 1.4.0
Closes gh-43017
2024-11-20 18:07:14 +01:00
Stéphane Nicoll c6d310b282 Upgrade to Spring Session 3.4.0
Closes gh-43027
2024-11-20 18:06:08 +01:00
Stéphane Nicoll 3a2991ece2 Upgrade to Spring Integration 6.4.0
Closes gh-43022
2024-11-20 18:06:07 +01:00
Andy Wilkinson 6289104190 Merge branch '3.3.x'
Closes gh-43225
2024-11-20 10:09:32 +00:00
Andy Wilkinson ec2a350959 Publish API catalog content and root aggregate content from s-b-docs
Closes gh-43224
2024-11-20 10:09:23 +00:00
Phillip Webb d9458ac67f Merge branch '3.3.x' 2024-11-19 23:17:51 -08:00