Commit Graph

21053 Commits

Author SHA1 Message Date
Johnny Lim 1b5fc89b43 Polish
See gh-35576
2023-05-22 16:17:05 +02:00
Eddú Meléndez a3caf8102e Polish
See gh-35577
2023-05-22 15:43:14 +02:00
Scott Frederick 0ca3ab7249 Polish Javadoc
See gh-35545
2023-05-19 14:20:14 -05:00
Phillip Webb 1ec78e5437 Add devtools and docker-compose to test maven repository
See gh-35548
2023-05-18 15:15:16 -07:00
Phillip Webb c2961a1e4a Exclude docker-compose and devtools during AOT processing
Update `ProcessAotMojo` so that `spring-boot-docker-compose` and
`spring-boot-devtools` are not included on the classpath.

Fixes gh-35548
2023-05-18 11:21:13 -07:00
Andy Wilkinson 713d74d794 Merge branch '3.0.x'
See gh-35554
2023-05-18 09:32:06 +01:00
Andy Wilkinson 54e769be3a Polish
See gh-35553
2023-05-18 09:31:49 +01:00
Andy Wilkinson dd74f8caba Merge branch '3.0.x'
Closes gh-35554
2023-05-18 08:57:08 +01:00
Andy Wilkinson af9cd8cf0b Merge branch '2.7.x' into 3.0.x
Closes gh-35553
2023-05-18 08:56:49 +01:00
Phillip Webb 418dd1ba5b Return 406 status code if welcome page is not accepted
Add `WelcomePageNotAcceptableHandlerMapping` which will return
an HTTP 406 status if a suitable welcome page is found but
cannot be accepted for the request.

An additional mapper is used so that we don't need to change
the order of the `WelcomePageHandlerMapping`. It's possible
that users may have additional root handler mappings
registered to run after the `WelcomePageHandlerMapping`
and we still need to respect those.

Fixes gh-35552
2023-05-18 08:55:45 +01:00
Andy Wilkinson b6e56c85a0 Upgrade to Json-smart 2.4.11
Closes gh-35551
2023-05-18 08:23:18 +01:00
Andy Wilkinson e6160fca8e Upgrade to Jersey 3.1.2
Closes gh-35550
2023-05-18 08:23:02 +01:00
Andy Wilkinson cc2bb7cade Upgrade to Json-smart 2.4.11
Closes gh-35549
2023-05-18 08:17:37 +01:00
Andy Wilkinson 75ffbc921d Account for new loggers property in FlywayPropertiesTets
See gh-35158
2023-05-18 08:03:25 +01:00
Phillip Webb e3aac5913e Polish property order
Keep "flyway teams" properties at the end.
2023-05-17 17:32:06 -07:00
Phillip Webb cf95ae92ea Allow flyway loggers to be configured and provide SLF4J default
Add `spring.flyway.loggers` property which can be used to configure
Flyway loggers and has a default value of "slf4j".

Closes gh-35158
2023-05-17 17:24:29 -07:00
Phillip Webb d7b4353e99 Polish "Add property defaults for Spring Authorization Server"
See gh-35460
2023-05-17 17:06:54 -07:00
Steve Riesenberg 42c3cba18e Add property defaults for Spring Authorization Server
See gh-35460
2023-05-17 17:06:39 -07:00
Phillip Webb 3b1f4e6296 Upgrade to Spring Batch 5.0.2
Closes gh-35309
2023-05-17 16:47:09 -07:00
Phillip Webb f88cc5eb94 Upgrade to Spring Batch 5.0.2
Closes gh-35300
2023-05-17 16:45:46 -07:00
Phillip Webb 0743da4987 Merge branch '3.0.x'
Closes gh-35546
2023-05-17 16:42:38 -07:00
Phillip Webb 4072588c29 Polish "Fix invalid Zipkin Reporter back-off behavior"
See gh-35455
2023-05-17 16:38:03 -07:00
ryosuke-hasebe 903e19854d Fix invalid Zipkin Reporter back-off behavior
Update `ReporterConfiguration` so that `spanReporter` back off
if a `Reporter` bean is defined. Prior to this commit, only
`AsyncReporter` beans would be considered.

See gh-35455
2023-05-17 16:36:19 -07:00
Phillip Webb 9bacf4218c Set 'spring.docker.compose.readiness.wait' property in devtools
Default 'spring.docker.compose.readiness.wait' to `ONLY_IF_STARTED`
when using devtools.

See gh-35435
2023-05-17 16:27:00 -07:00
Andy Wilkinson 6ad71c9b0c Reduce number of CLI calls to improve startup time with devtools
Update `DockerComposeLifecycleManager` so that `docker ps` is
not called multiple times.

See gh-35435
2023-05-17 16:27:00 -07:00
Phillip Webb b0c76c1f79 Cache docker commands to improve startup time with devtools
Update `DockerCli` so that the docker commands are cached. This helps
improve startup time when using devtools with docker compose.

See gh-35435
2023-05-17 16:27:00 -07:00
Phillip Webb a8602a1814 Allow docker compose service readiness checks to be bypassed
Add `spring.docker.compose.readiness.wait` property that can be used to
determine how Spring Boot should wait for docker compose services to
become ready.

Fixes gh-35545
2023-05-17 16:27:00 -07:00
Phillip Webb 6b0b6ccf49 Move docker compose readiness code and make it package-private
The `ReadinessCheck` interface has been removed making the dedicated
package less necessary. By relocating the code we can make more of it
pacakge-private.

See gh-35544
2023-05-17 16:26:59 -07:00
Phillip Webb 060581d078 Remove pluggable docker compose ReadinessCheck
Remove pluggable `ReadinessCheck` interface and only use the
`TcpConnectServiceReadinessCheck` implementation for now. We
may re-introduce pluggable checks in a future version.

See gh-35544
2023-05-17 16:26:59 -07:00
Andy Wilkinson 3d41e41b94 Polish
Make logger a static field.
2023-05-17 16:26:59 -07:00
Johnny Lim 54f85b1181 Fix since version for ImageReference
See gh-35459
2023-05-17 16:02:32 -05:00
Andy Wilkinson 1097164a0e Merge branch '3.0.x'
Closes gh-35457
2023-05-17 10:18:58 +01:00
Andy Wilkinson aabb164892 Merge branch '2.7.x' into 3.0.x
Closes gh-35456
2023-05-17 10:18:30 +01:00
Andy Wilkinson d66563d544 Polish "Improve formatting of Kotlin permitAll example"
See gh-35454
2023-05-17 10:12:05 +01:00
Junsu Park 11a1de1e64 Improve formatting of Kotlin permitAll example
See gh-35454
2023-05-17 10:11:29 +01:00
Stephane Nicoll 7c62a6ad3d Upgrade to Spring Integration 6.1.0
Closes gh-35314
2023-05-17 08:55:01 +02:00
Phillip Webb ae90add7c7 Polish 2023-05-16 14:04:48 -07:00
Phillip Webb 595fc13b34 Future proof SpringApplication.from(...) by returning a wrapper type
Update `SpringApplication.run` to that it returns a wrapper which
provides access to the `ApplicationContext` rather than the
`ApplicationContext` directly.

This should provide a natural place to add more accessors in the future
should we need to.

Closes gh-35451
2023-05-16 14:04:48 -07:00
Ben Gilbert 7674c55cd7 Align spring.flyway.execute-in-transaction property with Flyway default
See gh-35447
2023-05-16 15:05:48 -05:00
Andy Wilkinson f5ff8007be Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
2023-05-16 19:46:43 +01:00
Sébastien Deleuze becff01db1 Improve Kotlin Testcontainers samples
Make those code samples more idiomatic.

See gh-35446
2023-05-16 19:28:47 +01:00
Andy Wilkinson c631f04391 Upgrade to Spring Integration 5.5.18
Closes gh-35294
2023-05-16 19:23:36 +01:00
Andy Wilkinson 541c58336b Upgrade to Undertow 2.3.6.Final
Closes gh-35450
2023-05-16 19:22:43 +01:00
Andy Wilkinson 7ce95225cb Upgrade to Spring Session 3.1.0
Closes gh-35317
2023-05-16 19:22:39 +01:00
Andy Wilkinson b4b870a531 Upgrade to Spring GraphQL 1.2.0
Closes gh-35312
2023-05-16 19:22:38 +01:00
Andy Wilkinson df35f035b4 Upgrade to Spring Authorization Server 1.1.0
Closes gh-35308
2023-05-16 19:22:37 +01:00
Brian Clozel b26115711f Remove unnecessary test for GraphQL Connection
This commit removes an unnecessary test that checks for the pagination
and Connection support in Spring for GraphQL. After a change in
spring-projects/spring-graphql#707, we no longer can test this in
isolation, nor does it make sense to test this integration that
deeply.

See gh-35449
2023-05-16 18:49:19 +01:00
Andy Wilkinson 99b2de02b3 Upgrade to Undertow 2.3.6.Final
Closes gh-35448
2023-05-16 16:45:24 +01:00
Andy Wilkinson 6c7e151cb2 Upgrade to Spring GraphQL 1.1.4
Closes gh-35303
2023-05-16 16:45:19 +01:00
Andy Wilkinson 1dbe09c553 Revert "Upgrade to Testcontainers 1.18.1"
This reverts commit a6db093ec4.

See gh-35430
2023-05-16 11:21:01 +01:00
Andy Wilkinson 37cc6b6a70 Merge branch '3.0.x'
Closes gh-35444
2023-05-16 09:27:30 +01:00
Andy Wilkinson c39a37cd23 Exclude developmentOnly dependences from AOT processing classpaths
Fixes gh-35433
2023-05-16 09:26:20 +01:00
Stephane Nicoll 2de6577140 Upgrade to Spring Security 6.1.0
Closes gh-35316
2023-05-16 07:49:23 +02:00
Stephane Nicoll 416b9122ac Upgrade to Netty 4.1.92.Final
Closes gh-35443
2023-05-16 07:48:39 +02:00
Stephane Nicoll 47cd3bb052 Upgrade to Netty 4.1.92.Final
Closes gh-35441
2023-05-16 07:46:24 +02:00
Stephane Nicoll a9739e109f Upgrade to Hazelcast 5.1.6
Closes gh-35440
2023-05-16 07:46:20 +02:00
Phillip Webb 08c3cccc92 Merge branch '3.0.x' 2023-05-15 22:20:39 -07:00
Phillip Webb 4e305cc209 Merge branch '2.7.x' into 3.0.x 2023-05-15 22:20:32 -07:00
Phillip Webb a75cd014fc Merge branch '2.6.x' into 2.7.x 2023-05-15 22:20:23 -07:00
Phillip Webb 95d1cb9884 Merge branch '2.5.x' into 2.6.x 2023-05-15 22:20:11 -07:00
Phillip Webb 8316a96515 Polish 2023-05-15 22:19:06 -07:00
Phillip Webb 25b0a4a67b Merge branch '2.5.x' into 2.6.x
Fixes gh-35438
2023-05-15 22:12:57 -07:00
Andy Wilkinson 086b1e5f58 Stop WebFilterChainPostProcessor from causing eager init
Fixes gh-35437
2023-05-15 22:12:32 -07:00
Phillip Webb 1ca1145875 Test compatibility with SnakeYAML 1.32 and 1.33 versions
Closes gh-35434
2023-05-15 10:15:51 -07:00
Stephane Nicoll a6db093ec4 Upgrade to Testcontainers 1.18.1
Closes gh-35430
2023-05-15 16:15:18 +02:00
Stephane Nicoll 6b6c3d79d6 Upgrade to Spring Kafka 3.0.7
Closes gh-35376
2023-05-15 16:15:17 +02:00
Stephane Nicoll d0ba57658c Upgrade to SAAJ Impl 3.0.2
Closes gh-35432
2023-05-15 16:15:16 +02:00
Stephane Nicoll 64cc8212d9 Upgrade to jOOQ 3.18.4
Closes gh-35431
2023-05-15 16:15:10 +02:00
Stephane Nicoll ac8a756485 Upgrade to Spring Kafka 3.0.7
Closes gh-35375
2023-05-15 16:12:57 +02:00
Stephane Nicoll cf0e6822fc Upgrade to SAAJ Impl 3.0.2
Closes gh-35429
2023-05-15 16:12:57 +02:00
Stephane Nicoll db222dfd0f Upgrade to jOOQ 3.17.13
Closes gh-35428
2023-05-15 16:12:52 +02:00
Stephane Nicoll 2b461892c3 Upgrade to Hazelcast 5.1.6
Closes gh-35427
2023-05-15 16:12:47 +02:00
Johnny Lim 4239b96943 Polish
See gh-35417
2023-05-15 11:33:10 +02:00
Johnny Lim e4bf2187bc Revert accidental author changes in FlywayAutoConfiguration
See commit 7ffacf43f3

See gh-35418
2023-05-15 11:27:37 +02:00
Moritz Halbritter aa0fa42ebd Merge branch '3.0.x'
Closes gh-35425
2023-05-15 11:22:13 +02:00
Moritz Halbritter 9e963bce58 Add Hibernate runtime hints
This adds hints for the two No JtaPlatform candidates as well as for
the naming strategies.

Closes gh-35423
2023-05-15 11:12:02 +02:00
Stephane Nicoll b4c906c010 Upgrade to Spring Data Bom 2023.0.0
Closes gh-35310
2023-05-15 08:22:47 +02:00
Stephane Nicoll 99c7257b6c Upgrade to Micrometer Tracing 1.1.1
Closes gh-35421
2023-05-15 08:22:46 +02:00
Stephane Nicoll 9a10aa356e Upgrade to Spring Data Bom 2022.0.6
Closes gh-35301
2023-05-15 08:21:24 +02:00
Stephane Nicoll e4bd62499d Upgrade to Micrometer Tracing 1.0.6
Closes gh-35420
2023-05-15 08:21:24 +02:00
Stephane Nicoll 5f86c11f92 Upgrade to Spring Data Bom 2021.2.12
Closes gh-35292
2023-05-15 08:20:01 +02:00
Phillip Webb c984ddb6b7 Merge branch '2.5.x' into 2.6.x
Closes gh-35415
2023-05-12 14:22:40 -07:00
Phillip Webb ef1401fcc9 Fix formatting 2023-05-12 14:20:40 -07:00
Andy Wilkinson d1d990acd7 Improve compatibility with SnakeYAML 2.0
Closes gh-35414
2023-05-12 14:16:45 -07:00
Phillip Webb 27c8da66f1 Merge branch '2.5.x' into 2.6.x
Closes gh-35412
2023-05-12 13:27:46 -07:00
Madhura Bhave 307f3c3399 Use endpoint mappings in CloudFoundry integration
Closes gh-35411
2023-05-12 13:23:13 -07:00
Phillip Webb e3ed87d165 Merge branch '3.0.x' 2023-05-12 13:21:52 -07:00
Phillip Webb 92e420a098 Merge branch '2.7.x' into 3.0.x 2023-05-12 13:14:12 -07:00
Phillip Webb 57e45dfb21 Update copyright year of changed files 2023-05-12 13:01:43 -07:00
Phillip Webb ef4b09718c Fix loading of PKCS#8 PEM encoded EC and DSA keys for buildpack
Polish and port support for PKCS#8 PEM encoded EC and DSA keys to
the buildpack code.

See gh-35322
2023-05-12 13:01:30 -07:00
Phillip Webb e9c4a5d663 Polish 2023-05-12 13:01:30 -07:00
Phillip Webb 585286e472 Revert "Resolve errors in layers.xsd" for 2.5
Revert layers.xsd fix to reduce risk of a regression since it has not
yet made it into a 2.5 release.

This reverts commit f185b0767a, reversing
changes made to bf3c6dfdba.

See gh-31126
2023-05-12 09:42:25 -07:00
Moritz Halbritter b70399e998 Merge branch '3.0.x' 2023-05-12 12:03:32 +02:00
Moritz Halbritter 7b4056df7f Merge branch '2.7.x' into 3.0.x 2023-05-12 12:00:11 +02:00
Moritz Halbritter 700e89097c Polish
See https://stackoverflow.com/questions/28671903/the-hashsett-removeall-method-is-surprisingly-slow
2023-05-12 11:57:33 +02:00
Stephane Nicoll e60944fba1 Upgrade to Spring HATEOAS 2.1.0
Closes gh-35313
2023-05-12 08:56:19 +02:00
Stephane Nicoll 8a0c405150 Upgrade to Spring LDAP 3.0.3
Closes gh-35404
2023-05-12 08:54:31 +02:00
Stephane Nicoll 8731e777d8 Upgrade to Spring HATEOAS 2.0.4
Closes gh-35325
2023-05-12 08:54:25 +02:00
Andy Wilkinson 01ba8c071f Upgrade to Spring WS 4.0.4
Closes gh-35318
2023-05-11 18:30:10 +01:00
Andy Wilkinson 352526b098 Upgrade to Spring LDAP 3.1.0
Closes gh-35315
2023-05-11 18:30:10 +01:00
Andy Wilkinson ca36c0b3ae Upgrade to Spring WS 4.0.4
Closes gh-35304
2023-05-11 18:27:26 +01:00
Andy Wilkinson 9f55d5de18 Revert "Start building against Spring WS 3.1.7 snapshots"
This reverts commit 2b03e51a19.

See gh-35295
2023-05-11 18:14:35 +01:00
Andy Wilkinson 2ca787f78c Merge branch '3.0.x'
Closes gh-35400
2023-05-11 13:47:55 +01:00
Andy Wilkinson acafb907f6 Generate hints for all methods that JavaBeanBinder may call
Fixes gh-35397
2023-05-11 13:34:43 +01:00
Andy Wilkinson c254610e4d Improve testing of BindableRuntimeHintsRegistrar
Closes gh-35398
2023-05-11 13:33:47 +01:00
Andy Wilkinson 88866d7baf Merge branch '3.0.x'
Closes gh-35399
2023-05-11 12:11:29 +01:00
Andy Wilkinson 2d08ba18c1 Improve testing of BindableRuntimeHintsRegistrar
Closes gh-35398
2023-05-11 11:59:34 +01:00
Moritz Halbritter e930801eb1 Separate tag in the Docker API tag call
Closes gh-35358
2023-05-11 09:52:52 +02:00
Moritz Halbritter d00e070cdb Separate tag in the Docker API tag call
Closes gh-35358
2023-05-11 09:52:45 +02:00
Moritz Halbritter 4eef8d5a53 Separate tag in the Docker API tag call
Closes gh-35358
2023-05-11 09:52:41 +02:00
Phillip Webb 60930c0285 Merge branch '2.5.x' into 2.6.x 2023-05-10 23:33:42 -07:00
Phillip Webb 9af19370a6 Backport build and CI concerns
Backport build and CI concerns primarily related to repo.spring.io
changes and Docker config.
2023-05-10 23:29:30 -07:00
Scott Frederick 271cbb76c1 Improve documentation for including Docker Compose support in a build
Closes gh-35384
2023-05-10 13:42:36 -05:00
Scott Frederick 8377306668 Improve error when Docker Compose file not found
Fixes gh-35383
2023-05-10 13:26:59 -05:00
Steve Riesenberg 10feecbd08 Fix redirect to login page for token requests
Fixes an issue where auto-configuration for Spring Authorization Server
was overriding the default exception handling (AuthenticationEntryPoint)
resulting in anonymous requests to the token endpoint being redirected
to the Spring Security login page instead of returning 401 Unauthorized.

Auto-configuration now registers a defaultAuthenticationEntryPointFor
that is added to any other entry points already configured.

See gh-35368
2023-05-10 11:32:06 +02:00
Christoph Dreis 6086e81ccd Fix configuring replica set via PropertiesMongoConnectionDetails
See gh-35370
2023-05-10 11:23:19 +02:00
Moritz Halbritter 9f787050b4 Merge branch '3.0.x'
Closes gh-35381
2023-05-10 11:08:33 +02:00
Moritz Halbritter 53d2a9fb34 Merge branch '2.7.x' into 3.0.x
Closes gh-35380
2023-05-10 10:58:03 +02:00
Moritz Halbritter ec4d52e381 Add ReactiveResponseConsumer classpath check to http5 auto-configuration
Closes gh-34964
2023-05-10 10:47:08 +02:00
Moritz Halbritter 0ebb32e7f0 Merge branch '3.0.x'
Closes gh-35379
2023-05-10 10:28:57 +02:00
Moritz Halbritter 7e50485b23 Merge branch '2.7.x' into 3.0.x
Closes gh-35378
2023-05-10 10:28:47 +02:00
Moritz Halbritter 947ac8df73 Map MinIdle and MaxValidationTime to R2DBC pools
Closes gh-34724
2023-05-10 10:16:43 +02:00
Stephane Nicoll d488759cae Start building against Spring WS 4.0.4 snapshots
See gh-35318
2023-05-10 09:19:06 +02:00
Stephane Nicoll e3c126ae54 Start building against Spring Batch 5.0.2 snapshots
See gh-35309
2023-05-10 09:19:06 +02:00
Stephane Nicoll 157e0d5b20 Start building against Spring Kafka 3.0.7 snapshots
See gh-35376
2023-05-10 09:19:06 +02:00
Stephane Nicoll a9e7b902b5 Start building against Spring Kafka 3.0.7 snapshots
See gh-35375
2023-05-10 08:41:41 +02:00
Stefano Cordio d802ca017b Small assertions improvements
See gh-34796
2023-05-10 08:38:07 +02:00
Johnny Lim ff9fd1abeb Polish
See gh-35185
2023-05-10 08:31:36 +02:00
Yanming Zhou 1cddb2a55f Fix typo
See gh-35369
2023-05-10 08:27:33 +02:00
Moritz Halbritter 05add58976 Merge branch '3.0.x'
Closes gh-35373
2023-05-10 08:23:35 +02:00
Moritz Halbritter 42cc84070b Merge branch '2.7.x' into 3.0.x
Closes gh-35372
2023-05-10 08:23:27 +02:00
Moritz Halbritter 52789cb191 Fix anchors in Maven plugin documentation
Closes gh-35371
2023-05-10 08:21:44 +02:00
Andy Wilkinson 93c3116b3a Fix failsGracefullyWhenNoTestMainMethodIsFound on Windows 2023-05-09 16:56:18 +01:00
Christoph Dreis 2d1a403605 Fix javadoc in OAuth2AuthorizationServerPropertiesMapper
See gh-35366
2023-05-09 16:38:45 +01:00
Moritz Halbritter 0f1870ee98 Merge branch '3.0.x'
Closes gh-35367
2023-05-09 14:56:30 +02:00
Moritz Halbritter 077f61bd5d Allow loading of YAML files bigger than 3 MB
Closes gh-34743
2023-05-09 14:56:09 +02:00
Stephane Nicoll 2b7bed8bf7 Upgrade to Reactor Bom 2022.0.7
Closes gh-35307
2023-05-09 14:54:06 +02:00
Stephane Nicoll dad68573c7 Upgrade to Micrometer Tracing 1.1.0
Closes gh-35306
2023-05-09 14:54:06 +02:00
Stephane Nicoll 33cc926669 Upgrade to Micrometer 1.11.0
Closes gh-35305
2023-05-09 14:54:05 +02:00
Stephane Nicoll 568e168aeb Upgrade to Reactor Bom 2022.0.7
Closes gh-35299
2023-05-09 14:53:52 +02:00
Stephane Nicoll 47c37c1014 Upgrade to Micrometer Tracing 1.0.5
Closes gh-35363
2023-05-09 14:53:52 +02:00
Stephane Nicoll 3635bead5c Upgrade to Micrometer 1.10.7
Closes gh-35298
2023-05-09 14:53:52 +02:00
Stephane Nicoll 21cca4f30d Upgrade to Reactor Bom 2020.0.32
Closes gh-35291
2023-05-09 14:53:43 +02:00
Stephane Nicoll e47738b84d Upgrade to Micrometer 1.9.11
Closes gh-35290
2023-05-09 14:53:43 +02:00
Moritz Halbritter 0391860ec3 Merge branch '3.0.x'
Closes gh-35365
2023-05-09 14:38:16 +02:00
Moritz Halbritter 086d654f0b Add support for Ed25519 EC keys
See gh-35364
2023-05-09 14:18:08 +02:00
Moritz Halbritter 69ac9bbe6d Merge branch '2.7.x' into 3.0.x
Closes gh-35364
2023-05-09 14:13:04 +02:00
Moritz Halbritter c238049729 Fix loading of PKCS#8 PEM encoded EC and DSA keys
Closes gh-35322
2023-05-09 13:54:23 +02:00
Andy Wilkinson 2b6b178560 Merge branch '3.0.x'
Closes gh-35362
2023-05-09 12:24:04 +01:00
Andy Wilkinson 6c1c8fb405 Merge branch '2.7.x' into 3.0.x
Closes gh-35361
2023-05-09 12:23:49 +01:00