Commit Graph

17323 Commits

Author SHA1 Message Date
Andy Wilkinson 566ed68403 Contribute reflection hints for configuration property binding
Closes gh-30916

Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
2022-05-10 15:31:15 +01:00
Andy Wilkinson 4c17b4c865 Switch BackgroundPreinitializer to implementing Ordered
Closes gh-30905
2022-05-10 15:22:38 +01:00
Andy Wilkinson dbf0bcca63 Avoid reflection when Tomcat's configuring Context's ClassLoader
Closes gh-30904
2022-05-10 15:22:37 +01:00
Andy Wilkinson 87e78691c4 Use AOT-generated initialization when running in a native image
Closes gh-30915
2022-05-10 15:22:16 +01:00
Andy Wilkinson c91b787078 Uses non-AnnotationConfig contexts when using AOT-generated init
Closes gh-30914
2022-05-10 15:19:29 +01:00
Andy Wilkinson 432741f06e Upgrade to Reactor Bom 2020.0.19
Closes gh-30913
2022-05-10 14:37:43 +01:00
Andy Wilkinson 7157ca4fe5 Upgrade to Netty tcNative 2.0.52.Final
Closes gh-30912
2022-05-10 14:37:41 +01:00
Andy Wilkinson 25c320be51 Upgrade to Netty 4.1.77.Final
Closes gh-30911
2022-05-10 14:37:39 +01:00
Andy Wilkinson 0713f772ba Upgrade to MySQL 8.0.29
Closes gh-30910
2022-05-10 14:37:36 +01:00
Andy Wilkinson 84b1b67e6d Upgrade to Johnzon 1.2.18
Closes gh-30909
2022-05-10 14:37:34 +01:00
Andy Wilkinson 705ce88f13 Upgrade to Jaybird 4.0.6.java8
Closes gh-30908
2022-05-10 14:37:30 +01:00
Andy Wilkinson 0c19ae5294 Upgrade to Hazelcast 4.1.9
Closes gh-30907
2022-05-10 14:37:27 +01:00
Andy Wilkinson 6938df26e0 Upgrade to ActiveMQ 5.16.5
Closes gh-30906
2022-05-10 14:37:25 +01:00
Andy Wilkinson 770cb840c3 Use more flexible SpringFactoriesLoader
Closes gh-30235

Co-authored-by: Madhura Bhave <bhavem@vmware.com>
Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
2022-05-09 14:13:04 +01:00
Andy Wilkinson 0fbfb8ef09 Remove remnants of support for Embedded Mongo
See gh-30863 and 7e089a6b
2022-05-09 09:55:42 +01:00
Scott Frederick 7e089a6b81 Remove support for embedded MongoDB
This commit removes auto-configuration and dependency management
for Flapdoodle embedded MongoDB in favor of the Spring Boot support
provided by Flapdoodle.

Closes gh-30863
2022-05-06 17:05:36 -05:00
Andy Wilkinson 3db1715694 Merge branch '2.7.x' 2022-05-06 18:15:38 +01:00
Andy Wilkinson 833e3aec27 Merge branch '2.6.x' into 2.7.x
Closes gh-30887
2022-05-06 18:15:20 +01:00
Andy Wilkinson d10addffe3 Merge branch '2.5.x' into 2.6.x
Closes gh-30886
2022-05-06 18:15:01 +01:00
christophejan a1f3d68ead Improve debug logging of requests to actuator endpoints on WebFlux
See gh-30880
2022-05-06 17:49:27 +01:00
Andy Wilkinson 3980c5af48 Polish "Use Log4jBridgeHandler to route JUL-based logging into Log4j 2"
See gh-30003
2022-05-06 15:05:16 +01:00
Piotr P. Karwasz 728e27d193 Use Log4jBridgeHandler to route JUL-based logging into Log4j 2
Since version 2.15.0 `log4j-jul` contains a `Log4jBridgeHandler`,
that forwards JUL to Log4j 2.x and synchronizes the logger levels of
the two frameworks.

This commmit adds support for the `Log4jBridgeHandler` and sets it as
the bridge handler for the Log4j 2.x stack, replacing the existing
JUL to SLF4J bridge that was used previously.

See gh-30003
2022-05-06 15:05:08 +01:00
Andy Wilkinson 4a030343d3 Merge branch '2.7.x' 2022-05-06 11:40:11 +01:00
Andy Wilkinson c61cd7761e Merge branch '2.6.x' into 2.7.x
Closes gh-30883
2022-05-06 11:37:30 +01:00
Andy Wilkinson 5258cd2814 Merge branch '2.5.x' into 2.6.x
Closes gh-30882
2022-05-06 11:29:22 +01:00
Andy Wilkinson 0e7c3547dd Prohibit usage of Micrometer nullability annotations
Closes gh-30881
2022-05-06 11:29:08 +01:00
Andy Wilkinson 293a3c9ec1 Fix arguments passed to AOT processing in Gradle plugin
See gh-30527
2022-05-06 11:18:01 +01:00
Phillip Webb 8cf63a28b8 Update AOT work to latest Framework code 2022-05-05 15:19:33 -07:00
Scott Frederick 88250f92bd Adapt to changes in Spring Kafka snapshots
See gh-30645
2022-05-05 17:17:23 -05:00
Madhura Bhave 7a0e5a032d Delete unused test configuration files
These files were used by the legacy ConfigFileApplicationListener tests
and are no longer needed
2022-05-05 11:57:37 -07:00
Madhura Bhave 8d6b442dc4 Remove support for spring.profiles
Closes gh-22523
2022-05-05 11:57:37 -07:00
Andy Wilkinson 573fc34e29 Merge branch '2.7.x' 2022-05-05 10:19:32 +01:00
Andy Wilkinson 2b4f042325 Merge branch '2.6.x' into 2.7.x
Closes gh-30874
2022-05-05 10:19:19 +01:00
Andy Wilkinson c9571a04ab Merge branch '2.5.x' into 2.6.x
Closes gh-30873
2022-05-05 10:19:01 +01:00
Andy Wilkinson 6d4f0232ca Polish "Fix ConditionalOnProperty when used in an aliased composed annotation"
See gh-30505
2022-05-05 10:02:27 +01:00
Guirong Hu dc57ad54d5 Fix ConditionalOnProperty when used in an aliased composed annotation
See gh-30505
2022-05-05 10:02:15 +01:00
Scott Frederick 2369ce4195 Remove dependency management for AppEngine SDK
Closes gh-30638
2022-05-04 16:31:00 -05:00
Andy Wilkinson 1ee079c265 Reinstate support for pooled-jms as it is now JMS 3.0 compatible
Closes gh-30865
2022-05-04 18:04:02 +01:00
Brian Clozel 5352c441e1 Do not use application/graphql as default MIME type
As seen in spring-projects/spring-graphql#375, Spring Boot should also
use "application/json" as the default MIME type but remain compatible
with "application/graphql+json" still if clients POST content with this
type or explicitly accept it.

Closes gh-30860
2022-05-04 13:05:45 +02:00
Brian Clozel 31cabba828 Switch to Spring for GraphQL 1.0.0-SNAPSHOT
See gh-30858
2022-05-04 13:05:45 +02:00
Brian Clozel ecd7c21493 Upgrade to GraphQL Java 18.1
Closes gh-30859
2022-05-04 13:05:45 +02:00
Andy Wilkinson 0e00fafe38 Polish "Provide callback mechanism for customizing validation configuration"
See gh-29429
2022-05-04 11:45:39 +01:00
当智才让 76a1c6bcaa Provide callback mechanism for customizing validation configuration
See gh-29429
2022-05-04 11:36:59 +01:00
Andy Wilkinson d36b63dae6 Polish "Add a configuration property for Kafka's async acks"
See gh-30776
2022-05-04 10:44:38 +01:00
TheCK 52c3f1c7ef Add a configuration property for Kafka's async acks
See gh-30776
2022-05-04 10:37:22 +01:00
Andy Wilkinson 23f89f0d1e Switch to a same minor version upgrade policy
Closes gh-30857
2022-05-04 10:34:50 +01:00
Andy Wilkinson b4e42109d0 Merge branch '2.7.x' 2022-05-04 10:34:15 +01:00
Andy Wilkinson d819aba0b9 Upgrade to Selenium 4.1.3
Closes gh-30730
2022-05-04 10:04:36 +01:00
Andy Wilkinson c596afd03a Upgrade to Selenium HtmlUnit 3.61.0
Closes gh-30855
2022-05-04 10:04:11 +01:00
Scott Frederick 7dd8dfc197 Handle zero-offset timezone in logging test
See gh-28654
2022-05-03 17:48:09 -05:00
Scott Frederick 7f395941c7 Add timezone offset to default logging date format patterns
Closes gh-28654
2022-05-03 17:09:27 -05:00
Andy Wilkinson 541ab69aff Merge branch '2.7.x' 2022-05-03 15:18:20 +01:00
Andy Wilkinson 4cd850cfc0 Merge branch '2.6.x' into 2.7.x
Closes gh-30851
2022-05-03 15:17:13 +01:00
Andy Wilkinson fa327a783d Merge branch '2.5.x' into 2.6.x
Closes gh-30850
2022-05-03 15:14:00 +01:00
Andy Wilkinson 4fd2e0c916 Polish "Fix typos"
See gh-30773
2022-05-03 14:09:53 +01:00
Andy Wilkinson f6d24dc1a8 Fix typos
See gh-30773
2022-05-03 14:09:37 +01:00
Andy Wilkinson f35e5195ad Merge branch '2.7.x' 2022-05-03 13:55:20 +01:00
Andy Wilkinson 8782e4122c Merge branch '2.6.x' into 2.7.x
Closes gh-30848
2022-05-03 13:55:09 +01:00
Andy Wilkinson b20a8bd778 Merge branch '2.5.x' into 2.6.x
Closes gh-30847
2022-05-03 13:54:59 +01:00
Andy Wilkinson 798d61fcf0 Polish "Make event handling in ClassPathFileSystemWatcherTests thread-safe"
See gh-30844
2022-05-03 13:54:13 +01:00
dugenkui03 aeaad006cd Make event handling in ClassPathFileSystemWatcherTests thread-safe
See gh-30844
2022-05-03 13:52:55 +01:00
Andy Wilkinson 138e165d5f Merge branch '2.7.x' 2022-05-03 13:52:01 +01:00
Andy Wilkinson 8044df277b Merge branch '2.6.x' into 2.7.x
Closes gh-30846
2022-05-03 13:51:49 +01:00
Andy Wilkinson a8b5a1c688 Merge branch '2.5.x' into 2.6.x
Closes gh-30845
2022-05-03 13:51:38 +01:00
Andy Wilkinson 026b9e2efe Polish "Make event handling in JobExecutionExitCodeGenerator thread-safe"
See gh-30705
2022-05-03 13:49:12 +01:00
dugenkui03 c8d1dfebab Make event handling in JobExecutionExitCodeGenerator thread-safe
See gh-30705
2022-05-03 13:48:15 +01:00
Eddú Meléndez f7a7e8cb89 Add auto-configuration for OtlpMeterRegistry
See gh-30825
2022-05-03 13:18:07 +01:00
izeye 9f2114170e Apply key values rename consistently
See gh-30837
2022-05-03 12:29:52 +01:00
izeye 77c3b6c899 Polish Micrometer tracing changes
See gh-30833
2022-05-03 11:39:31 +01:00
Andy Wilkinson 7a98627127 Polish "Fix property in defaultDatabaseIsSet test"
See gh-30778
2022-05-03 11:36:12 +01:00
izeye d50b0e4602 Fix property in defaultDatabaseIsSet test
See gh-30778
2022-05-03 11:35:44 +01:00
Andy Wilkinson 2cebbe10ce Merge branch '2.7.x' 2022-05-03 11:29:38 +01:00
Andy Wilkinson 61cd05f74b Merge branch '2.6.x' into 2.7.x
Closes gh-30842
2022-05-03 11:29:03 +01:00
Andy Wilkinson f1b5f36af8 Merge branch '2.5.x' into 2.6.x
Closes gh-30841
2022-05-03 11:28:53 +01:00
Andy Wilkinson f8e5a534a6 Polish "Polish InfluxMetricsExportAutoConfiguration"
See gh-30824
2022-05-03 09:50:51 +01:00
Eddú Meléndez b0d5364efa Polish InfluxMetricsExportAutoConfiguration
See gh-30824
2022-05-03 09:50:06 +01:00
Andy Wilkinson fcf45d5c22 Add support for invoking AOT to the Gradle plugin
Closes gh-30527
2022-04-29 14:32:23 +01:00
Eddú Meléndez 6a65aa4a23 Auto-configure Micrometer's JvmInfoMetrics
See gh-30832
2022-04-29 11:04:50 +01:00
Andy Wilkinson 80470f0b26 Add native profile to spring-boot-starter-parent
Closes gh-30830

Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
2022-04-28 14:27:56 +01:00
Stephane Nicoll e81c6337c6 Add support for invoking AOT to the Maven Plugin
This commit adds an `aot-generate` goal to the Maven Plugin that
triggers AOT generation on the application. The new goal shares a
number of properties with the existing `run` goal and uses the same
algorithm to detect the main class to use.

Closes gh-30525
2022-04-28 13:48:52 +01:00
Andy Wilkinson 096420cc4c Generate native image config data in recommended location
Closes gh-30827
2022-04-28 13:38:28 +01:00
Andy Wilkinson 97589d0465 Introduce Hook-based AOT processing
Closes gh-30555

Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
2022-04-27 11:26:01 +01:00
Andy Wilkinson 9cd17f8a14 Introduce hooking of SpringApplication
Closes gh-30538
2022-04-27 10:53:54 +01:00
Andy Wilkinson 6d15e6d4ef Adapt to breaking API changes in latest Micrometer snapshots
See gh-30800
2022-04-27 10:33:25 +01:00
Andy Wilkinson fb16907c0e Fix resolution Batch's Oracle schema location
Closes gh-30564
2022-04-25 19:38:37 +01:00
Andy Wilkinson 60e389ea38 Merge branch '2.7.x' 2022-04-25 19:37:48 +01:00
Andy Wilkinson facbc7b47b Merge branch '2.6.x' into 2.7.x
Closes gh-30795
2022-04-25 19:31:47 +01:00
Andy Wilkinson bf94ea24d3 Improve testing of Batch schema resolution
Closes gh-30794
2022-04-25 19:30:59 +01:00
Andy Wilkinson eacd8c04a5 Merge branch '2.7.x' 2022-04-25 15:03:52 +01:00
Andy Wilkinson 56690a7eb9 Merge branch '2.6.x' into 2.7.x
Closes gh-30791
2022-04-25 15:03:32 +01:00
Andy Wilkinson 409ec48e2a Merge branch '2.5.x' into 2.6.x
Closes gh-30790
2022-04-25 15:00:51 +01:00
Andy Wilkinson 193ef9a06d Package META-INF/services/ files beneath BOOT-INF/classes/
Closes gh-30413
2022-04-25 14:32:47 +01:00
Moritz Halbritter 85a4c94dea Merge branch '2.7.x' 2022-04-25 15:32:08 +02:00
Moritz Halbritter b406971094 Remove hyphen from asserting-party
spring.security.saml2.relyingparty.registration.*.asserting-party.* is
now named spring.security.saml2.relyingparty.registration.*.assertingparty.*

Closes gh-30785
2022-04-25 15:26:38 +02:00
Andy Wilkinson 3987deccde Merge branch '2.7.x' 2022-04-25 14:11:40 +01:00
Andy Wilkinson 3c5cea47d0 Merge branch '2.6.x' into 2.7.x
Closes gh-30789
2022-04-25 14:11:21 +01:00
Andy Wilkinson 3f23c08268 Merge branch '2.5.x' into 2.6.x
Closes gh-30788
2022-04-25 14:11:08 +01:00
Andy Wilkinson ce788657ce Improve diagnostics for map binding failures
Closes gh-30281
2022-04-25 13:50:09 +01:00
Moritz Halbritter afdb651b04 Auto-configure TracingObservationHandler for HTTP server and clients
- Auto-configures HttpServerTracingObservationHandler and
  HttpClientTracingObservationHandler into Micrometer Tracing. Both
  handlers are ordered before the DefaultTracingObservationHandler,
  which is only used as a fallback.
- The HttpServerHandler and HttpClientHandler implementations are
  auto-configured in the Brave and OpenTelemetry auto-configurations.

Closes gh-30784
2022-04-25 14:33:09 +02:00
Andy Wilkinson 331ec1ab21 Merge branch '2.7.x' 2022-04-25 13:02:34 +01:00
Misagh Moayyed d9ed4fbc2e Adjust mustache property name to match replacement
`spring.mustache.cache` should be replaced with
`spring.mustache.servlet.cache`, to avoid configuration warnings
on startup when using the properties migrator.

See gh-30774
2022-04-25 12:42:38 +01:00
Andy Wilkinson 4e193dc574 Merge branch '2.7.x' 2022-04-25 12:36:44 +01:00
Andy Wilkinson d0c9d5aabc Merge branch '2.6.x' into 2.7.x
Closes gh-30787
2022-04-25 12:36:30 +01:00
Andy Wilkinson 5c3be7c61e Merge branch '2.5.x' into 2.6.x
Closes gh-30786
2022-04-25 12:36:14 +01:00
Andy Wilkinson ffe0ec6d4d Use SearchStrategy in MethodValidationExcludeFilter byAnnotation
Closes gh-30631
2022-04-25 12:35:41 +01:00
Moritz Halbritter 35efc23deb Merge branch '2.7.x' 2022-04-25 09:15:39 +02:00
Moritz Halbritter e8b7843fe9 Merge branch '2.6.x' into 2.7.x
Closes gh-30782
2022-04-25 09:13:52 +02:00
Moritz Halbritter 63eb6b6ad9 Merge branch '2.5.x' into 2.6.x
Closes gh-30781
2022-04-25 09:13:34 +02:00
Moritz Halbritter 9b8b87009c Document support for Java 18
Closes gh-30548
2022-04-25 09:13:07 +02:00
Stephane Nicoll 4a3299a60f Merge branch '2.7.x' 2022-04-21 13:33:03 +02:00
Stephane Nicoll ce683c3b6f Upgrade to Maven Javadoc Plugin 3.4.0
Closes gh-30770
2022-04-21 13:15:20 +02:00
Stephane Nicoll 7ecb51ee39 Upgrade to Janino 3.1.7
Closes gh-30768
2022-04-21 13:15:14 +02:00
Stephane Nicoll 7f3922e2fa Upgrade to Infinispan 13.0.9.Final
Closes gh-30767
2022-04-21 13:15:12 +02:00
Stephane Nicoll d0e237be10 Upgrade to Flyway 8.5.9
Closes gh-30766
2022-04-21 13:15:10 +02:00
Stephane Nicoll f76371be76 Merge branch '2.7.x' 2022-04-21 09:29:02 +02:00
Stephane Nicoll b3e3581271 Polish "Add auto-configuration to Kafka Retry Topics"
See gh-29812
2022-04-21 09:26:42 +02:00
tomazfernandes bf46d7244a Add auto-configuration to Kafka Retry Topics
See gh-29812
2022-04-21 08:32:04 +02:00
Stephane Nicoll 020e3617af Merge branch '2.7.x' 2022-04-21 08:30:13 +02:00
Madhura Bhave 7a659e4e12 Polish "Add support for aud claim in resource server"
See gh-29084
2022-04-21 08:09:08 +02:00
Mushtaq Ahmed ee65627f4c Add support for aud claim in resource server
See gh-29084
2022-04-21 08:09:08 +02:00
Stephane Nicoll 58b069a994 Merge branch '2.7.x' 2022-04-21 08:08:34 +02:00
Stephane Nicoll 9025d1d250 Fix deprecation warning
See gh-28851
2022-04-21 08:08:20 +02:00
Phillip Webb cd4ee99756 Merge branch '2.7.x' 2022-04-20 16:30:15 -07:00
Phillip Webb 504c4a33db Merge branch '2.6.x' into 2.7.x
Closes gh-30763
2022-04-20 16:29:58 -07:00
Phillip Webb c5d650a807 Merge branch '2.5.x' into 2.6.x
Closes gh-30762
2022-04-20 16:29:24 -07:00
Phillip Webb 77edb27a07 Fix package tangle caused by ApplicationContextFactory
Fix package tangle by changing `ApplicationContextFactory.DEFAULT` to
use `spring.factories` to discover implementations rather than needing
direct access to our own `ApplicationContext` classes.

Closes gh-30272
2022-04-20 16:28:46 -07:00
Phillip Webb c7374fd415 Update copyright year of changed files 2022-04-20 15:30:20 -07:00
Phillip Webb 7a6ca8ce25 Merge branch '2.7.x' 2022-04-20 15:30:01 -07:00
Phillip Webb dd5696b59b Update copyright year of changed files 2022-04-20 15:26:30 -07:00
Phillip Webb 36f1249fc6 Polish 2022-04-20 15:26:15 -07:00
Madhura Bhave dfd0e7b948 Merge branch '2.7.x' into main 2022-04-20 12:57:21 -07:00
Madhura Bhave 71acc90da8 Simplify SecurityAutoConfiguration
Closes gh-28851
2022-04-20 12:50:10 -07:00
Stephane Nicoll a1099e61e6 Upgrade to Spring Session 2021.2.0-RC1
Closes gh-30611
2022-04-20 18:36:49 +02:00
Stephane Nicoll 3731655b34 Upgrade to Spring Session 2021.1.3
Closes gh-30603
2022-04-20 18:35:52 +02:00
Stephane Nicoll 5c4b63be11 Upgrade to Spring Session 2021.0.6
Closes gh-30595
2022-04-20 18:34:05 +02:00
Stephane Nicoll 7f8e2d89b0 Merge branch '2.7.x' 2022-04-20 16:16:47 +02:00
Stefano Cordio 5729d57c50 Upgrade to Mockito 4.5.0
This commit also switches to use the Mockito bom.

See gh-30759
2022-04-20 15:56:05 +02:00
Brian Clozel ee274abe48 Upgrade to Spring for GraphQL 1.0.0-RC1
Closes gh-30463
2022-04-20 10:56:51 +02:00
Stephane Nicoll c5953623fa Upgrade to Postgresql 42.3.4
Closes gh-30758
2022-04-20 09:26:42 +02:00
Stephane Nicoll d69ca284b9 Upgrade to Lombok 1.18.24
Closes gh-30757
2022-04-20 09:26:39 +02:00
Stephane Nicoll bda0fbf22f Upgrade to Janino 3.1.7
Closes gh-30755
2022-04-20 09:26:34 +02:00
Moritz Halbritter bb4bccde6c Remove deprecated 'identityprovider' property
Closes gh-30751
2022-04-20 09:11:56 +02:00
Stephane Nicoll 1bd1b2a3a4 Upgrade to Lombok 1.18.24
Closes gh-30753
2022-04-20 09:11:34 +02:00
Stephane Nicoll 792ebdbbf8 Upgrade to Janino 3.1.7
Closes gh-30752
2022-04-20 09:11:32 +02:00
Moritz Halbritter 1950d06585 Merge branch '2.7.x' 2022-04-20 08:26:35 +02:00
Moritz Halbritter 6c400daa48 Rename 'identityprovider' property to 'asserting-party'
Rename spring.security.saml2.relyingparty.registration.*.identity-provider.*
to spring.security.saml2.relyingparty.registration.*.asserting-party.*

The old property names are still supported, but will lead to a warning
in the logs.

Closes gh-30642
2022-04-20 08:25:58 +02:00
Stephane Nicoll 1698faffee Merge branch '2.7.x' 2022-04-20 08:24:32 +02:00
Stephane Nicoll 38c2a5c14b Merge branch '2.6.x' into 2.7.x
Closes gh-30750
2022-04-20 08:24:21 +02:00
Stephane Nicoll d049ae8703 Merge branch '2.5.x' into 2.6.x
Closes gh-30749
2022-04-20 08:24:07 +02:00
rfigueroa ae267bfab2 Use eclipse-temurin in docker samples
As AdoptOpenJDK moved to the Eclipse Foundation, this commit updates the
docs to reflect that in docker file samples.

See gh-30748
2022-04-20 08:21:55 +02:00