Commit Graph

22558 Commits

Author SHA1 Message Date
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