Commit Graph

22755 Commits

Author SHA1 Message Date
Andy Wilkinson 16b6400bdf Improve BuildpackReference's handling of URL-like strings on Windows
Closes gh-39792
2024-02-28 17:15:02 +00:00
Andy Wilkinson dd38fb8b65 Limit wait time when checking process's availability
Closes gh-39788
2024-02-28 15:04:08 +00:00
Tim Grohmann bd6edeaa94 Allow creation of SpringProfileArbiter without Environment
See gh-39403
2024-02-28 13:07:43 +01:00
Piyal Ahmed 3028fe703e Fix Typo in Spring Boot Docs Section 10.1 Custom HTTP Exchange Recording
See gh-39777
2024-02-28 12:58:53 +01:00
Stéphane Nicoll f6e4bede09 Stop throwing BindingException in tests
This commit adapts the error controller tests that need the request
to fail with a bind issue, and simulate the behavior of
ModelAttributeMethodProcessor.

As of Spring Framework 6.0.x, this processor no longer throws a
BindingException, but rather a MethodArgumentNotValidException and
the handing of BindException itself is deprecated.

This makes sure that those tests can smoothly be executed against
Spring Framework 6.2.x as throwing a BindingException now results
into an unresolved exception, and an internal server error rather than
the expected bad request.

See gh-39767
2024-02-27 14:12:19 -06:00
Stéphane Nicoll c259a673d3 Make resolution algorithm of ConnectionDetailsFactory more explicit
This commit moves the resolution check for ConnectionDetailsFactory
to a dedicated method to make it more clear that it is meant to verify
that the implementation is resolved and can be loaded from the
classpath.

The previous algorithm relied on a behavior of ResolvableType that only
resolves the first level generics. Further improvements in Spring
Framework 6.2 make this check invalid as some implementations use a
Container that can hold a nested generic.

See gh-39737
2024-02-27 12:46:51 -06:00
Andy Wilkinson 54cdc83337 Only reference Gradle tasks beneath org.gradle.api
Fixes gh-39584
2024-02-27 12:38:07 +00:00
Phillip Webb 2c4909a89a Update copyright year of changed files 2024-02-21 13:58:53 -08:00
Andy Wilkinson 3e46fff15c Upgrade to Undertow 2.3.12.Final
Closes gh-39664
2024-02-21 20:10:58 +00:00
Andy Wilkinson 2581c5c87a Upgrade to Tomcat 10.1.19
Closes gh-39663
2024-02-21 20:10:57 +00:00
Andy Wilkinson 1c5858e59f Upgrade to Spring Security 6.1.7
Closes gh-39466
2024-02-21 20:09:26 +00:00
Andy Wilkinson f0da887f17 Upgrade to Spring LDAP 3.1.4
Closes gh-39465
2024-02-21 20:09:26 +00:00
Andy Wilkinson 1036182692 Upgrade to Spring Kafka 3.0.14
Closes gh-39464
2024-02-21 20:09:25 +00:00
Andy Wilkinson 6a67eea361 Upgrade to Spring Integration 6.1.6
Closes gh-39463
2024-02-21 20:09:25 +00:00
Andy Wilkinson d14fa83690 Upgrade to Spring GraphQL 1.2.5
Closes gh-39462
2024-02-21 20:09:24 +00:00
Andy Wilkinson 57d46423f7 Upgrade to Spring Data Bom 2023.0.9
Closes gh-39460
2024-02-21 20:09:23 +00:00
Andy Wilkinson 0e06315956 Upgrade to Spring Batch 5.0.5
Closes gh-39459
2024-02-21 20:09:22 +00:00
Andy Wilkinson 06f6bba0e3 Upgrade to Spring Authorization Server 1.1.5
Closes gh-39458
2024-02-21 20:09:22 +00:00
Andy Wilkinson 79b6505430 Upgrade to Spring AMQP 3.0.11
Closes gh-39457
2024-02-21 20:09:21 +00:00
Andy Wilkinson 152d983278 Upgrade to Reactor Bom 2022.0.16
Closes gh-39456
2024-02-21 20:09:20 +00:00
Andy Wilkinson f45dfff082 Upgrade to Postgresql 42.6.1
Closes gh-39662
2024-02-21 20:09:20 +00:00
Andy Wilkinson 85a8364d73 Upgrade to jOOQ 3.18.11
Closes gh-39661
2024-02-21 20:09:15 +00:00
Andy Wilkinson b4304af23f Upgrade to Byte Buddy 1.14.12
Closes gh-39659
2024-02-21 20:09:05 +00:00
Scott Frederick eb4d6e7c15 Polish "Add note regarding mixing of bundle-based and direct SSL configuration"
See gh-39616
2024-02-20 11:57:06 -06:00
Jakob Wanger 4c069f0079 Add note regarding mixing of bundle-based and direct SSL configuration
Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>

See gh-39616
2024-02-20 11:57:05 -06:00
Scott Frederick c93acdafbd Polish "Prevent long parse times for images with illegal char in tag"
See gh-39617
2024-02-20 10:27:28 -06:00
Jakob Wanger c892544741 Prevent long parse times for images with illegal char in tag
Update the regular expression used to parse Docker images references to
prevent catastrophic backtracking when images names are long and the
tag contains an illegal character.

See gh-39617
2024-02-20 10:27:27 -06:00
Moritz Halbritter 6d27c0a933 Fix SpringApplicationBannerPrinterTests on Windows 2024-02-19 14:22:18 +01:00
Moritz Halbritter ea2f273cf8 Polish "Fix local dependent writing of banner into ByteArrayOutputStream"
See gh-39601
2024-02-19 11:33:57 +01:00
Thorsten Schmidt f82a5e10db Fix local dependent writing of banner into ByteArrayOutputStream
See gh-39601
2024-02-19 11:12:12 +01:00
Stéphane Nicoll 7d73b11239 Fix json path assertion
See gh-39605
2024-02-19 11:01:12 +01:00
junhyung 8fee77761d Change ConcurrentReferenceCachingMetadataReaderFactory to use application's resource loader
See gh-39321
2024-02-16 09:32:24 +01:00
Moritz Halbritter e2b29dc9cb Polish "Document default value for show-value configuration properties"
See gh-39589
2024-02-16 09:24:32 +01:00
lukasdooo 7ade54d304 Document default value for show-value configuration properties
See gh-39589
2024-02-16 09:21:55 +01:00
Andy Wilkinson 0f341f4cb0 Upgrade to Undertow 2.3.11.Final
Closes gh-39563
2024-02-14 15:55:28 +00:00
Andy Wilkinson 642517a27a Upgrade to SLF4J 2.0.12
Closes gh-39562
2024-02-14 15:55:24 +00:00
Andy Wilkinson ba15d8daa4 Upgrade to Netty 4.1.107.Final
Closes gh-39561
2024-02-14 15:55:19 +00:00
Andy Wilkinson 2839f0c443 Upgrade to Micrometer Tracing 1.1.10
Closes gh-39455
2024-02-14 15:55:15 +00:00
Andy Wilkinson ff9888be3c Upgrade to Micrometer 1.11.9
Closes gh-39454
2024-02-14 15:55:14 +00:00
Andy Wilkinson 017bcf0d79 Upgrade to jOOQ 3.18.10
Closes gh-39560
2024-02-14 15:55:13 +00:00
Andy Wilkinson 1d6712431b Upgrade to Jetty 11.0.20
Closes gh-39559
2024-02-14 15:55:09 +00:00
Andy Wilkinson 15fc9f2377 Upgrade to Jetty Reactive HTTPClient 3.0.12
Closes gh-39558
2024-02-14 15:55:04 +00:00
Andy Wilkinson b524abbbf0 Upgrade to Janino 3.1.12
Closes gh-39557
2024-02-14 15:54:59 +00:00
Andy Wilkinson 34946b2152 Upgrade to Infinispan 14.0.24.Final
Closes gh-39556
2024-02-14 15:54:55 +00:00
Andy Wilkinson 2507b5e9e2 Upgrade to Hibernate 6.2.22.Final
Closes gh-39555
2024-02-14 15:54:50 +00:00
Andy Wilkinson fe384576a1 Upgrade to Groovy 4.0.18
Closes gh-39554
2024-02-14 15:54:45 +00:00
Andy Wilkinson 5f004d752d Upgrade to Dropwizard Metrics 4.2.25
Closes gh-39553
2024-02-14 15:54:41 +00:00
Andy Wilkinson f7aef186bd Upgrade to Neo4j Java Driver 5.17.0
Closes gh-39551
2024-02-14 15:05:23 +00:00
Andy Wilkinson 5bc4bdd1de Test Gradle plugin against Gradle 8.6
Closes gh-39548
2024-02-14 14:54:10 +00:00
Andy Wilkinson 4319554f8a Fix mapping of boolean properties to Gson's builder
Fixes gh-39504
2024-02-12 10:13:04 +00:00
Moritz Halbritter 8ffcfc9b77 Harmonize style of igored exceptions across the codebase 2024-02-12 10:14:20 +01:00
dev-chpark c1df48f969 Rename exception variable name
See gh-39518
2024-02-12 08:41:16 +01:00
Scott Frederick f90f29dd12 Polish "Resolve property placeholders when binding properties to a Map"
See gh-39507
2024-02-11 15:05:48 -06:00
wanger26 8292104d20 Resolve property placeholders when binding properties to a Map
Add call to placeholder resolver to ensure property placeholders
are resolved for the `MapBinder`

See gh-39507

Signed-off-by: wanger26 <jakobwanger@gmail.com>
2024-02-11 15:03:34 -06:00
Jakob Wanger 7e90b4951b Enforce Gradle version to be at least of version 7.5
See gh-39508

Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>
2024-02-11 14:30:26 -06:00
Andy Wilkinson e584ed3c68 Start building against Spring Security 6.1.7 snapshots
See gh-39466
2024-02-08 15:20:31 +00:00
Andy Wilkinson 097ff791d6 Start building against Spring LDAP 3.1.4 snapshots
See gh-39465
2024-02-08 15:20:30 +00:00
Andy Wilkinson 5671a4e8c5 Start building against Spring Kafka 3.0.14 snapshots
See gh-39464
2024-02-08 15:20:30 +00:00
Andy Wilkinson 420789fc63 Start building against Spring Integration 6.1.6 snapshots
See gh-39463
2024-02-08 15:20:30 +00:00
Andy Wilkinson af3ffb209c Start building against Spring GraphQL 1.2.5 snapshots
See gh-39462

Co-authored-by: Brian Clozel <brian.clozel@broadcom.com>
2024-02-08 15:19:32 +00:00
Andy Wilkinson 7efdf0a428 Start building against Spring Data Bom 2023.0.9 snapshots
See gh-39460
2024-02-08 13:29:32 +00:00
Andy Wilkinson 50d66a9844 Start building against Spring Batch 5.0.5 snapshots
See gh-39459
2024-02-08 13:29:27 +00:00
Andy Wilkinson 559aad3175 Start building against Spring Authorization Server 1.1.5 snapshots
See gh-39458
2024-02-08 13:29:22 +00:00
Andy Wilkinson d402d0ecfd Start building against Spring AMQP 3.0.11 snapshots
See gh-39457
2024-02-08 13:29:18 +00:00
Andy Wilkinson 9bf17cca7f Start building against Reactor Bom 2022.0.16 snapshots
See gh-39456
2024-02-08 13:29:13 +00:00
Andy Wilkinson 5b0b327acb Start building against Micrometer Tracing 1.1.10 snapshots
See gh-39455
2024-02-08 13:29:08 +00:00
Andy Wilkinson d941f62a73 Start building against Micrometer 1.11.9 snapshots
See gh-39454
2024-02-08 13:29:04 +00:00
Amrit 67ba829d9e Fix typo in TestcontainersPropertySource assertion
See gh-39440
2024-02-07 16:45:39 -06:00
Scott Frederick 2374e7d4eb Fix invalid request handling for WebFlux actuator endpoints
Fixes gh-39236
2024-02-07 14:31:04 -06:00
Andy Wilkinson 5f680ccac0 Revert "Stop managing version of commons-compress where it isn't needed"
This reverts commit 2b85cb0356.

See gh-39367
2024-02-06 12:36:26 +00:00
Moritz Halbritter 8fd28d9ece Polish "Update the Debugging Documentation of the Spring Boot Maven Plugin"
See gh-39392
2024-02-06 13:07:55 +01:00
lukasdooo b25d52c896 Update the Debugging Documentation of the Spring Boot Maven Plugin
See gh-39392
2024-02-06 13:06:57 +01:00
Brian Clozel 570602297f Upgrade to JsonPath 2.9.0
Closes gh-39328
2024-02-04 15:07:31 +01:00
Stéphane Nicoll c3664f372c Polish
See gh-39382
2024-02-02 16:02:50 -06:00
Andy Wilkinson 2b85cb0356 Stop managing version of commons-compress where it isn't needed
Closes gh-39367
2024-02-01 10:20:20 +00:00
Andy Wilkinson dd082c6c21 Revert "Upgrade to Commons Compress 1.25.0"
This reverts commit 1c2a622f7f.

See gh-39148
2024-01-31 17:35:57 +00:00
Scott Frederick a620d348ad Fix exporting of Docker image layers
The logic to extract layers from a downloaded Docker image assumed that
the layer entries in the image tar archive always had the file extension
`.tar`. This was the case with Docker and other compatible daemons until
Docker 25.0. With this commit, the extension is no longer assumed, but
any entries listed in `manifest.json` will be recognized.

Fixes gh-39323
2024-01-30 16:25:03 -06:00
Andy Wilkinson 1c2a622f7f Upgrade to Commons Compress 1.25.0
Closes gh-39148
2024-01-30 13:49:37 +00:00
Andy Wilkinson a6d1788be3 Tolerate OS and Java version differences in ExtractCommandTests
Co-Authored-By: Moritz Halbritter <moritz.halbritter@broadcom.com>

Closes gh-39303
2024-01-25 13:31:42 +00:00
Moritz Halbritter df755db1f3 Ensure that remaining mocks are closed before initializing a test
Closes gh-39271
2024-01-25 10:57:45 +01:00
Moritz Halbritter 930669888a Add more integration tests for MockitoTestExecutionListener 2024-01-25 10:18:59 +01:00
Jan Engehausen c99daf5de4 Fix typo 'Unuthorized'
See gh-39279
2024-01-23 08:13:13 -08:00
Moritz Halbritter c87d5eeb28 Ensure that remaining mocks are closed before initializing a test
Closes gh-39271
2024-01-23 09:17:17 +01:00
Phillip Webb e1986ea11e Update copyright year of changed files 2024-01-22 12:20:06 -08:00
Phillip Webb 87ea2b75fb Polish 'Make PropagationType a public type'
See gh-39265
2024-01-22 11:49:45 -08:00
Vaibhav Jaiswal 16c0f035a9 Make PropagationType a public type
The PropagationType enum is returned from public methods so
should be public itself.

See gh-39265
2024-01-22 11:48:10 -08:00
Phillip Webb bc52ac6459 Polish 'Reactor PemPrivateKeyParser to use DerElement'
See gh-39162
2024-01-17 15:51:29 -08:00
Wzy19930507 cc6303f574 Reactor PemPrivateKeyParser to use DerElement
Update `PemPrivateKeyParser` so that the algorithm is read using
DerElement whenever possible.

See gh-39162
2024-01-17 15:49:19 -08:00
Phillip Webb bec84959ed Improve "Sanitize Sensitive Values" section in reference documentation
Closes gh-39094
2024-01-17 10:19:40 -08:00
Andy Wilkinson e2420caefd Upgrade to Tomcat 10.1.18
Closes gh-39183
2024-01-17 14:29:27 +00:00
Andy Wilkinson 558d8131c0 Upgrade to SLF4J 2.0.11
Closes gh-39182
2024-01-17 14:05:40 +00:00
Andy Wilkinson 40f352e53d Upgrade to R2DBC Proxy 1.1.4.RELEASE
Closes gh-39181
2024-01-17 14:05:35 +00:00
Andy Wilkinson fee512d821 Upgrade to R2DBC Postgresql 1.0.4.RELEASE
Closes gh-39180
2024-01-17 14:05:31 +00:00
Andy Wilkinson e57665843c Upgrade to R2DBC MySQL 1.0.6
Closes gh-39179
2024-01-17 14:05:26 +00:00
Andy Wilkinson 4e827873bc Upgrade to Netty 4.1.105.Final
Closes gh-39178
2024-01-17 14:05:22 +00:00
Andy Wilkinson e6a26624d6 Upgrade to jOOQ 3.18.9
Closes gh-39177
2024-01-17 14:05:17 +00:00
Andy Wilkinson 06dfce6d5a Upgrade to Hibernate 6.2.20.Final
Closes gh-39176
2024-01-17 14:05:12 +00:00
Andy Wilkinson f118d5d971 Upgrade to Groovy 4.0.17
Closes gh-39175
2024-01-17 14:05:07 +00:00
Andy Wilkinson 444940c2c3 Upgrade to Byte Buddy 1.14.11
Closes gh-39174
2024-01-17 14:05:02 +00:00
Wzy19930507 37a0e24f24 Update link to docs for Log4j 2's JDK logging adapter
See gh-39163
2024-01-17 13:50:29 +00:00
Andy Wilkinson a7d52226d5 Polish "Improve toString of SslBundle implementations"
See gh-39137
2024-01-17 11:50:34 +00:00
amparab b49ccbb0c2 Improve toString of SslBundle implementations
See gh-39137
2024-01-17 11:37:18 +00:00
Andy Wilkinson f66fd0e9e2 Remove OCI entry as it is no longer maintained
Closes gh-39164
2024-01-17 10:42:27 +00:00
Scott Frederick 47b1c41dac Allow server.ssl properties to mix PEM and JKS certificate types
Prior to the introduction of SSL bundles, the `server.ssl` properties
allowed PEM and JKS certificate files types to be mixed when
configuring keystores and truststores. This was lost when adapting to
SSL bundles using `WebServerSslBundle`. This commit restores the
previous behavior for back compatibility.

Fixes gh-39105
2024-01-16 16:26:28 -06:00
Phillip Webb e23e431f10 Polish 'Remove unreachable throw code'
See gh-39107
2024-01-16 11:36:18 -08:00
BenchmarkingBuffalo a4ae6600ef Remove unreachable throw code
Improve `SpringApplication` by removing the unreachable throw statement
in favor of returning an exception from `handleRunFailure`. This commit
also removes the if statements in favor of dedicated catch blocks.

See gh-39107
2024-01-16 11:35:49 -08:00
Andy Wilkinson ea727f056a Polish "Update links to Micrometer reference docs"
See gh-39114
2024-01-16 16:05:09 +00:00
Tobias Lippert 6c5fea7341 Update links to Micrometer reference docs
See gh-39114
2024-01-16 15:51:08 +00:00
Andy Wilkinson d06c1db259 Upgrade to Neo4j Java Driver 5.15.0
Closes gh-39135
2024-01-15 15:24:55 +00:00
Andy Wilkinson c8e9a2a32c Add support to Bomr for aligning dependency versions
Closes gh-34114
2024-01-15 15:20:29 +00:00
Andy Wilkinson 5f4d347ea6 Upgrade to Spring WS 4.0.10
Closes gh-39129
2024-01-15 10:11:25 +00:00
Andy Wilkinson abba215498 Upgrade to Spring Data Bom 2023.0.8
Closes gh-38977
2024-01-15 10:11:20 +00:00
Andy Wilkinson 3df77c67ec Fix request mapping of endpoint path-mapped to /
Closes gh-35426
2024-01-12 17:07:48 +00:00
Andy Wilkinson 31936f036b Remove FlywayMigrationScriptMissingFailureAnalyzer from spring.factories
Closes gh-39102
2024-01-11 13:55:05 +00:00
Andy Wilkinson f4ff2e63ff Document that failure analyzers should use constructor injection
Closes gh-39099
2024-01-11 13:45:20 +00:00
Andy Wilkinson f103586a13 Upgrade to Reactor Bom 2022.0.15
Closes gh-38976
2024-01-11 13:17:15 +00:00
Andy Wilkinson 45c32854a5 Fix Checkstyle upgrade
Closes gh-38746
2024-01-10 15:37:38 +00:00
BenchmarkingBuffalo 56f00c4c21 Move autoStartup property
Move the property 'autoStartup' from BaseContainer to AmqpContainer.

See gh-39072
2024-01-10 09:52:28 +01:00
Moritz Halbritter 47e8f6168f Polish "Fix error mark position for PatternParseException"
See gh-38944
2024-01-10 09:21:03 +01:00
Fabrice Bibonne fccce54d52 Fix error mark position for PatternParseException
PatternParseException.toDetailedString() return a String
with a mark to specify the error position in the pattern.
The mark takes place in the second line in the String
returned. Because PatternParseFailureAnalyzer.analyze
appended "Invalid mapping pattern detected:" at the
beginning of the returned String, the mark was not well
positioned.

Now, a "\n" is inserted after "Invalid mapping pattern detected:"
and the mark is well positioned

See gh-38944
2024-01-10 09:14:04 +01:00
Christoph Dreis 68b9f0c643 Update copyright year to 2024
See gh-38946
2024-01-10 09:11:29 +01:00
Andy Wilkinson 284dc2070c Upgrade to Micrometer Tracing 1.1.9
Closes gh-38975
2024-01-09 12:52:58 +00:00
Andy Wilkinson c1a147474c Upgrade to Micrometer 1.11.8
Closes gh-38974
2024-01-09 12:52:58 +00:00
Andy Wilkinson d5d4ec99da Start building against Spring Data Bom 2023.0.8 snapshots
See gh-38977
2024-01-04 12:34:13 +00:00
Andy Wilkinson 905e2a623e Start building against Reactor Bom 2022.0.15 snapshots
See gh-38976
2024-01-04 12:34:09 +00:00
Andy Wilkinson 694b418f59 Start building against Micrometer Tracing 1.1.9 snapshots
See gh-38975
2024-01-04 12:34:04 +00:00
Andy Wilkinson e9f086ff86 Start building against Micrometer 1.11.8 snapshots
See gh-38974
2024-01-04 12:33:59 +00:00
Andy Wilkinson c10f78ec5a Improve handling of Throwable from logging system init
Closes gh-38885
2024-01-03 15:13:05 +00:00
Phillip Webb 95a8fa561c Correctly order @AutoConfigureAfter values when sorting
Update `AutoConfigurationSorter` so that `getClassesRequestedAfter()`
results are sorted to match the earlier name/order sorting. Prior to
this commit the order of items added via `@AutoConfigureAfter` was in
an undetermined order which could cause very subtle `@ConditionalOnBean`
bugs.

Thanks very much to Alexandre Baron for their help in diagnosing and
reproducing this issue.

Fixes gh-38904
2023-12-22 08:20:25 -08:00
Phillip Webb 20529ea90c Drop Netty restriction 2023-12-20 09:54:59 -08:00
Phillip Webb e754c91f50 Upgrade to Spring WS 4.0.9
Closes gh-38892
2023-12-20 09:17:52 -08:00
Phillip Webb 1abc0827f8 Upgrade to Netty 4.1.104.Final
Closes gh-38891
2023-12-20 09:17:48 -08:00
Phillip Webb 7dfddce1ac Upgrade to jOOQ 3.18.8
Closes gh-38890
2023-12-20 09:17:42 -08:00
Phillip Webb c1e8c18124 Upgrade to Jetty 11.0.19
Closes gh-38889
2023-12-20 09:17:38 -08:00
Phillip Webb ff3a2f7e42 Upgrade to Jetty Reactive HTTPClient 3.0.11
Closes gh-38888
2023-12-20 09:17:34 -08:00
Phillip Webb 4df87f6224 Upgrade to Hibernate 6.2.17.Final
Closes gh-38887
2023-12-20 09:17:29 -08:00
Phillip Webb b00d5fabe8 Auto-configure Hibernate JPA before DataSource TransactionManager
Fixes gh-38861
2023-12-19 23:44:48 -08:00
meiyese 4370c6e850 Fix typo in endpoint documentation
See gh-38823
2023-12-19 23:12:06 -08:00
Yanming Zhou 8cb8999772 Ban call of URLEncoder.encode/URLDecoder.decode(String,String)
Add ArchUnit rules to ban the use of `URLEncoder` calls with String
charsets and use `Charset` calls instead.

See gh-38740
2023-12-19 23:10:18 -08:00
Yanming Zhou 8599e5a986 Remove unnecessary `toString()` calls
See gh-38739
2023-12-19 22:38:34 -08:00
Yanming Zhou b6e87cee35 Remove unnecessary `extends Object` from generic
See gh-38739
2023-12-19 22:38:19 -08:00
Yanming Zhou 84f7c2dba9 Remove unnecessary `final` modifiers
See gh-38739
2023-12-19 22:38:14 -08:00
Yanming Zhou d3a51e56b7 Remove unnecessary `static` modifiers
See gh-38739
2023-12-19 22:38:08 -08:00
Yanming Zhou ac18e3015c Use `.isEmpty()` where feasible
See gh-38739
2023-12-19 22:38:05 -08:00
Brian Clozel d3af5cce73 Upgrade to Spring Session 3.1.4
Closes gh-38683
2023-12-19 18:49:02 +01:00
Brian Clozel cb019e2957 Upgrade to Spring Authorization Server 1.1.4
Closes gh-38678
2023-12-19 18:48:19 +01:00
Brian Clozel 450a0ce8c7 Upgrade to Spring Security 6.1.6
Closes gh-38682
2023-12-19 12:30:36 +01:00
Brian Clozel 0fa8a27e4a Upgrade to Spring LDAP 3.1.3
Closes gh-38681
2023-12-19 12:30:04 +01:00
Phillip Webb 13fb450563 Don't call runners in parent ApplicationContext
Update `SpringApplication` so that `ApplicationRunner` and
`CommandLineRunner` beans are not considered from the parent
`ApplicationContext`.

The restores the behavior that applied before commit 7d6532cac4
whilst still retaining the correct run order.

Fixes gh-38647
2023-12-15 11:42:26 -08:00
Brian Clozel e63be1bf73 Upgrade to Spring Retry 2.0.5
Closes gh-38834
2023-12-15 17:33:42 +01:00
Brian Clozel e8546545a7 Upgrade to Spring Data Bom 2023.0.7
Closes gh-38679
2023-12-15 17:32:56 +01:00
Andy Wilkinson 85cfa4798c Close jar to allow it to be cleaned up after test execution
See gh-38766
2023-12-14 20:16:23 +00:00
Andy Wilkinson 1d64976876 Upgrade to Netty 4.1.102.Final
Closes gh-38795
2023-12-14 14:50:58 +00:00
Andy Wilkinson aa1de9cee2 Upgrade to UnboundID LDAPSDK 6.0.11
Closes gh-38793
2023-12-14 14:47:56 +00:00
Andy Wilkinson cf9538cbcc Upgrade to R2DBC Proxy 1.1.3.RELEASE
Closes gh-38791
2023-12-14 14:47:55 +00:00
Andy Wilkinson b30bec1156 Upgrade to R2DBC Postgresql 1.0.3.RELEASE
Closes gh-38790
2023-12-14 14:47:54 +00:00
Andy Wilkinson bef2dabc27 Upgrade to Logback 1.4.14
Closes gh-38788
2023-12-14 14:47:15 +00:00
Andy Wilkinson 5199977e03 Upgrade to Jersey 3.1.5
Closes gh-38787
2023-12-14 14:47:14 +00:00
Andy Wilkinson 7129b61856 Upgrade to Jaybird 5.0.3.java11
Closes gh-38786
2023-12-14 14:47:14 +00:00
Andy Wilkinson 16cca99d1f Upgrade to Janino 3.1.11
Closes gh-38785
2023-12-14 14:47:14 +00:00
Andy Wilkinson ec81c6650c Upgrade to HttpCore5 5.2.4
Closes gh-38784
2023-12-14 14:47:13 +00:00
Andy Wilkinson 0622f6f80e Upgrade to HttpClient5 5.2.3
Closes gh-38783
2023-12-14 14:47:13 +00:00
Andy Wilkinson 6bd8c295e0 Upgrade to Hibernate 6.2.15.Final
Closes gh-38782
2023-12-14 14:47:13 +00:00
Andy Wilkinson 75643866d8 Upgrade to Groovy 4.0.16
Closes gh-38781
2023-12-14 14:47:12 +00:00
Andy Wilkinson 3b9a05713d Upgrade to Dropwizard Metrics 4.2.23
Closes gh-38780
2023-12-14 14:47:12 +00:00
Andy Wilkinson 7319d55b23 Upgrade to AspectJ 1.9.21
Closes gh-38779
2023-12-14 14:47:12 +00:00
Andy Wilkinson 54fb25d931 Prohibit upgrade to Netty 4.1.103.Final
Closes gh-38789
2023-12-14 14:46:28 +00:00
Moritz Halbritter 5a385a40e9 Fix typo 2023-12-14 11:52:55 +01:00
Andy Wilkinson 8d5175b68d Upgrade to Reactor Bom 2022.0.14
Closes gh-38677
2023-12-14 09:25:50 +00:00
Andy Wilkinson c3e3245bb3 Upgrade to Micrometer Tracing 1.1.8
Closes gh-38676
2023-12-14 09:25:49 +00:00
Andy Wilkinson 5f51083005 Upgrade to Micrometer 1.11.7
Closes gh-38675
2023-12-14 09:25:48 +00:00
Phillip Webb da31137596 Ensure that StaticResourceJars does not close cached jars
Update `StaticResourceJars` so that jars obtained via a
`JarURLConnection` are only closed when caches are not being used.

Fixes gh-38766
2023-12-13 16:51:02 -08:00
Moritz Halbritter 82bc9a6280 Polish 2023-12-13 11:19:40 +01:00
Moritz Halbritter d1badfe63a Document minimum supported Docker Compose version
Closes gh-38760
2023-12-13 11:18:09 +01:00
Moritz Halbritter b8021dbc65 Exclude Rabbit Stream when testing RabbitAutoConfiguration
The stream auto-configuration is tested in RabbitStreamConfigurationTests,
and excluding it prevents the creation of the "rabbitStreamEnvironment"
Environment bean, which delays the application context close by 1 second
because it has to wait for some Netty resources to gracefully shut down.

Closes gh-38750
2023-12-12 16:12:22 +01:00
Yanming Zhou 3c65fdfa12 Use idiomatic AssertJ assertions
See gh-38702
2023-12-12 13:53:20 +01:00
Phillip Webb 39bc7c8582 Support getPermissions() call on Gradle 8.6-milestone-1
The `getPermissions` method is now part of the private
`ParentDirectoryStub` class so we now need to call
`setAccessible(true)`.

Fixes gh-38718
2023-12-11 20:35:06 -08:00
Yanming Zhou ebfbc0ef05 Cleanup kotlin sources
1. remove unused imports
2. remove redundant semicolon
3. remove empty class body
4. remove redundant 'constructor' keyword
5. remove redundant 'Unit' return type
6. use non-null type if possible

See gh-38708
2023-12-11 09:23:42 +01:00
Donghun Shin f922b3de03 Rename local variable in BatchAutoConfiguration
See gh-38674
2023-12-11 08:25:39 +01:00
Georg Pirklbauer a8d706f485 Update Dynatrace documentation links
See gh-38706
2023-12-11 08:13:56 +01:00
Andy Wilkinson fb8043a31f Start building against Spring Session 3.1.4 snapshots
See gh-38683
2023-12-06 15:18:55 +00:00
Andy Wilkinson af469abb88 Start building against Spring Security 6.1.6 snapshots
See gh-38682
2023-12-06 15:18:50 +00:00
Andy Wilkinson 7f53a21328 Start building against Spring LDAP 3.1.3 snapshots
See gh-38681
2023-12-06 15:18:45 +00:00
Andy Wilkinson 4ff5be4619 Start building against Spring Data Bom 2023.0.7 snapshots
See gh-38679
2023-12-06 15:18:36 +00:00
Andy Wilkinson fb9b6833fc Start building against Spring Authorization Server 1.1.4 snapshots
See gh-38678
2023-12-06 15:18:31 +00:00
Andy Wilkinson 7de7aaa375 Start building against Reactor Bom 2022.0.14 snapshots
See gh-38677
2023-12-06 15:18:26 +00:00
Andy Wilkinson 7aed70b0bd Start building against Micrometer Tracing 1.1.8 snapshots
See gh-38676
2023-12-06 15:18:21 +00:00
Andy Wilkinson 57a7f210cd Start building against Micrometer 1.11.7 snapshots
See gh-38675
2023-12-06 15:18:16 +00:00
Andy Wilkinson b424254587 Test Gradle plugin against Gradle 8.5
Closes gh-38664
2023-12-05 20:30:54 +00:00
Moritz Halbritter 3f29c7f84f Add log message if Docker Compose services are already running
Closes gh-38398
2023-12-05 14:02:16 +01:00
Lars Uffmann 5981a3fd33 Build against UCP and JDBC driver for Oracle Database variant ucp11
See gh-38654
2023-12-05 11:40:35 +01:00
Moritz Halbritter 350bc26bbe Reinstate 'management.tracing.enabled' property
See gh-38626
2023-12-05 11:18:18 +01:00
Moritz Halbritter 3d4d1e80ca Remove management.tracing.enabled from documentation
Closes gh-38626
2023-12-01 14:43:13 +01:00
Moritz Halbritter 203cd542c0 Clear MeterRegistry before each test case
Closes gh-38604
2023-11-30 09:02:22 +01:00
Tom Frenken 43bc104c4e Use system properties when constructing Apache HttpClient
See gh-38591
2023-11-29 13:49:20 +01:00
Alex Serbin 23816d6015 Fix Observation Filter docs
`WebMvcMetricsFilter` no longer exists since 3.0 and should be
replaced with `ServerHttpObservationFilter`

See gh-38570
2023-11-28 13:16:25 +01:00
Andy Wilkinson 1707904f70 Upgrade to Spring Batch 5.0.4
Closes gh-38493
2023-11-22 19:49:53 +00: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 e7aeeb87cf Upgrade to Spring Integration 6.1.5
Closes gh-38303
2023-11-22 18:23:57 +00:00
Andy Wilkinson ae5bae393b Remove unnecessary toLowerCase call from remainderIsDashes
Closes gh-38498
2023-11-22 12:35:36 +00:00