Commit Graph

18227 Commits

Author SHA1 Message Date
Andy Wilkinson c7ebeacbdd Upgrade to Selenium 4.2.2
Closes gh-31651
2022-07-07 17:48:43 +01:00
Andy Wilkinson 23a97e325f Upgrade to RxJava3 3.1.5
Closes gh-31650
2022-07-07 17:48:43 +01:00
Andy Wilkinson 374e4326c7 Upgrade to Reactive Streams 1.0.4
Closes gh-31649
2022-07-07 17:48:43 +01:00
Andy Wilkinson d3ac725bad Upgrade to Netty 4.1.78.Final
Closes gh-31648
2022-07-07 17:48:43 +01:00
Andy Wilkinson 77279d2d99 Upgrade to Neo4j Java Driver 4.4.7
Closes gh-31647
2022-07-07 17:48:43 +01:00
Andy Wilkinson ce5e62755e Upgrade to MongoDB 4.6.1
Closes gh-31646
2022-07-07 17:48:42 +01:00
Andy Wilkinson 0e8cf2e197 Upgrade to Maven Assembly Plugin 3.4.1
Closes gh-31645
2022-07-07 17:48:42 +01:00
Andy Wilkinson b71a9b9f85 Upgrade to MariaDB 3.0.6
Closes gh-31644
2022-07-07 17:48:42 +01:00
Andy Wilkinson 45c05481ba Upgrade to Kotlin Coroutines 1.6.3
Closes gh-31643
2022-07-07 17:48:42 +01:00
Andy Wilkinson 9b6587f307 Upgrade to JsonAssert 1.5.1
Closes gh-31641
2022-07-07 17:48:41 +01:00
Andy Wilkinson acc86a5d6a Upgrade to jOOQ 3.17.2
Closes gh-31640
2022-07-07 17:48:41 +01:00
Andy Wilkinson 6b186b82ad Upgrade to Jetty 11.0.11
Closes gh-31639
2022-07-07 17:48:41 +01:00
Andy Wilkinson eaed6bf5a8 Upgrade to Jetty Reactive HTTPClient 3.0.6
Closes gh-31638
2022-07-07 17:48:41 +01:00
Andy Wilkinson 075ce83258 Upgrade to Jakarta Validation 3.0.2
Closes gh-31637
2022-07-07 17:48:41 +01:00
Andy Wilkinson 500712863b Upgrade to Jakarta Json 2.0.2
Closes gh-31636
2022-07-07 17:48:41 +01:00
Andy Wilkinson 3c41fcd755 Upgrade to InfluxDB Java 2.23
Closes gh-31635
2022-07-07 17:48:40 +01:00
Andy Wilkinson fd5bcda373 Upgrade to Hibernate 5.6.10.Final
Closes gh-31634
2022-07-07 17:48:40 +01:00
Andy Wilkinson cd4e0c825a Upgrade to Hazelcast 5.1.2
Closes gh-31633
2022-07-07 17:48:40 +01:00
Andy Wilkinson 3d3cd2332a Upgrade to H2 2.1.214
Closes gh-31632
2022-07-07 17:48:40 +01:00
Andy Wilkinson 432139fa7c Upgrade to Groovy 4.0.3
Closes gh-31631
2022-07-07 17:48:40 +01:00
Andy Wilkinson 513985fc1f Upgrade to Flyway 8.5.13
Closes gh-31630
2022-07-07 17:48:40 +01:00
Andy Wilkinson 01a1d7ccd8 Upgrade to Elasticsearch 7.17.5
Closes gh-31629
2022-07-07 17:48:39 +01:00
Andy Wilkinson 44510e9f3a Upgrade to Dropwizard Metrics 4.2.10
Closes gh-31628
2022-07-07 17:48:39 +01:00
Andy Wilkinson fe108686f5 Upgrade to Couchbase Client 3.3.2
Closes gh-31627
2022-07-07 17:48:39 +01:00
Andy Wilkinson bf2117b61b Upgrade to Caffeine 3.1.1
Closes gh-31626
2022-07-07 17:48:39 +01:00
Andy Wilkinson a2807d1e15 Upgrade to Byte Buddy 1.12.12
Closes gh-31625
2022-07-07 17:48:39 +01:00
Andy Wilkinson b94527de3b Start building against Micrometer 1.8.8 snapshots
See gh-31612
2022-07-07 17:04:02 +01:00
Andy Wilkinson f417b4b9b2 Start building against Spring Data 2021.1.6 snapshots
See gh-31611
2022-07-07 17:04:02 +01:00
Andy Wilkinson ece51636fd Start building against Spring Framework 5.3.22 snapshots
See gh-31610
2022-07-07 17:04:01 +01:00
Andy Wilkinson c38a3c0da4 Start building against Reactor 2020.0.21 snapshots
See gh-31607
2022-07-07 16:37:55 +01:00
Andy Wilkinson 7f00378eaf Polish "Start building against Spring Data 2022.0.0-M5 snapshots"
See gh-31582
2022-07-07 16:32:13 +01:00
Mark Paluch 0067611396 Start building against Spring Data 2022.0.0-M5 snapshots
See gh-31582
2022-07-07 16:31:55 +01:00
Andy Wilkinson 96ade2d07a Upgrade to Jedis 4.2.3
Closes gh-31586
2022-07-07 15:13:19 +01:00
Moritz Halbritter 2dc0936db6 Add reflection hints for Jackson's basic serializers
Closes gh-31537
2022-07-07 16:09:25 +02:00
Andy Wilkinson a01c58fae7 Upgrade to WebJars Locator Core 0.52
Closes gh-31602
2022-07-07 14:34:18 +01:00
Andy Wilkinson 2e3f6833fd Upgrade to Versions Maven Plugin 2.11.0
Closes gh-31601
2022-07-07 14:34:18 +01:00
Andy Wilkinson db2b137669 Upgrade to Selenium HtmlUnit 3.62.0
Closes gh-31600
2022-07-07 14:34:18 +01:00
Andy Wilkinson 61c6a46a25 Upgrade to Rabbit AMQP Client 5.15.0
Closes gh-31598
2022-07-07 14:34:18 +01:00
Andy Wilkinson 19b7e012f3 Upgrade to Prometheus Client 0.16.0
Closes gh-31597
2022-07-07 14:34:17 +01:00
Andy Wilkinson 5f15425daa Upgrade to Postgresql 42.4.0
Closes gh-31596
2022-07-07 14:34:17 +01:00
Andy Wilkinson 9d649f154d Upgrade to Oracle Database 21.6.0.0.1
Closes gh-31595
2022-07-07 14:34:17 +01:00
Andy Wilkinson 5d6bcb453c Upgrade to OpenTelemetry 1.15.0
Closes gh-31594
2022-07-07 14:34:17 +01:00
Andy Wilkinson 6cb1a958a5 Upgrade to OkHttp 4.10.0
Closes gh-31593
2022-07-07 14:34:17 +01:00
Andy Wilkinson 7c92ec48e3 Upgrade to Maven Invoker Plugin 3.3.0
Closes gh-31592
2022-07-07 14:34:16 +01:00
Andy Wilkinson 4b650ecc7b Upgrade to Maven Enforcer Plugin 3.1.0
Closes gh-31591
2022-07-07 14:34:16 +01:00
Andy Wilkinson a6c3e8aa02 Upgrade to Maven Assembly Plugin 3.4.0
Closes gh-31590
2022-07-07 14:34:16 +01:00
Andy Wilkinson 51c6c885b9 Upgrade to Log4j2 2.18.0
Closes gh-31589
2022-07-07 14:34:16 +01:00
Andy Wilkinson 7bfc1314f9 Upgrade to Liquibase 4.12.0
Closes gh-31588
2022-07-07 14:34:16 +01:00
Andy Wilkinson 048bab4400 Upgrade to jOOQ 3.17.1
Closes gh-31587
2022-07-07 14:34:16 +01:00
Andy Wilkinson 1a76732c5f Upgrade to HtmlUnit 2.62.0
Closes gh-31585
2022-07-07 14:34:15 +01:00
Andy Wilkinson e4ff76048f Upgrade to Derby 10.16.1.1
Closes gh-31584
2022-07-07 14:34:15 +01:00
Andy Wilkinson 344a216feb Upgrade to Artemis 2.23.1
Closes gh-31583
2022-07-07 14:34:15 +01:00
Moritz Halbritter 9e3c557992 Merge branch '2.7.x' 2022-07-07 15:21:12 +02:00
Andy Wilkinson e9136e023b Adapt to trailing slashes no longer being matched by default
See gh-31563
2022-07-07 14:16:20 +01:00
Moritz Halbritter d4b1c219ab Move test imports from main to test resources
They shouldn't have been in main resources in the first place, this was
an accident.
2022-07-07 15:15:34 +02:00
Andy Wilkinson 97d96eebdf Adapt ControllerEndpointHandlerMapping to PathPatternParser default
See gh-31547
2022-07-07 14:15:23 +01:00
Moritz Halbritter 8ce3a1e51b Add resource hints for JavaLoggingSystem
See gh-31531
2022-07-07 14:31:17 +02:00
Moritz Halbritter dc5eee8f48 Polish JavaLoggingSystem 2022-07-07 14:20:13 +02:00
Moritz Halbritter 4921954200 Remove --allow-incomplete-classpath from native-image arguments
This parameter is now the default in GraalVM 22.1

Closes gh-31568
2022-07-07 14:01:18 +02:00
Moritz Halbritter 04391275c1 Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer
Closes gh-31580
2022-07-06 14:18:53 +02:00
Scott Frederick e49597c1ae Merge branch '2.7.x'
Closes gh-31559
2022-06-30 14:58:48 -05:00
Scott Frederick e24c49a09a Merge branch '2.6.x' into 2.7.x
Closes gh-31558
2022-06-30 14:58:28 -05:00
Scott Frederick 17bdc526f6 Avoid adding layers for buildpacks that exist in the builder
This commit adds validation of any buildpacks that are specified for
image building to match them against buildpacks that are bundled in
the builder. If an image buildpack's ID, version, and one layer
hash match the same information stored in a label on the builder
image, that buildpack won't be added and the buildpack bundled in
the builder will be used instead. This reduces the chance of adding to
the total count of layers in a builder image unnecessarily.

Fixes gh-31233
2022-06-30 14:35:34 -05:00
Andy Wilkinson ca070e8f3d Merge branch '2.7.x'
Closes gh-31557
2022-06-30 20:11:58 +01:00
Andy Wilkinson 5299e849b9 Merge branch '2.6.x' into 2.7.x
Closes gh-31556
2022-06-30 20:11:28 +01:00
Andy Wilkinson 6411f88f28 Upgrade to Dependency Management Plugin 1.0.12.RELEASE
Closes gh-31555
2022-06-30 19:45:40 +01:00
Adrian Bob 29beee61b5 Remove remaining Jolokia references from the documentation
See gh-31549
2022-06-30 09:52:57 +02:00
Andy Wilkinson ac59b5781f Align with breaking changes in spring-test
See gh-31241
2022-06-26 09:55:36 +01:00
Andy Wilkinson eca9343675 Merge branch '2.7.x' 2022-06-26 08:19:34 +01:00
Andy Wilkinson 2f01739e0d Polish since date on new SslStoreProvider API
See gh-31253
2022-06-26 08:18:21 +01:00
Andy Wilkinson 543d9c6e66 Merge branch '2.7.x' 2022-06-25 13:47:45 +01:00
Andy Wilkinson 71526bf44f Polish
See gh-31253
2022-06-25 13:47:25 +01:00
Andy Wilkinson a28ca4594b Merge branch '2.7.x'
Closes gh-31529
2022-06-24 18:01:31 +01:00
Andy Wilkinson 7abc7df7b8 Allow PEM certificates to be used without a key store password
Closes gh-31253
2022-06-24 18:01:20 +01:00
dreis2211 458f989cf3 Use switch expressions where appropriate
See gh-31527
2022-06-24 16:19:28 +01:00
Andy Wilkinson 836b08f49d Merge branch '2.7.x' 2022-06-24 15:03:41 +01:00
Andy Wilkinson dfb8979456 Merge branch '2.6.x' into 2.7.x 2022-06-24 15:03:25 +01:00
Andy Wilkinson c87340e5c1 Remove unnecessary throws 2022-06-24 15:02:58 +01:00
Andy Wilkinson 631b1e0d76 Merge branch '2.7.x'
Closes gh-31526
2022-06-24 13:10:10 +01:00
Andy Wilkinson 1e08f545d0 Merge branch '2.6.x' into 2.7.x
Closes gh-31525
2022-06-24 13:05:06 +01:00
Andy Wilkinson f49b16c645 Upgrade to Spring Java Format 0.0.34
Closes gh-31524
2022-06-24 12:57:52 +01:00
Andy Wilkinson 7c5aacc5f9 Adapt to upstream Spring Framework exception changes 2022-06-23 17:05:58 -07:00
Stephane Nicoll fe39598e81 Adapt to latest API change in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/28585
2022-06-23 16:30:34 +02:00
Stephane Nicoll a94e7d6672 Upgrade to Jetty 9.4.48.v20220622
Closes gh-31509
2022-06-23 08:41:23 +02:00
Stephane Nicoll 5976457271 Upgrade to Byte Buddy 1.12.11
Closes gh-31508
2022-06-23 08:41:19 +02:00
Stephane Nicoll 6484be2aa5 Upgrade to Jetty 9.4.48.v20220622
Closes gh-31507
2022-06-23 08:37:51 +02:00
Phillip Webb 2c22f21835 Merge branch '2.7.x'
Closes gh-31504
2022-06-22 20:32:23 -07:00
Phillip Webb 28775c2c53 Merge branch '2.6.x' into 2.7.x
Closes gh-31503
2022-06-22 20:31:58 -07:00
Phillip Webb 904feb2490 Polish 'Allow spring.data.cassandra.config file to override default values'
See gh-31238
2022-06-22 19:51:32 -07:00
Stern, Ittay (is9613) 1c7d99890e Allow spring.data.cassandra.config file to override default values
Update `CassandraAutoConfiguration` so that properties in a
`spring.data.cassandra.config` file can override the default values
defined in `CassandraProperties`.

This commit changes two things:

1. Any primitive on `CassandraProperties` are replaced with object values.
   This allows distinguishing between defaults values and no-values. Then
   CassandraAutoConfiguration.mapConfig() can use whenNonNull() predicate
   to ignore those.

2. `CassandraProperties` no longer populate default values on any
   property. With that, the defaults can be applied on top of the file
   spring.data.cassandra.config; i.e. the config file have higher
   precedence than the defaults, but lower that any spring.data.cassandra.*
   property.

See gh-31238
2022-06-22 19:27:40 -07:00
Phillip Webb b85469a5a5 Merge branch '2.7.x'
Closes gh-31502
2022-06-22 16:33:42 -07:00
Phillip Webb d64f601dfd Merge branch '2.6.x' into 2.7.x
Closes gh-31501
2022-06-22 16:31:52 -07:00
Phillip Webb aed4c47adb Polish CompositeHandlerExceptionResolver
See gh-31495
2022-06-22 16:23:38 -07:00
Guirong Hu 3592292e4b Use ExceptionHandler when Spring MVC uses a different management port
Update `CompositeHandlerExceptionResolver` to search for beans in
all contexts. Note that `BeanFactoryUtils.beansOfTypeIncludingAncestors`
cannot not be used since we need to pick up all beans, even if they
have the same name.

See gh-31495
2022-06-22 16:13:26 -07:00
Madhura Bhave 7cb53b3c45 Remove session store type in favor of defined order
Closes gh-27756
2022-06-22 15:22:48 -07:00
Andy Wilkinson a784156f66 Revert "Start building against Spring Session 2021.1.4 snapshots"
This reverts commit 2f40c52d81.
2022-06-22 21:13:18 +01:00
Andy Wilkinson 83932cfe94 Merge branch '2.6.x' into 2.7.x
Closes gh-31483
2022-06-22 20:54:56 +01:00
Andy Wilkinson 17c757c600 Upgrade to Spring Integration 5.5.13
Closes gh-31482
2022-06-22 20:38:19 +01:00
Andy Wilkinson a55560669b Remove YamlJsonParser
Closes gh-31498
2022-06-22 20:20:28 +01:00
Andy Wilkinson b07d5b0bb1 Merge branch '2.7.x'
Closes gh-31500
2022-06-22 19:50:01 +01:00
Andy Wilkinson 268f13dbd7 Merge branch '2.6.x' into 2.7.x
Closes gh-31499
2022-06-22 19:49:38 +01:00
Andy Wilkinson 522ea0a90e Handle malformed JSON more consistently
Closes gh-31301
2022-06-22 18:31:16 +01:00
Andy Wilkinson c9e0e8891f Make reactive user details back off with Auth Manager Resolver bean
Closes gh-31317
2022-06-22 10:41:54 +01:00
Moritz Halbritter bb6c56e5f0 Polish "Add WebClient based sender for Zipkin"
See gh-30792
2022-06-22 10:25:18 +02:00
StefanBratanov 12037bd131 Add WebClient based sender for Zipkin
See gh-30792
2022-06-22 09:58:05 +02:00
Stephane Nicoll 03b742c655 Merge branch '2.7.x' 2022-06-22 08:17:13 +02:00
Stephane Nicoll e967d0383b Merge branch '2.6.x' into 2.7.x 2022-06-22 08:16:18 +02:00
Stephane Nicoll 79d3e3080f Polish 2022-06-22 08:15:04 +02:00
Stephane Nicoll f27adeb241 Upgrade to Solr 8.11.2
Closes gh-31491
2022-06-22 08:03:53 +02:00
Stephane Nicoll 4f6bc3c2e0 Upgrade to Kotlin Coroutines 1.6.3
Closes gh-31490
2022-06-22 08:03:51 +02:00
Stephane Nicoll 7266dd5270 Upgrade to Jetty 9.4.47.v20220610
Closes gh-31489
2022-06-22 08:03:47 +02:00
Stephane Nicoll 296e88db51 Upgrade to Dropwizard Metrics 4.2.10
Closes gh-31488
2022-06-22 08:03:45 +02:00
Stephane Nicoll 72257ba302 Upgrade to Jetty 9.4.47.v20220610
Closes gh-31487
2022-06-22 07:55:16 +02:00
Stephane Nicoll e74163704c Upgrade to Dropwizard Metrics 4.2.10
Closes gh-31486
2022-06-22 07:55:14 +02:00
Stephane Nicoll 1c2e3b731b Upgrade to Spring Kafka 2.8.7
Closes gh-31377
2022-06-22 07:52:14 +02:00
Stephane Nicoll 09cd024817 Upgrade to Spring Kafka 2.8.7
Closes gh-31350
2022-06-22 07:51:32 +02:00
Phillip Webb e77f137a32 Merge branch '2.7.x'
Closes gh-31485
2022-06-21 19:10:37 -07:00
Phillip Webb 13b2de3bb8 Merge branch '2.6.x' into 2.7.x
Closes gh-31484
2022-06-21 19:10:23 -07:00
Phillip Webb 7fc9debf2a Consider super classes when detecting nested property classes
Update `PropertyDescriptor.isParentTheSame` to consider the candidate
as well as all super classes.

Fixes gh-21626
2022-06-21 19:09:32 -07:00
Phillip Webb 4c0a4cb669 Polish 2022-06-21 12:08:03 -07:00
Andy Wilkinson 965fbf4494 Polish "Use java.util.HexFormat where appropriate"
See gh-31477
2022-06-21 17:03:26 +01:00
dreis2211 cc91009b70 Use java.util.HexFormat where appropriate
See gh-31477
2022-06-21 17:02:39 +01:00
Andy Wilkinson 390554a84f Upgrade to Spring AMQP 2.4.6
Closes gh-31376
2022-06-21 16:36:55 +01:00
Andy Wilkinson 49fd727ef0 Upgrade to Spring AMQP 2.4.6
Closes gh-31348
2022-06-21 16:34:47 +01:00
Moritz Halbritter bc931cb32c Revert "Polish EndpointRequest"
This reverts commit 35997a30a3.
2022-06-21 15:43:57 +02:00
Moritz Halbritter 35997a30a3 Polish EndpointRequest
- Remove redundant cast
2022-06-21 14:30:05 +02:00
Moritz Halbritter e438338d98 Merge branch '2.7.x' 2022-06-21 14:01:47 +02:00
Moritz Halbritter ae75d4386c Merge branch '2.6.x' into 2.7.x 2022-06-21 14:01:18 +02:00
Moritz Halbritter b56b95d429 Add Apache HttpClient WebClient support to documentation 2022-06-21 14:00:55 +02:00
Moritz Halbritter c8c552d95b Polish ObservationAutoConfiguration
- Use a better name for the "only metrics, no tracing" case
2022-06-21 11:32:27 +02:00
Moritz Halbritter 06cdc91c85 Polish ObservationAutoConfiguration
- Use a better name for the "only metrics, no tracing" case
- Use more concrete return types
2022-06-21 11:31:11 +02:00
Andy Wilkinson d45e42f2e1 Upgrade to Spring Security 5.6.6
Closes gh-31351
2022-06-20 20:46:38 +01:00
Andy Wilkinson 79580617a6 Upgrade to Spring Security 5.7.2
Closes gh-31375
2022-06-20 20:33:56 +01:00
dreis2211 f2101684b7 Use pattern matching for instanceof where appropriate
Closes gh-28181
2022-06-20 18:35:32 +01:00
dreis2211 5db04da275 Use pattern matching for instanceof where appropriate
See gh-31475
2022-06-20 17:55:36 +01:00
Stephane Nicoll 8e569210ce Merge branch '2.7.x'
Closes gh-31466
2022-06-20 14:38:56 +02:00
Sébastien Deleuze b5d380c1cb Make SpringApplication Kotlin samples idiomatic
See gh-31463
2022-06-20 14:38:43 +02:00
Stephane Nicoll c04b407913 Upgrade to Spring Data 2021.2.1
Closes gh-31374
2022-06-20 14:22:25 +02:00
Stephane Nicoll 4f78f9556d Upgrade to Spring HATEOAS 1.5.1
Closes gh-31465
2022-06-20 14:21:48 +02:00
Stephane Nicoll 46a5e5d9d4 Upgrade to Spring Data 2021.1.5
Closes gh-31349
2022-06-20 14:19:53 +02:00
Stephane Nicoll 87ecbc7073 Upgrade to Spring HATEOAS 1.4.4
Closes gh-31464
2022-06-20 14:19:17 +02:00
Stephane Nicoll 3118b7380d Merge branch '2.7.x'
Closes gh-31461
2022-06-20 10:35:30 +02:00
Stephane Nicoll 8b9579eeb7 Polish "Harmonize Kotlin example"
See gh-31458
2022-06-20 10:33:34 +02:00
ningenMe 6685d49faa Harmonize Kotlin example
See gh-31458
2022-06-20 10:27:04 +02:00
dreis2211 fb45fc4819 Use Files.writeString() and Files.readString() where possible
See gh-31459
2022-06-20 09:05:09 +02:00
dreis2211 93defdaa17 Use String.repeat() where possible
See gh-31456
2022-06-20 08:03:01 +02:00
Johnny Lim 43c2f1c03c Polish AutoConfigureObservability changes
See gh-31457
2022-06-20 07:38:22 +02:00
Stephane Nicoll e746dfa677 Polish "Allow configuring WebDriver with TestNG"
See gh-27947
2022-06-19 10:35:09 +02:00
AlexCD 4872523181 Allow configuring WebDriver with TestNG
See gh-27947
2022-06-19 10:33:54 +02:00
Johnny Lim aab59c5f2e Static-import Mockito.mock()
See gh-31443
2022-06-19 10:31:28 +02:00
dreis2211 b687e1c7ee Use Runtime.version() instead of reflection
See gh-31444
2022-06-19 10:28:59 +02:00
dreis2211 a639685053 Remove obsolete Java compatibility code
See gh-31452
2022-06-19 10:22:23 +02:00
Stephane Nicoll cb22905944 Merge branch '2.7.x'
Closes gh-31455
2022-06-19 10:15:13 +02:00
Johnny Lim 11a07a9d1e Polish OAuth2ResourceServerAutoConfigurationTests
See gh-31453
2022-06-19 10:11:48 +02:00
Stephane Nicoll b99295fff4 Revert "Polish contribution"
This reverts commit a000ed4beb.

See gh-31454
2022-06-19 10:01:44 +02:00
Stephane Nicoll a000ed4beb Polish contribution
See gh-31454
2022-06-19 10:00:47 +02:00
Johnny Lim c3f1b4f595 Add Javadoc since to AbstractApplicationContextRunner.prepare()
See gh-31454
2022-06-19 09:59:47 +02:00
dreis2211 3fcb6765b1 Fix checkstyle violation
See gh-31449
2022-06-18 11:06:33 +01:00
Johnny Lim 5d7d0d8047 Use 3.0.0 for Javadoc since tags
See gh-31448
2022-06-17 16:48:58 +02:00
Stephane Nicoll a957efbdc5 Add missing org.yaml.snakeyaml.Yaml reflection hint
Closes gh-31441
2022-06-17 15:50:24 +02:00
Stephane Nicoll 3366e4de25 Upgrade to Spring LDAP 2.4.1
Closes gh-31373
2022-06-17 11:00:10 +02:00
Stephane Nicoll c61fab2777 Upgrade to Undertow 2.2.18.Final
Closes gh-31438
2022-06-17 10:59:47 +02:00
Stephane Nicoll 4f95fdea82 Upgrade to Reactive Streams 1.0.4
Closes gh-31436
2022-06-17 10:59:42 +02:00
Stephane Nicoll 91d9d48446 Upgrade to Postgresql 42.3.6
Closes gh-31435
2022-06-17 10:59:40 +02:00
Stephane Nicoll 548e8728e4 Upgrade to Netty 4.1.78.Final
Closes gh-31434
2022-06-17 10:59:38 +02:00
Stephane Nicoll e43e9c3c40 Upgrade to Neo4j Java Driver 4.4.6
Closes gh-31433
2022-06-17 10:59:35 +02:00
Stephane Nicoll 8e911affad Upgrade to MongoDB 4.6.1
Closes gh-31432
2022-06-17 10:59:33 +02:00
Stephane Nicoll c93d3201ff Upgrade to MariaDB 3.0.5
Closes gh-31431
2022-06-17 10:59:31 +02:00
Stephane Nicoll 338d8d997b Upgrade to Kotlin Coroutines 1.6.2
Closes gh-31430
2022-06-17 10:59:29 +02:00
Stephane Nicoll dbf3677c0a Upgrade to jOOQ 3.14.16
Closes gh-31429
2022-06-17 10:59:26 +02:00
Stephane Nicoll 26b64e7713 Upgrade to Hazelcast 5.1.2
Closes gh-31428
2022-06-17 10:59:24 +02:00
Stephane Nicoll 670876b52d Upgrade to H2 2.1.214
Closes gh-31427
2022-06-17 10:59:22 +02:00
Stephane Nicoll cd2a8a91da Upgrade to Groovy 3.0.11
Closes gh-31426
2022-06-17 10:59:19 +02:00
Stephane Nicoll 4d03653b74 Upgrade to Flyway 8.5.13
Closes gh-31425
2022-06-17 10:59:16 +02:00
Stephane Nicoll e60a235194 Upgrade to Embedded Mongo 3.4.6
Closes gh-31424
2022-06-17 10:59:14 +02:00
Stephane Nicoll 54e4ff8e81 Upgrade to Elasticsearch 7.17.4
Closes gh-31423
2022-06-17 10:59:12 +02:00
Stephane Nicoll 9590a9914a Upgrade to Couchbase Client 3.3.1
Closes gh-31422
2022-06-17 10:59:10 +02:00
Stephane Nicoll d82c6dc291 Upgrade to AppEngine SDK 1.9.97
Closes gh-31421
2022-06-17 10:59:07 +02:00
Stephane Nicoll 8548f1a1cb Upgrade to Undertow 2.2.18.Final
Closes gh-31420
2022-06-17 10:30:34 +02:00
Stephane Nicoll 0edf12c07c Upgrade to Reactive Streams 1.0.4
Closes gh-31418
2022-06-17 10:30:30 +02:00
Stephane Nicoll 898cf7665a Upgrade to Postgresql 42.3.6
Closes gh-31417
2022-06-17 10:30:28 +02:00
Stephane Nicoll 854578c936 Upgrade to Netty tcNative 2.0.53.Final
Closes gh-31416
2022-06-17 10:30:25 +02:00
Stephane Nicoll 9076e38f06 Upgrade to Netty 4.1.78.Final
Closes gh-31415
2022-06-17 10:30:23 +02:00
Stephane Nicoll 71e5b90948 Upgrade to Neo4j Java Driver 4.4.6
Closes gh-31414
2022-06-17 10:30:21 +02:00
Stephane Nicoll 3b20c67f02 Upgrade to jOOQ 3.14.16
Closes gh-31413
2022-06-17 10:30:19 +02:00
Stephane Nicoll 78d0db7ff0 Upgrade to Infinispan 12.1.12.Final
Closes gh-31412
2022-06-17 10:30:16 +02:00
Stephane Nicoll 623a48fb03 Upgrade to Groovy 3.0.11
Closes gh-31411
2022-06-17 10:30:14 +02:00
Stephane Nicoll ae1b47c245 Upgrade to AppEngine SDK 1.9.97
Closes gh-31410
2022-06-17 10:30:12 +02:00
Phillip Webb 657fa3e64e Merge branch '2.7.x'
Closes gh-31409
2022-06-16 15:36:29 -07:00
Phillip Webb 7c91ebb1b0 Merge branch '2.6.x' into 2.7.x
Closes gh-31408
2022-06-16 15:36:00 -07:00
Phillip Webb ae6311ddda Prevent Logback from accidentally being used in Log4J2LoggingSystemTests
Update `Log4J2LoggingSystemTests` to exclude Logback and include
'log4j-slf4j-impl'. The `ModifiedClassPathClassLoader` has also been
updated so that it no longer automatically excludes `log4j` artifacts,
instead we now use `@ClassPathExclusions` on the relevant tests.

Fixes gh-19365
2022-06-16 15:35:32 -07:00
Andy Wilkinson 4f3180540c Use Framework's MockSpringFactoriesLoader
Closes gh-31406
2022-06-16 15:40:03 +01:00
Andy Wilkinson bde06a3115 Merge branch '2.7.x' 2022-06-16 15:39:48 +01:00
Andy Wilkinson 89bef73846 Polish 2022-06-16 15:39:04 +01:00
Andy Wilkinson 80ae3f36a9 Merge branch '2.7.x'
Closes gh-31404
2022-06-16 13:06:00 +01:00
Andy Wilkinson a1cc5bf238 Allow multiple JWS algorithms to be configured
Closes gh-31321
2022-06-16 12:59:13 +01:00
Andy Wilkinson d370d19e7a Merge branch '2.7.x'
Closes gh-31403
2022-06-16 12:14:52 +01:00
Andy Wilkinson 5e1cd28d3f Merge branch '2.6.x' into 2.7.x
Closes gh-31402
2022-06-16 12:14:28 +01:00
Lars Grefer e8a1a0399a Upgrade to Bouncycastle 1.71
Closes gh-31400
2022-06-16 12:14:06 +01:00
Stephane Nicoll e5bb1cd108 Upgrade to Micrometer 1.9.1
Closes gh-31372
2022-06-16 11:04:42 +02:00
Stephane Nicoll 7e6acfd2ab Upgrade to Micrometer 1.8.7
Closes gh-31347
2022-06-16 11:03:51 +02:00
Phillip Webb d84557f1f9 Merge branch '2.7.x'
Closes gh-31396
2022-06-15 10:53:17 -07:00
Phillip Webb bcbcc53a09 Merge branch '2.6.x' into 2.7.x
Closes gh-31395
2022-06-15 10:51:40 -07:00
Phillip Webb b42f056ddb Don't close jar files early
Update `JarFile` and related classes so that `close()` is not longer
called early.

Prior to this commit, we would always immediately close the underlying
jar file to prevent file locking issues with our build. This causes
issues on certain JVMs when they attempt to verify a signed jar.

The file lock issues have now been solved by returning a custom input
stream from `JarUrlConnection` which captures and delegates the close
method.

Fixes gh-29356
2022-06-15 10:51:01 -07:00
Madhura Bhave 55d6a87fef Remove support for multiple batch jobs
Closes gh-25373
2022-06-15 09:34:10 -07:00
Andy Wilkinson fabe0637cd Raise the minimum supported version of Kotlin to 1.7
Closes gh-31391
2022-06-15 10:53:26 +01:00
Stephane Nicoll 8c7923da6a Upgrade to Spring Framework 5.3.21
Closes gh-31319
2022-06-15 11:07:33 +02:00
Stephane Nicoll 49b71005de Upgrade to Spring Framework 5.3.21
Closes gh-31318
2022-06-15 11:06:29 +02:00
Stephane Nicoll d5695c1931 Add resource hints for configuration properties
This commits introduces a RuntimeHintsRegistrar for configuration
properties. By default, it provides the necessary hint to load
application properties and yaml files in default locations.

Closes gh-31311
2022-06-15 10:15:27 +02:00
Stephane Nicoll 1bf2e0bb8e Upgrade to Reactor 2020.0.20
Closes gh-31371
2022-06-15 08:13:35 +02:00
Stephane Nicoll cb4f5ed08e Upgrade to Reactor 2020.0.20
Closes gh-31346
2022-06-15 08:12:33 +02:00
Phillip Webb 85dcbf6100 Merge branch '2.7.x'
Closes gh-31385
2022-06-14 09:38:36 -07:00
Phillip Webb e0947459b6 Merge branch '2.6.x' into 2.7.x
Closes gh-31384
2022-06-14 09:38:05 -07:00
Phillip Webb 9f8a262e6b Log a warning when a health indicator takes too long to run
Update `HealthEndpointSupport` so that it logs a warning if a health
indicator takes too long to respond.

Fixes gh-31231
2022-06-14 09:32:07 -07:00
Stephane Nicoll b536b209ab Refine assertions on exception messages 2022-06-14 18:20:27 +02:00
Stephane Nicoll b0f5fb51fc Adapt to deprecation of NestedServletException 2022-06-14 17:45:31 +02:00
Andy Wilkinson 6894f561ce Merge branch '2.7.x'
Closes gh-31382
2022-06-14 11:55:54 +01:00
Andy Wilkinson ab67136664 Merge branch '2.6.x' into 2.7.x
Closes gh-31381
2022-06-14 11:55:17 +01:00
Andy Wilkinson 2094722e5d Remove duplicate content from "The Spring WebFlux Framework"
Closes gh-31378
2022-06-14 11:52:06 +01:00
Andy Wilkinson b1ea82c1e2 Merge branch '2.7.x'
Closes gh-31380
2022-06-14 11:17:30 +01:00
Andy Wilkinson 6de4ade0cf Merge branch '2.6.x' into 2.7.x
Closes gh-31379
2022-06-14 11:16:57 +01:00
Andy Wilkinson 5d7cab09b8 Revert BindConverter changes that are now handled by Framework
See gh-28592 and spring-projects/spring-framework#28609

Closes gh-31343
2022-06-14 10:37:35 +01:00
Stephane Nicoll 97e0c8e79c Start building against Spring Kafka 2.8.7 snapshots
See gh-31377
2022-06-14 08:03:31 +02:00
Stephane Nicoll 2f40c52d81 Start building against Spring Session 2021.1.4 snapshots
See gh-31352
2022-06-14 07:59:44 +02:00
Stephane Nicoll 342d01314a Start building against Spring Security 5.6.6 snapshots
See gh-31351
2022-06-14 07:59:44 +02:00
Stephane Nicoll ba572e5e16 Start building against Spring Kafka 2.8.7 snapshots
See gh-31350
2022-06-14 07:59:43 +02:00
Stephane Nicoll d22c0a22c3 Start building against Spring Data 2021.1.5 snapshots
See gh-31349
2022-06-14 07:59:43 +02:00
Stephane Nicoll bc6d2ea16d Start building against Spring AMQP 2.4.6 snapshots
See gh-31348
2022-06-14 07:59:43 +02:00
Stephane Nicoll a2f323b4ed Start building against Micrometer 1.8.7 snapshots
See gh-31347
2022-06-14 07:59:43 +02:00
Stephane Nicoll 2c7812e504 Start building against Reactor 2020.0.20 snapshots
See gh-31346
2022-06-14 07:59:43 +02:00
Stephane Nicoll 379344ea59 Start building against Spring AMQP 2.4.6 snapshots
See gh-31376
2022-06-14 07:52:04 +02:00
Stephane Nicoll 7841789735 Start building against Spring Security 5.7.2 snapshots
See gh-31375
2022-06-14 07:51:02 +02:00
Stephane Nicoll ba4bb2ff32 Start building against Spring Data 2021.2.1 snapshots
See gh-31374
2022-06-14 07:46:51 +02:00
Stephane Nicoll 02da20ec98 Start building against Spring LDAP 2.4.1 snapshots
See gh-31373
2022-06-14 07:43:52 +02:00
Stephane Nicoll 37af43cb18 Start building against Micrometer 1.9.1 snapshots
See gh-31372
2022-06-14 07:42:02 +02:00
Stephane Nicoll 0e1417935d Start building against Reactor 2020.0.20 snapshots
See gh-31371
2022-06-14 07:40:51 +02:00
Phillip Webb 6dea2f0e8d Merge branch '2.7.x'
Closes gh-31370
2022-06-13 18:20:32 -07:00
Phillip Webb 0be5078a73 Merge branch '2.6.x' into 2.7.x
Closes gh-31369
2022-06-13 18:20:07 -07:00
Phillip Webb b3a46fc50e Document that placeholders should us the canonical property name form
Closes gh-31309
2022-06-13 18:19:47 -07:00
Phillip Webb 378e56f1d3 Add Order annotation to GraphQL RouterFunction beans
Update GraphQL auto-configuration so that `RouterFunction` beans have
and `@Order` of 0.

Fixes gh-31314
2022-06-13 16:44:20 -07:00
Phillip Webb e125b0c22d Merge branch '2.7.x'
Closes gh-31368
2022-06-13 13:41:03 -07:00
Phillip Webb 7e2b325b36 Include auto-configuration and management import files in parent POM
Update the `maven-shade-plugin` configuration to include transformation
of the new `AutoConfiguration.imports` and
`ManagementContextConfiguration.imports` files.

Fixes gh-31316
2022-06-13 13:40:53 -07:00
Stephane Nicoll cc4965ee8a Merge branch '2.7.x'
Closes gh-31367
2022-06-13 16:04:07 +02:00
Stephane Nicoll 961b979d6e Merge branch '2.6.x' into 2.7.x
Closes gh-31366
2022-06-13 16:04:00 +02:00
Anthony Vanelverdinghe 1fffdbae2a Fix typos in the reference documentation
See gh-31328
2022-06-13 16:02:48 +02:00
Stephane Nicoll 99f71941cd Merge branch '2.7.x'
Closes gh-31363
2022-06-13 15:55:21 +02:00
Stephane Nicoll 499f54a335 Merge branch '2.6.x' into 2.7.x
Closes gh-31362
2022-06-13 15:51:45 +02:00
Lars Grefer 8c9557f552 Enable Links for the Javadoc of the Gradle Plugins
See gh-31279
2022-06-13 15:51:08 +02:00
Stephane Nicoll 59f6661166 Merge branch '2.7.x'
Closes gh-31361
2022-06-13 14:54:09 +02:00
Stephane Nicoll 56913a08b8 Merge branch '2.6.x' into 2.7.x
Closes gh-31360
2022-06-13 14:54:00 +02:00
Anthony Vanelverdinghe b1ccb600f3 Remove reference to outdated location
See gh-31276
2022-06-13 14:52:38 +02:00
Stephane Nicoll 41d327df51 Merge branch '2.7.x'
Closes gh-31359
2022-06-13 14:50:41 +02:00
Stephane Nicoll 06d7e67e79 Merge branch '2.6.x' into 2.7.x
Closes gh-31358
2022-06-13 14:50:35 +02:00
Stern, Ittay (is9613) e05363f9b0 Restore Custom Favicon section in the reference guide
The section about favicon was mistakenly removed in 5fceb9d and this
commit reinstates it.

See gh-31224
2022-06-13 14:50:18 +02:00
Stephane Nicoll ed7ff31d01 Merge branch '2.7.x'
Closes gh-31357
2022-06-13 14:46:04 +02:00
Stephane Nicoll 4b0fe63bdf Merge branch '2.6.x' into 2.7.x
Closes gh-31356
2022-06-13 14:45:54 +02:00
Stephane Nicoll d896d995d1 Polish contribution
See gh-31190
2022-06-13 14:39:58 +02:00
tudormarc e313aa5f6c Document that Lombok must be configured before our annotation processor
See gh-31190
2022-06-13 14:33:21 +02:00
Stephane Nicoll 365d96daf6 Merge branch '2.7.x'
Closes gh-31355
2022-06-13 14:29:40 +02:00
Stephane Nicoll 72dd51ae0b Merge branch '2.6.x' into 2.7.x
Closes gh-31354
2022-06-13 14:29:18 +02:00
Moritz Halbritter 42e8f65b80 Move @ConditionalOnClass from methods to inner classes
Closes gh-31353
2022-06-13 13:41:58 +02:00
Henning Poettker 9fdd471adf Use Lambda-based API in Spring Security examples
See gh-31143
2022-06-13 13:15:56 +02:00
Stephane Nicoll b3601643af Add hints for web resource default locations
Closes gh-31278
2022-06-13 11:09:48 +02:00
Stephane Nicoll 063e56dbff Polish 2022-06-13 09:44:02 +02:00
Phillip Webb 380776a9b2 Merge branch '2.7.x' 2022-06-10 16:13:50 -07:00
Phillip Webb 7bf82b5349 Merge branch '2.6.x' into 2.7.x 2022-06-10 16:13:35 -07:00
Phillip Webb 63fdd729f5 Refine conversion service type check
Update fix to account for primitive types.

See gh-28592
2022-06-10 16:12:38 -07:00
Phillip Webb 8937924508 Merge branch '2.7.x'
Closes gh-31342
2022-06-10 14:30:28 -07:00
Phillip Webb beb1c15219 Merge branch '2.6.x' into 2.7.x
Closes gh-31341
2022-06-10 14:30:02 -07:00
Phillip Webb 31b0264d94 Ensure conversion service actually converts to the correct type
Update `BindConverter` with a guard to ensure that the resulting object
is the correct type.

Fixes gh-28592
2022-06-10 14:29:25 -07:00
Phillip Webb cb745b4259 Merge branch '2.7.x'
Closes gh-31340
2022-06-10 12:43:38 -07:00
Anthony Vanelverdinghe ed1e7382ab Fix typo in ImportCandidates javadoc
See gh-31277
2022-06-10 12:42:43 -07:00
Phillip Webb ff4e6f7639 Merge branch '2.7.x'
Closes gh-31339
2022-06-10 12:38:48 -07:00
Phillip Webb 0f7fa84214 Polish 'Update Dynatrace documentation for Micrometer 1.9.0'
See gh-31132
2022-06-10 12:36:45 -07:00
Georg Pirklbauer 6df9f50642 Update Dynatrace documentation for Micrometer 1.9.0
Update the actuator documentation for Dynatrace to reflect the
updates and improvements that were made in Micrometer 1.9.0.

See gh-31132
2022-06-10 12:34:05 -07:00
Andy Wilkinson 2155aac464 Upgrade to REST Assured 5.1.1
Closes gh-31333
2022-06-10 13:44:22 +01:00
Andy Wilkinson 9ff411e6af Upgrade to Mockito 4.6.1
Closes gh-31332
2022-06-10 13:44:21 +01:00
Andy Wilkinson d4be484d27 Upgrade to AssertJ 3.23.1
Closes gh-31331
2022-06-10 13:44:21 +01:00
Moritz Halbritter 3799170c4d Disable metrics and tracing in web endpoints integration tests
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter 486b3073ce Add tracing in integration tests paragraph to the documentation
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter 8fab9f290c Back off tracing auto-configurations if tracing is disabled
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter b019ff6102 Wavefront sender configuration is no longer an auto-configuration
It's now a regular configuration class which is imported from
the Wavefront metrics and tracing auto-configurations
2022-06-10 14:25:12 +02:00
Moritz Halbritter 943e9033c0 Add @ConditionalOnEnabledTracing condition
See gh-31308
2022-06-10 14:25:12 +02:00
Moritz Halbritter b250d8a1e4 Add @AutoConfigureObservability annotation
This annotation is read by ObservabilityContextCustomizerFactory, which
then sets test properties depending on the annotation attributes.

@AutoConfigureMetrics is deprecated, to support backwards compatability
it's now meta-annotated with @AutoConfigureObservability

See gh-31308
2022-06-10 14:25:12 +02:00
Andy Wilkinson 36f01eb40b Fix compilation error with Tomcat 10
There's no setter for the max header size in Tomcat 10 as it's now
inherited from the underlying HTTP 1.1 protocol. The test that
was merged forwards from 2.7.x is retained to verify that this is
the case.

See gh-31330
2022-06-10 12:40:40 +01:00
Andy Wilkinson b6ebf4a7db Merge branch '2.7.x'
Closes gh-31330
2022-06-10 11:36:11 +01:00
Andy Wilkinson 7f584a95a6 Merge branch '2.6.x' into 2.7.x
Closes gh-31329
2022-06-10 11:35:54 +01:00
Andy Wilkinson e02803d341 Configure max HTTP header size when using HTTP2 with Tomcat
Closes gh-31322
2022-06-10 11:32:57 +01:00
Moritz Halbritter 41e9867bc4 Register all ObservationHandler, regardless which context they use
Closes #31272
2022-06-10 10:12:35 +02:00
Andy Wilkinson 29cd148e05 Start building against Spring Framework 5.3.1 snapshots
See gh-31319
2022-06-09 20:55:14 +01:00
Andy Wilkinson ed897fc922 Start building against Spring Framework 5.3.21 snapshots
See gh-31318
2022-06-09 19:37:50 +01:00
Moritz Halbritter d1647cf68c Don't back off on user-supplied SpanHandlers
Instead the auto-configuration now backs off only on ZipkinSpanHandler.

Closes gh-31273
2022-06-09 15:17:14 +02:00
Andy Wilkinson 91bb5aa222 Move auto-config of ReactiveElasticClient to elasticsearch pkg
Closes gh-28068
2022-06-09 11:42:09 +01:00
Phillip Webb c56783064d Support management contexts with AOT
Refactor child management configuration and add AOT generation support.
A new `ChildManagementContextInitializer` class now performs the child
context initialization and also handles AOT processing concerns.

Closes gh-31163
2022-06-08 19:24:46 -07:00
Phillip Webb a729f71cba Polish LogbackRuntimeHintsRegistrar 2022-06-08 19:24:45 -07:00
Phillip Webb e8f9386594 Add Runnable variant of TestPropertyValues.applyToSystemProperties
Closes gh-31303
2022-06-08 19:24:45 -07:00
Phillip Webb 11184aae8d Allow ApplicationContextRunner to return non-refreshed context
Add `AbstractApplicationContextRunner.prepare` which can be used to
test an `ApplicationContext` that has been prepared but not refreshed.

Closes gh-31302
2022-06-08 19:02:12 -07:00
Andy Wilkinson 46c262d3cc Merge branch '2.7.x'
Closes gh-31283
2022-06-08 19:24:49 +01:00
Andy Wilkinson 12eb7a8795 Merge branch '2.6.x' into 2.7.x
Closes gh-31282
2022-06-08 19:24:07 +01:00
Andy Wilkinson a651061e2c Remove SpringApplicationHierarchyTests
Closes gh-31281
2022-06-08 19:23:26 +01:00
Andy Wilkinson 62f40f2c38 Apply initializers and bean registrations before registering classes
Previously, classes were registered first which meant that their
conditions were evaluated before any initializers and bean
registrations were applied. This prevented the bean registrations and
initializers from affecting the outcome of the condition evaluation.

This commit inverts the ordering so that classes are not registerd,
and therefore their conditions are not evaluated, until after the
bean registrations and initializers have been applied.

Closes gh-31280
2022-06-08 18:45:54 +01:00
Stephane Nicoll e30391ca7a Use Application as target for generated code
Closes gh-31274
2022-06-08 14:51:17 +02:00
Stephane Nicoll 8413002bcb Polish
See gh-31247
2022-06-07 20:02:06 +02:00
Andy Wilkinson 869bb91c80 Polish 2022-06-07 17:52:11 +01:00
Stephane Nicoll ac16432fad Add AOT support for immutable ConfigurationProperties bean definitions
This commit introduces a dedicated AotProcessors for immutable
configuration properties beans as their bean definition use an
instance supplier that needs special handling. If such a bean definition
is detected, dedicated code is generated that replicates the behavior
of the instance supplier.

Closes gh-31247
2022-06-07 14:26:35 +02:00
Brian Clozel 3f0c14187a Register runtime hints for @ConfigurationProperties
Prior to this commit, the `@ConfigurationProperties` annotation would
not be registered for reflection hints: this means it could be missing
at runtime in a native image and would not be registered for JDK
proxying - this can fail the synthesized annotation resolution.

This commit ensures that hints are registered for this annotation if
configuration properties are declared in the bean factory.

Fixes gh-31227
2022-06-07 09:50:56 +02:00
Stephane Nicoll e2c42e4bbf Merge branch '2.7.x'
Closes gh-31262
2022-06-07 09:16:19 +02:00
Stephane Nicoll 8e550933a8 Merge branch '2.6.x' into 2.7.x
Closes gh-31261
2022-06-07 09:16:10 +02:00
Stephane Nicoll bbb5966bca Upgrade integration tests to Apache Maven 3.8.5
Closes gh-31260
2022-06-07 09:15:41 +02:00
Stephane Nicoll 1c94f835c7 Copy AOT-generated classes
Closes gh-31245
2022-06-07 08:59:57 +02:00
Andy Wilkinson 11cbb2549e Merge branch '2.7.x'
Closes gh-31256
2022-06-06 17:03:41 +01:00
Andy Wilkinson c379456722 Remove dependency management for spring-ldap-ldif-batch
The spring-ldap-ldif-batch module was removed in Spring LDAP 2.4.0 in
favor of the equivalent code that already exists in Spring Batch.
This commit aligns Boot's dependency management with this removal.

Closes gh-31254
2022-06-06 17:01:28 +01:00
Stephane Nicoll c996e4335a Fix singleton handling of ConfigurationProperties hints
Closes gh-31248
2022-06-04 12:29:45 +02:00
Stephane Nicoll cf19c176f6 Adapt test to change in Spring Framework snapshots 2022-06-03 18:11:10 +02:00
Stephane Nicoll 2a405c94a8 Add missing test
Closes gh-31249
2022-06-03 17:41:29 +02:00
Stephane Nicoll fb439b6824 Permit AOT-generated code to run on the JVM as well
This commit updates the codebase so that AOT-generated code can run on
the JVM in an opt-in fashion alongside the existing support of native
images.

When optimizations have been generated, setting the "spring.aot.enabled"
spring property (JVM or spring.properties) allows to opt-in for that
behavior on the JVM.

Closes gh-31244
2022-06-03 10:10:56 +02:00
Stephane Nicoll 0dbcb5f6d3 Start building against Spring Framework 6.0.0-M5 snapshots
See gh-31241
2022-06-02 16:19:58 +02:00
Phillip Webb 13fba65638 Polish 2022-06-01 09:53:21 -07:00
Phillip Webb 6d80723598 Relocate AotProcessingHook
Relocate `AotProcessingHook` to be an static class of `AotProcessor`.
2022-05-31 15:51:12 -07:00
Stephane Nicoll 6e9ea85835 Adapt BasePackages bean definition for AOT processing
This commit adapts how the BasePackages bean is registered so that
AOT processing works with it out-of-the-box. Previously we were using
an instance supplier with the accumulated base packages. This commit
changes that to set a constructor argument values.

Closes gh-31223
2022-05-31 15:19:35 +02:00
Andy Wilkinson 4385926df1 Ensure that the main application class can be deduced
Closes gh-31222
2022-05-31 12:06:56 +01:00
Andy Wilkinson 5f54289e97 Allow WebApplicationType to be deduced in a native image
Closes gh-31217
2022-05-31 11:39:42 +01:00
Stephane Nicoll 44a8e91b9e Prevent main method to continue once the AOT context has been optimized
This commit makes sure that processing of the main method upon
completion of SpringApplication#run. Previously, any instructions in
the user's main method were invoked, which is not suitable to build-time
processing.

Closes gh-31219
2022-05-31 12:34:37 +02:00
Andy Wilkinson d044eaf69d Merge branch '2.7.x'
Closes gh-31221
2022-05-31 11:21:52 +01:00
Andy Wilkinson 7f291f8da0 Merge branch '2.6.x' into 2.7.x
Closes gh-31220
2022-05-31 11:14:08 +01:00
Andy Wilkinson 348662b15e Remove unused deduceFromApplicationContext and supporting code
Closes gh-31218
2022-05-31 10:57:22 +01:00
Andy Wilkinson 1ba1eff63a Merge branch '2.7.x' 2022-05-30 19:22:45 +01:00
Andy Wilkinson 430040415b Merge branch '2.6.x' into 2.7.x 2022-05-30 19:22:37 +01:00
Andy Wilkinson 0b6c147a87 Polish 2022-05-30 19:22:30 +01:00
Andy Wilkinson 12465ea6b7 Merge branch '2.7.x'
Closes gh-31214
2022-05-30 18:24:12 +01:00
Andy Wilkinson d1420b6abb Merge branch '2.6.x' into 2.7.x
Closes gh-31213
2022-05-30 18:24:00 +01:00
Andy Wilkinson da8dafe138 Make afterResolve hook used by bootJar and bootWar more robust
Previously, ResolvedDependencies used hasError on
ResolvedConfiguration to check that it was safe to work with all
of the resolved configuration's artifacts and their files. This
check is not sufficient as errors can still occur later on.

This commit updates ResolvedDependencies to use a lenient
configuration, thereby avoiding any problems that may be caused by
errors that occur after the hasError check.

Closes gh-30586
2022-05-30 18:19:47 +01:00
Andy Wilkinson 85ad4fd4b4 Merge branch '2.7.x'
Closes gh-31212
2022-05-30 17:17:26 +01:00
Andy Wilkinson 70bcade232 Merge branch '2.6.x' into 2.7.x
Closes gh-31211
2022-05-30 17:16:53 +01:00
Andy Wilkinson 419ac26e0d Use conventions for source and encoding of aggregatedJavadoc
Closes gh-31210
2022-05-30 17:15:45 +01:00
Stephane Nicoll b2e63db57f Merge branch '2.7.x'
Closes gh-31209
2022-05-30 15:14:23 +02:00
Stephane Nicoll dd437c4cf4 Merge branch '2.6.x' into 2.7.x
Closes gh-31208
2022-05-30 15:14:08 +02:00
Stephane Nicoll ad1214c972 Upgrade copyright year of changed files
See gh-31197
2022-05-30 15:13:12 +02:00
heqiang 3a0ab01066 Polish "Remove boxing"
See gh-31197
2022-05-30 15:02:58 +02:00
Stephane Nicoll a27427b977 Merge branch '2.7.x'
Closes gh-31207
2022-05-30 14:57:57 +02:00
Stephane Nicoll 95dad34482 Merge branch '2.6.x' into 2.7.x
Closes gh-31206
2022-05-30 14:57:45 +02:00
Matei Cernăianu eb8b9e17c5 Fix "spring.factories" typos in database initialization documentation
See gh-31203
2022-05-30 14:55:15 +02:00
Andy Wilkinson d354c03e63 Merge branch '2.7.x'
Closes gh-31191
2022-05-27 15:58:57 +01:00
Andy Wilkinson 682ac53f32 Ensure that config processor runs with only AutoConfiguration
Fixes gh-31186
2022-05-27 15:58:00 +01:00
Andy Wilkinson f433d250e1 Merge branch '2.7.x'
Closes gh-31189
2022-05-27 11:14:40 +01:00
Andy Wilkinson d2397bd34e Merge branch '2.6.x' into 2.7.x
Closes gh-31188
2022-05-27 11:14:29 +01:00
Andy Wilkinson 83e8c039b3 Add application/wasm to MIME mappings
Closes gh-30885
2022-05-27 11:14:04 +01:00
Andy Wilkinson a659e89dd4 Merge branch '2.7.x'
Closes gh-31187
2022-05-27 10:50:48 +01:00
Youri Bonnaffe d38bc13fd5 Remove mimepull dependency
Mimepull dependency was introduced in 1c18fd8 for gh-14924 to force the
version as the one coming from saaj-impl was not on Maven Central.
This is no longer the case.

Version 1.10.0 of Mimepull has been built with Java 11, breaking
compatibility with Java 8 for Spring Boot.

See gh-31145
2022-05-27 10:33:27 +01:00
Andy Wilkinson 90752e559a Polish "Auto-configure JvmCompilationMetrics"
See gh-31151
2022-05-27 10:18:31 +01:00
izeye f720b65dfc Auto-configure JvmCompilationMetrics
See gh-31151
2022-05-27 10:18:13 +01:00
Wim Deblauwe 1aad7bea8e Add link to Error Handling Spring Boot Starter
See gh-31156
2022-05-27 10:11:19 +01:00
Andy Wilkinson df99ad17bd Merge branch '2.7.x'
Closes gh-31184
2022-05-27 10:09:28 +01:00
Andy Wilkinson 194e9f0f79 Merge branch '2.6.x' into 2.7.x
Closes gh-31183
2022-05-27 10:02:08 +01:00
Andy Wilkinson 56c3a5f0ab Polish "Assert that sources does not contain null elements"
See gh-30878
2022-05-27 10:01:06 +01:00
Guirong Hu ebf276c005 Assert that sources does not contain null elements
See gh-30878
2022-05-27 10:00:32 +01:00
Andy Wilkinson bf56665718 Polish "Add PUT shutdown operation for Prometheus Push Gateway"
See gh-31104
2022-05-26 20:04:09 +01:00
Mattia Cansirro Cortorillo 0f99c43198 Add PUT shutdown operation for Prometheus Push Gateway
See gh-31104
2022-05-26 19:58:53 +01:00
Andy Wilkinson 36a60d8e2e Merge branch '2.7.x'
Closes gh-31181
2022-05-26 19:49:53 +01:00
Andy Wilkinson 137318a845 Merge branch '2.6.x' into 2.7.x
Closes gh-31180
2022-05-26 19:49:35 +01:00
Damiano Albani 3f91ed037f Fix Custom Layers Configuration section title in Maven plugin docs
See gh-31172
2022-05-26 19:46:11 +01:00
Andy Wilkinson 4bb5ba2bd0 Merge branch '2.7.x' 2022-05-26 18:26:52 +01:00
Andy Wilkinson 935d1264e0 Merge branch '2.6.x' into 2.7.x 2022-05-26 18:13:08 +01:00
Andy Wilkinson 3d203d0215 Polish 2022-05-26 17:30:39 +01:00
Andy Wilkinson 14af1bb2dc Polish 2022-05-26 16:54:31 +01:00
Andy Wilkinson 26b89bfc80 Remove redundant throws declarations from public APIs
Closes gh-31179
2022-05-26 16:00:47 +01:00
Andy Wilkinson 5dfa5adb75 Merge branch '2.7.x'
Closes gh-31178
2022-05-26 15:54:58 +01:00
Andy Wilkinson 455ee0ce22 Merge branch '2.6.x' into 2.7.x
Closes gh-31177
2022-05-26 15:53:38 +01:00
Andy Wilkinson ee45fd2fc8 Remove redundant throws declarations from internal APIs
Closes gh-31176
2022-05-26 15:47:35 +01:00
Andy Wilkinson b3a4982f31 Merge branch '2.6.x' into 2.7.x
Closes gh-31174
2022-05-26 14:01:23 +01:00
Andy Wilkinson cbf42dea14 Update deprecation messages to change removal version from 2.8 to 3.0
Closes gh-30903
2022-05-26 13:59:03 +01:00
Andy Wilkinson 003f747e77 Merge branch '2.7.x'
Closes gh-31170
2022-05-26 13:52:41 +01:00
Andy Wilkinson e617035dba Merge branch '2.6.x' into 2.7.x
Closes gh-31167
2022-05-26 13:45:52 +01:00
Andy Wilkinson 3e7bd582a3 Upgrade to Spring Java Format 0.0.33
Closes gh-31166
2022-05-26 13:22:23 +01:00
Eddú Meléndez 154c84ffe2 Add package-info for o.s.b.a.a.metrics.graphql
See gh-31140
2022-05-25 13:30:29 +01:00
Andy Wilkinson e13f187c37 Upgrade to REST Assured 5.1.0
Closes gh-31158
2022-05-24 13:41:12 +01:00
Andy Wilkinson f9db6ad237 Merge branch '2.7.x'
Closes gh-31152
2022-05-23 12:51:13 +01:00
Andy Wilkinson 24dc525127 Fix conditions on auto-configured WebMvcMetricsFilter
Closes gh-31150
2022-05-23 12:50:49 +01:00
Phillip Webb 68bd9d6b6d Merge branch '2.7.x' 2022-05-19 18:09:29 -07:00
Phillip Webb 06679a4c46 Merge branch '2.6.x' into 2.7.x
Closes gh-31128
2022-05-19 18:07:17 -07:00
Phillip Webb 9fa33e5645 Merge branch '2.5.x' into 2.6.x
Closes gh-31127
2022-05-19 18:04:54 -07:00
Phillip Webb 05a6447a8d Polish "Resolve errors in layers.xsd"
Validate loaded `layer.xml` files against the XSD and additionally
update `<layers>` sub elements to have a 'minOccurs' of 0.

See gh-31126
2022-05-19 18:01:55 -07:00
Liuzh 0d78323b60 Resolve errors in layers.xsd
Update `layer-*.xsd` files with following fixes:

- Rename <includeProjectDependencies> to <includeModuleDependencies>
- Rename <excludeProjectDependencies> to <excludeModuleDependencies>

See gh-31126
2022-05-19 18:00:25 -07:00
Henning Poettker 102d9ff10a Use Spring Batch Bom
See gh-31122
2022-05-19 13:15:00 +01:00
Stephane Nicoll 1b1e6e6f73 Merge branch '2.7.x' 2022-05-19 09:21:09 +02:00
Stephane Nicoll 63fc60d354 Upgrade to SendGrid 4.9.2
Closes gh-31116
2022-05-19 09:19:56 +02:00
Stephane Nicoll 8fc1f07901 Upgrade to Spring Batch 5.0.0-M3
Closes gh-30459
2022-05-19 09:05:05 +02:00
Stephane Nicoll d013237d87 Upgrade to Spring Integration 6.0.0-M3
Closes gh-31063
2022-05-19 09:04:42 +02:00
Stephane Nicoll 136a577cdc Upgrade to Spring Session 2022.0.0-M2
Closes gh-30639
2022-05-19 09:03:22 +02:00
Stephane Nicoll 4a310ff7b9 Upgrade to Spring Session Bom 2021.2.0
Closes gh-31021
2022-05-19 09:02:49 +02:00
Andy Wilkinson 5959c6eec8 Prohibit Jakarta JMS upgrade that exceeds Jakarta EE 9 baseline
See gh-31045
2022-05-18 21:09:27 +01:00
Andy Wilkinson fd2459ccac Upgrade to Thymeleaf 3.1.0.M2
Closes gh-31110
2022-05-18 21:07:42 +01:00
Andy Wilkinson abfb675d20 Upgrade to Spring Security 6.0.0-M5
Closes gh-31101
2022-05-18 19:22:16 +01:00
Andy Wilkinson a712b1e6b0 Upgrade to Spring Security 5.6.5
Closes gh-31102
2022-05-18 19:19:47 +01:00
Andy Wilkinson e82def03ca Upgrade to Spring Security 5.5.8
Closes gh-31096
2022-05-18 19:18:24 +01:00
Andy Wilkinson d46c09cda3 Upgrade to Spring Security 5.7.1
Closes gh-31100
2022-05-18 17:38:59 +01:00
Andy Wilkinson cc93a0a30e Upgrade to Spring Batch 4.3.6
Closes gh-31020
2022-05-18 17:38:09 +01:00
Andy Wilkinson 69edce0629 Upgrade to Spring Batch 4.3.6
Closes gh-31011
2022-05-18 17:37:11 +01:00
Andy Wilkinson 7f60c67074 Upgrade to Spring Batch 4.3.6
Closes gh-31003
2022-05-18 17:35:55 +01:00
Brian Clozel e34187d05f Upgrade to Spring for GraphQL 1.0.0
Closes gh-30858
2022-05-18 18:31:18 +02:00
Stephane Nicoll 216d156968 Refine native profile to use a classifier for the repackaged jar
This commit refines 80470f0b26 so that the 'repackage' goal of the
Spring Boot maven plugin uses a classifier. Previously, a regular
package with the profile fails as the Native Build Tools is trying to
use the repackaged archive as a regular jar file.

This is temporary as we'd like to explore other solutions, including
suggesting an additional option in the NBT plugin itself that uses the
regular classpath, rather than the produced jar.

See gh-30830
2022-05-18 15:45:40 +02:00
Andy Wilkinson 723a7b2bff Upgrade to Spring Kafka 3.0.0-M4
Closes gh-30645
2022-05-18 14:07:58 +01:00
Andy Wilkinson 842cea2fc1 Merge branch '2.7.x' 2022-05-18 13:18:20 +01:00
Guirong Hu 1d7f7c2d28 Restore Spring Security dependency check for SpringSecurityDialect
See gh-31033
2022-05-18 13:16:24 +01:00
Andy Wilkinson 646d582393 Merge branch '2.6.x' into 2.7.x
Closes gh-31099
2022-05-18 13:14:46 +01:00
Andy Wilkinson e407bae8c8 Merge branch '2.5.x' into 2.6.x
Closes gh-31098
2022-05-18 13:14:15 +01:00
Andy Wilkinson 5e78bef9f8 Test security dialect auto-config without Spring Security
Closes gh-31097
2022-05-18 13:06:09 +01:00
Andy Wilkinson 96c2d08fc4 Remove support for Solr as it is not compatible with Jetty 11
Closes gh-31054
2022-05-18 11:33:55 +01:00
Andy Wilkinson c4beca3e01 Fix Maven-based AOT generation on Windows
Closes gh-30525
2022-05-18 10:54:35 +01:00
Stephane Nicoll 2f46928f84 Upgrade to Spring Integration 5.5.12
Closes gh-31062
2022-05-18 08:58:50 +02:00
Stephane Nicoll 01288b61af Upgrade to Spring Integration 5.5.12
Closes gh-31061
2022-05-18 08:54:57 +02:00
Stephane Nicoll 4eb778df43 Upgrade to Spring Integration 5.5.12
Closes gh-31060
2022-05-18 08:54:24 +02:00
Phillip Webb f8a41d34aa Merge branch '2.7.x' 2022-05-17 22:22:08 -07:00
Phillip Webb 23eceb0d8a Merge branch '2.6.x' into 2.7.x 2022-05-17 22:21:41 -07:00
Phillip Webb ea41e89c6c Merge branch '2.5.x' into 2.6.x 2022-05-17 22:21:10 -07:00
Phillip Webb 7d2f1bafc0 Update copyright year of changed files 2022-05-17 22:20:05 -07:00
Phillip Webb ea881aadc6 Merge branch '2.7.x' 2022-05-17 22:19:08 -07:00
Phillip Webb 13670e556b Merge branch '2.6.x' into 2.7.x
Closes gh-31095
2022-05-17 22:18:53 -07:00
Phillip Webb 0beccde6ee Merge branch '2.5.x' into 2.6.x
Closes gh-31094
2022-05-17 22:18:38 -07:00
Phillip Webb 7da42d7139 Allow tests to pass when a NAME environment variable exists
Update `ConfigurationPropertiesTests` so that it will pass even if a
local `NAME` environment variable is declared.

Closes gh-31076
2022-05-17 22:16:24 -07:00
Phillip Webb e83ed4fe5e Merge branch '2.7.x' 2022-05-17 22:16:02 -07:00
Phillip Webb fbde59d635 Merge branch '2.6.x' into 2.7.x
Closes gh-31093
2022-05-17 22:14:40 -07:00
Phillip Webb 6bce0c5044 Merge branch '2.5.x' into 2.6.x
Closes gh-31092
2022-05-17 22:14:21 -07:00
Phillip Webb 44c979beb0 Reorder default property sources after @PropertySource processing
Update `SpringApplication` so that the `DefaultPropertiesPropertySource`
is moved to the end after `@PropertySource` annotations have been
processed. This restores functionality that used to be handled by
the `ConfigFileApplicationListener` and was inadvertently dropped
when the `ConfigDataEnvironmentPostProcessor` was developed.

Fixes gh-31068
2022-05-17 22:13:49 -07:00
Phillip Webb 06f8041e4d Merge branch '2.7.x' 2022-05-17 21:50:42 -07:00
Phillip Webb d5d5997be7 Merge branch '2.6.x' into 2.7.x 2022-05-17 21:49:20 -07:00
Phillip Webb 99f5c781a5 Merge branch '2.5.x' into 2.6.x 2022-05-17 21:48:50 -07:00
Phillip Webb 350d27fe50 Polish code to use method references when possible 2022-05-17 21:16:42 -07:00
Scott Frederick 8a1c8b5c2c Fix deprecation warning
See gh-30978
2022-05-17 19:25:24 -05:00
Scott Frederick 8e38e28e94 Merge branch '2.7.x' 2022-05-17 18:47:13 -05:00
Scott Frederick 03deb1d067 Merge branch '2.6.x' into 2.7.x
Closes gh-31089
2022-05-17 18:46:59 -05:00
Scott Frederick f395cfa255 Merge branch '2.5.x' into 2.6.x
Closes gh-31088
2022-05-17 18:46:38 -05:00
Scott Frederick 50e27333d2 Tolerate failures when recording WebClient metrics
Fixes gh-30978
2022-05-17 18:45:37 -05:00
Madhura Bhave f3cacbe6ec Fix formatting 2022-05-17 14:42:11 -07:00
Madhura Bhave c730ab7d0c Merge branch '2.7.x' into main 2022-05-17 14:29:36 -07:00
Scott Frederick 7d459a13c2 Add properties for SAML relying party single logout
Closes gh-30128

Co-authored-by: Madhura Bhave <bhavem@vmware.com>
2022-05-17 14:07:48 -07:00
Andy Wilkinson b35006f0f4 Merge branch '2.7.x' 2022-05-17 18:37:27 +01:00
Andy Wilkinson 179e37279d Merge branch '2.6.x' into 2.7.x
Closes gh-31086
2022-05-17 18:37:05 +01:00
Andy Wilkinson e3b2088e85 Merge branch '2.5.x' into 2.6.x
Closes gh-31085
2022-05-17 18:36:54 +01:00
Andy Wilkinson cc2d68968d Upgrade to Maven Resolver 1.6.3
This commit also expands our internal dependency management for
Maven Resolver to cover all of the modules upon which we depend.

Closes gh-31083
2022-05-17 17:51:37 +01:00
Andy Wilkinson 1238e1f20b Upgrade to Kafka 3.2.0
Closes gh-31084
2022-05-17 17:48:08 +01:00
Stephane Nicoll 234eba327d Upgrade to Hibernate 5.6.9.Final
Closes gh-31081
2022-05-17 16:38:05 +02:00
Stephane Nicoll b196a78787 Upgrade to Flyway 8.5.11
Closes gh-31080
2022-05-17 16:38:02 +02:00
Andy Wilkinson bcc27c5d22 Deleting existing output before running AOT processing
Closes gh-30981
2022-05-17 15:33:45 +01:00
Andy Wilkinson 56949250ef Polish 2022-05-17 15:19:59 +01:00
Andy Wilkinson 3e19bd6165 Merge branch '2.7.x' 2022-05-17 15:07:59 +01:00
Andy Wilkinson 57598490bf Merge branch '2.6.x' into 2.7.x
Closes gh-31079
2022-05-17 15:04:53 +01:00
Andy Wilkinson f6b095bdfd Merge branch '2.5.x' into 2.6.x
Closes gh-31078
2022-05-17 15:03:57 +01:00
Andy Wilkinson f19d91561b Manage version of all Artemis modules upon which the build depends
Closes gh-31077
2022-05-17 15:01:23 +01:00
izeye 74a8fffe9f Polish LogbackRuntimeHintsRegistrarTests
See gh-31074
2022-05-17 13:28:26 +02:00