Commit Graph

21095 Commits

Author SHA1 Message Date
Moritz Halbritter dccf378d49 Polish CloudFoundryActuatorAutoConfiguration 2023-10-31 10:09:44 +01:00
Moritz Halbritter e0985331c0 Polish ReactiveCloudFoundrySecurityService 2023-10-31 09:56:35 +01:00
Moritz Halbritter 3d4a9dd059 Polish StandardConfigDataResource 2023-10-31 09:49:01 +01:00
Moritz Halbritter e7c26b9410 Polish BeanDefinitionLoader 2023-10-31 09:49:01 +01:00
Moritz Halbritter f3c10ae97b Polish JsonStream 2023-10-31 09:49:01 +01:00
Moritz Halbritter 1f41179a88 Polish SpringBootMockMvcBuilderCustomizer 2023-10-31 09:49:01 +01:00
Moritz Halbritter d095a5e47d Polish RestartApplicationListenerTests 2023-10-31 09:49:01 +01:00
Moritz Halbritter 9152217c96 Fix JUnit's @Nested usage 2023-10-31 09:49:01 +01:00
Moritz Halbritter 627a821d5f Polish ReactiveTokenValidator 2023-10-31 09:49:01 +01:00
Andy Wilkinson 94e810201e Fix test for incremental build of renamed properties class
Previously, the .class file for the renamed properties class was
on the class path of the compilation in two places:

1. The output directory of the test's previous compilation
2. The output directory of the compilation of src/test/java of
   spring-boot-configuration-processor

The first of these locations is addressed by updating TestProject.
The .class file is now deleted from the project's output location
at the same time as the .java file is deleted from its source
location.

The second of these locations is addressed by configuring the class
path of the compiler to include a copy of the result of compiling
src/test/java of spring-boot-configuration-processor. From this copy
entries can then be deleted as needed without destabilizing other tests.

Closes gh-26271
2023-10-30 15:17:28 +00:00
Andy Wilkinson 9aae29b60b Merge branch '2.7.x' into 3.0.x
Closes gh-38115
2023-10-30 12:07:09 +00:00
Andy Wilkinson c999d987a9 Improve systemd configuration documentation
Closes gh-28453
2023-10-30 12:06:04 +00:00
Andy Wilkinson aaa26c90a8 Merge branch '2.7.x' into 3.0.x
Closes gh-38112
2023-10-30 11:13:25 +00:00
Andy Wilkinson f78dcac56f Clarify that @AutoConfigureWebTestClient uses mock infrastructure
Closes gh-29890
2023-10-30 11:13:03 +00:00
Moritz Halbritter 633ce644e2 Merge branch '2.7.x' into 3.0.x
Closes gh-38109
2023-10-30 10:08:48 +01:00
Moritz Halbritter 0d8ea44f5b Fix MyErrorWebExceptionHandler in documentation
Closes gh-38104
2023-10-30 10:07:49 +01:00
Moritz Halbritter 57ddb20cc9 Clarify that Spring AOT imposes further restrictions
Closes gh-35032
2023-10-30 09:14:57 +01:00
Andy Wilkinson bf195798ce Merge branch '2.7.x' into 3.0.x
Closes gh-38095
2023-10-27 18:24:33 +01:00
Andy Wilkinson d9e71f7a67 Add documentation section on AOP
Closes gh-32642
2023-10-27 17:50:24 +01:00
Andy Wilkinson dc31ee1184 Merge branch '2.7.x' into 3.0.x
Closes gh-38088
2023-10-27 17:00:52 +01:00
Andy Wilkinson e1203b7e28 Document that WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default
Closes gh-38083
2023-10-27 17:00:26 +01:00
Moritz Halbritter 07f7435b6a Document native image limitation of ApplicationContextRunner
Closes gh-34007
2023-10-27 14:39:10 +02:00
Moritz Halbritter 43a3fbf449 Move "Sanitize Sensitive Values" in docs
Closes gh-35917
2023-10-27 14:16:48 +02:00
Moritz Halbritter 8a27326ba6 Add warning when downgrading to Servlet 5.0 to docs
Closes gh-33044
2023-10-27 13:28:10 +02:00
Moritz Halbritter b4721c9d62 Update "Use Another Web Server" documentation
Closes gh-37238
2023-10-27 13:22:46 +02:00
Moritz Halbritter 87742e8ee1 Merge branch '2.7.x' into 3.0.x
Closes gh-38070
2023-10-27 10:18:20 +02:00
Moritz Halbritter 3872ec868b Mention ForwardedHeaderTransformer in the documentation
Closes gh-37282
2023-10-27 10:17:29 +02:00
Andy Wilkinson ce1f8d49de Merge branch '2.7.x' into 3.0.x
Closes gh-38052
2023-10-26 08:44:16 +01:00
Andy Wilkinson 1498faaf7f Document auto-configuration packages and how to add to them
Closes gh-27549
2023-10-26 08:43:57 +01:00
Scott Frederick 627c93adcf Merge branch '2.7.x' into 3.0.x
Closes gh-38042
2023-10-25 13:52:54 -05:00
Scott Frederick eae95f8d17 Handle null host value in MailHealthIndicator
If both the host and port are omitted from the mail properties, the
`location` field will be omitted from the health indicator details.

Fixes gh-38007
2023-10-25 13:52:36 -05:00
Andy Wilkinson bded915f9b Merge branch '2.7.x' into 3.0.x
Closes gh-38039
2023-10-25 15:22:44 +01:00
Andy Wilkinson aaaafc6ede Add a note about TestConfiguration, Import, and ordering
Closes gh-30513
2023-10-25 15:19:04 +01:00
Andy Wilkinson e4a7fd037d Merge branch '2.7.x' into 3.0.x
Closes gh-38036
2023-10-25 15:07:39 +01:00
Andy Wilkinson dc645f09b7 Add a brief mention of ConfigurationPropertyCaching
Closes gh-34172
2023-10-25 15:05:25 +01:00
Andy Wilkinson ead0c77a5b Polish
See gh-38030
2023-10-25 14:50:07 +01:00
Andy Wilkinson 5bd9b1725a Merge branch '2.7.x' into 3.0.x
Closes gh-38033
2023-10-25 14:41:00 +01:00
Andy Wilkinson ea39a33337 Document server.servlet.encoding.* configuration properties
Closes gh-32472
2023-10-25 14:40:29 +01:00
Andy Wilkinson 331bf51332 Merge branch '2.7.x' into 3.0.x
Closes gh-38030
2023-10-25 14:07:57 +01:00
Andy Wilkinson 666f68ea60 Document configuration for building images with Colima
Closes gh-34522
2023-10-25 14:07:43 +01:00
Andy Wilkinson 5b80dd87d3 Merge branch '2.7.x' into 3.0.x
Closes gh-38026
2023-10-25 12:18:41 +01:00
Andy Wilkinson 9a23e13894 Add some documentation for customizing the reactive web server
Closes gh-31917
2023-10-25 12:17:45 +01:00
Andy Wilkinson 5db85a818e Merge branch '2.7.x' into 3.0.x
Closes gh-38023
2023-10-25 11:09:56 +01:00
Andy Wilkinson a20f81b995 Mention that classpath.idx is typically generated by build plugins
Closes gh-37125
2023-10-25 11:09:17 +01:00
Andy Wilkinson e742321dbb Merge branch '2.7.x' into 3.0.x
Closes gh-38020
2023-10-25 11:02:26 +01:00
Andy Wilkinson fcdc638336 Mention what to do when use-hal-as-default-json-media-type is false
Closes gh-26814
2023-10-25 11:01:28 +01:00
Andy Wilkinson b33ee84146 Merge branch '2.7.x' into 3.0.x
Closes gh-38017
2023-10-25 10:44:03 +01:00
Andy Wilkinson 8778884f5d Clarify role of WebMvcRegistrations and WebMvcConfigurer
Closes gh-31232
2023-10-25 10:42:25 +01:00
Johnny Lim f16ad50db8 Add Embedded MongoDB to community starters
See gh-38010
2023-10-25 10:20:13 +01:00
Phillip Webb 7c864804d5 Merge branch '2.7.x' into 3.0.x 2023-10-19 23:21:08 -07:00
Phillip Webb d47f8bf945 Update copyright year of changed files 2023-10-19 23:20:43 -07:00
Phillip Webb 548b0ea91f Fix failing exception assertion
See gh-37964
2023-10-19 22:05:59 -07:00
Phillip Webb a0b999c8b4 Merge branch '2.7.x' into 3.0.x
Closes gh-37965
2023-10-19 20:55:51 -07:00
Phillip Webb abdad1cabe Constently use assertThatExceptionOf... assertions
Closes gh-37964
2023-10-19 20:17:26 -07:00
Andy Wilkinson a25472ab5b Merge branch '2.7.x' into 3.0.x
Closes gh-37940
2023-10-18 18:39:16 +01:00
Andy Wilkinson 817debb1ee Fix constructor binding with conversion to custom collection type
Closes gh-37734
2023-10-18 17:47:26 +01:00
Andy Wilkinson 865203f902 Merge branch '2.7.x' into 3.0.x
Closes gh-37937
2023-10-18 17:37:37 +01:00
Andy Wilkinson 04307aa7e0 Polish "Support @Order on [CommandLine|Application]Runner @Bean definitions"
See gh-37905
2023-10-18 17:16:48 +01:00
Tadaya Tsuyukubo 8ac597c245 Support @Order on [CommandLine|Application]Runner @Bean definitions
Prior to this commit, `@Order` annotation on `@Bean` method was not
considered for `CommandLineRunner` and `ApplicationRunner`.

This commit introduces a `Runner` marker interface and uses it to
retrieve the runner beans. As a result, it enables the use of `@Order`
annotations on `@Bean` methods for both `CommandLineRunner` and
`ApplicationRunner`.

Signed-off-by: Tadaya Tsuyukubo <tadaya@ttddyy.net>

See gh-37905
2023-10-18 17:15:15 +01:00
Andy Wilkinson 9c3b689f7c Upgrade to Undertow 2.3.10.Final
Closes gh-37931
2023-10-18 12:00:38 +01:00
Andy Wilkinson 08ea576c37 Upgrade to Jetty Reactive HTTPClient 3.0.9
Closes gh-37930
2023-10-18 12:00:31 +01:00
Andy Wilkinson 27f06ea1e0 Upgrade to Undertow 2.2.28.Final
Closes gh-37929
2023-10-18 11:44:00 +01:00
Andy Wilkinson afff56a5f9 Upgrade to Spring Session Bom 2021.2.3
Closes gh-37928
2023-10-18 11:43:55 +01:00
Andy Wilkinson 5244bcfb5a Upgrade to Jetty Reactive HTTPClient 1.1.15
Closes gh-37927
2023-10-18 11:43:50 +01:00
Andy Wilkinson ece239f421 Merge branch '2.7.x' into 3.0.x
Closes gh-37923
2023-10-18 11:01:23 +01:00
Andy Wilkinson 4cc3aec587 Consider @ComponentScan in imports context cache key
Fixes gh-31577
2023-10-18 10:40:23 +01:00
Andy Wilkinson 85c186a764 Merge branch '2.7.x' into 3.0.x
Closes gh-37919
2023-10-18 10:01:49 +01:00
Andy Wilkinson 1f0e311cb8 Completely disable restart when running tests
Fixes gh-37373
2023-10-18 09:52:47 +01:00
Andy Wilkinson f645ef5fa5 Upgrade to Spring Integration 6.0.8
Closes gh-37795
2023-10-17 17:59:36 +01:00
Andy Wilkinson b10556e6ad Upgrade to Spring Session 3.0.4
Closes gh-37686
2023-10-17 14:20:36 +01:00
Andy Wilkinson 517c63336a Upgrade to Spring Security 6.0.8
Closes gh-37685
2023-10-17 08:46:54 +01:00
Andy Wilkinson 2acfe9c4e1 Upgrade to Spring Kafka 3.0.12
Closes gh-37796
2023-10-17 08:46:54 +01:00
Andy Wilkinson b33d43cc43 Upgrade to Spring AMQP 3.0.10
Closes gh-37681
2023-10-17 08:46:53 +01:00
Andy Wilkinson 747cb2dac9 Upgrade to Spring AMQP 2.4.17
Closes gh-37676
2023-10-17 08:43:41 +01:00
Andy Wilkinson a8a19acb99 Upgrade to Spring Retry 2.0.4
Closes gh-37684
2023-10-16 13:27:37 +01:00
Andy Wilkinson fc69d272fc Upgrade to Spring LDAP 3.0.6
Closes gh-37683
2023-10-16 11:53:58 +01:00
Andy Wilkinson 53a020fef7 Upgrade to Spring Data Bom 2022.0.11
Closes gh-37682
2023-10-16 11:53:57 +01:00
Andy Wilkinson 03209fad19 Upgrade to Dropwizard Metrics 4.2.21
Closes gh-37896
2023-10-16 11:53:57 +01:00
Andy Wilkinson 60912c41a6 Upgrade to Spring Data Bom 2021.2.17
Closes gh-37677
2023-10-16 11:32:56 +01:00
Andy Wilkinson a70afe2148 Upgrade to Pooled JMS 1.2.5
Closes gh-37894
2023-10-16 11:32:56 +01:00
Andy Wilkinson 344d1361c8 Upgrade to Dropwizard Metrics 4.2.21
Closes gh-37893
2023-10-16 11:32:51 +01:00
Andy Wilkinson b1eb08faba Merge branch '2.7.x' into 3.0.x 2023-10-13 21:37:44 +01:00
Andy Wilkinson 3dba0d76d2 Polish
See gh-37878
2023-10-13 21:17:12 +01:00
Andy Wilkinson c25e532aeb Merge branch '2.7.x' into 3.0.x 2023-10-13 20:36:32 +01:00
Andy Wilkinson dbc06faed8 Polish
See gh-37878
2023-10-13 20:36:16 +01:00
Andy Wilkinson e314e11985 Fix AOT processing of @MultipartConfig annotated @WebServlet
Closes gh-37637
2023-10-13 16:22:38 +01:00
Andy Wilkinson ae2693b7f1 Merge branch '2.7.x' into 3.0.x
Closes gh-37880
2023-10-13 16:01:14 +01:00
Andy Wilkinson 42ee6b9e74 Use new permissions API with Gradle 8.3+
Closes gh-37878
2023-10-13 16:00:54 +01:00
Andy Wilkinson 6a7fc6bee8 Upgrade to Undertow 2.3.9.Final
Closes gh-37850
2023-10-12 13:33:41 +01:00
Andy Wilkinson 9612a24ff3 Upgrade to Reactor Bom 2022.0.12
Closes gh-37680
2023-10-12 13:33:36 +01:00
Andy Wilkinson cabb20fad3 Upgrade to Netty 4.1.100.Final
Closes gh-37849
2023-10-12 13:33:35 +01:00
Andy Wilkinson 9dfc512bd4 Upgrade to Micrometer Tracing 1.0.11
Closes gh-37679
2023-10-12 13:33:29 +01:00
Andy Wilkinson 3e5cfce17d Upgrade to Micrometer 1.10.12
Closes gh-37678
2023-10-12 13:33:28 +01:00
Andy Wilkinson 9fb3f8bed6 Upgrade to jOOQ 3.17.16
Closes gh-37848
2023-10-12 13:33:28 +01:00
Andy Wilkinson 811f4a1ec7 Upgrade to Jetty 11.0.17
Closes gh-37847
2023-10-12 13:33:23 +01:00
Andy Wilkinson 3f7847aec3 Upgrade to Infinispan 14.0.19.Final
Closes gh-37846
2023-10-12 13:33:18 +01:00
Andy Wilkinson c0eb2cb4ae Prohibit upgrades to Undertow 2.2.27.Final
Closes gh-37844
2023-10-12 12:21:10 +01:00
Andy Wilkinson e9f543c6ba Upgrade to Reactor Bom 2020.0.37
Closes gh-37675
2023-10-12 12:21:09 +01:00
Andy Wilkinson de6e87acf0 Upgrade to Netty 4.1.100.Final
Closes gh-37843
2023-10-12 12:21:09 +01:00
Andy Wilkinson ecc017000d Upgrade to Micrometer 1.9.16
Closes gh-37674
2023-10-12 12:21:09 +01:00
Andy Wilkinson 5ce281c982 Upgrade to Jetty 9.4.53.v20231009
Closes gh-37842
2023-10-12 12:21:08 +01:00
Andy Wilkinson c6c6167fa0 Upgrade to Infinispan 13.0.20.Final
Closes gh-37841
2023-10-12 12:21:08 +01:00
Andy Wilkinson 8832b6788d Upgrade to Elasticsearch 7.17.14
Closes gh-37840
2023-10-12 11:44:17 +01:00
Andy Wilkinson f780cc6d03 Merge branch '2.7.x' into 3.0.x
Closes gh-37837
2023-10-12 11:38:32 +01:00
Andy Wilkinson 11311dbf6d Register task executor metrics when using lazy init
Fixes gh-37832
2023-10-12 11:19:33 +01:00
Andy Wilkinson 781ac2ece2 Merge branch '2.7.x' into 3.0.x
Closes gh-37828
2023-10-11 15:02:36 +01:00
Andy Wilkinson 5a75fae23b Polish "Polish"
See gh-37745
2023-10-11 14:58:04 +01:00
Johnny Lim 303015ea2d Polish
See gh-37745
2023-10-11 14:57:38 +01:00
Andy Wilkinson a80f8ea5e6 Configure Java toolchain on AOT-processing tasks
Closes gh-37717
2023-10-11 14:31:44 +01:00
Andy Wilkinson 5a6cd77c56 Merge branch '2.7.x' into 3.0.x
Closes gh-37823
2023-10-11 13:54:11 +01:00
Andy Wilkinson 5a1abb76f7 Test the Gradle plugin against Gradle 8.4
Closes gh-37811
2023-10-11 13:52:03 +01:00
Johnny Lim 6591eaf88e Remove obsolete prohibit for Couchbase Client library
See gh-37807
2023-10-11 13:34:09 +02:00
Andy Wilkinson 6c44809488 Merge branch '2.7.x' into 3.0.x
Closes gh-37817
2023-10-11 11:13:19 +01:00
Andy Wilkinson 254b8fe3cb Closes gh-37815 2023-10-11 10:50:01 +01:00
Andy Wilkinson 5fcdee6bb5 Merge branch '2.7.x' into 3.0.x
Closes gh-37804
2023-10-10 11:26:39 +01:00
Andy Wilkinson 6df5389d76 Use RedisSeralizer.java(ClassLoader) factory method
Closes gh-37800
2023-10-10 11:25:22 +01:00
Andy Wilkinson 11ad08dcbb Start building against Spring Kafka 3.0.12 snapshots
See gh-37796
2023-10-09 15:10:44 +01:00
Andy Wilkinson ac320aff4d Start building against Spring Integration 6.0.8 snapshots
See gh-37795
2023-10-09 15:10:34 +01:00
Andy Wilkinson 49a9d1dbfa Upgrade to Neo4j Java Driver 5.13.0
Closes gh-37792
2023-10-09 14:12:28 +01:00
Andy Wilkinson f2f26a4ca4 Upgrade to UnboundID LDAPSDK 6.0.10
Closes gh-37758
2023-10-09 10:06:08 +01:00
Andy Wilkinson 6f787cdce5 Upgrade to RxJava3 3.1.8
Closes gh-37757
2023-10-09 10:06:03 +01:00
Andy Wilkinson 1d3b093f24 Upgrade to Netty 4.1.99.Final
Closes gh-37756
2023-10-09 10:05:58 +01:00
Andy Wilkinson 22df3b539d Upgrade to Dropwizard Metrics 4.2.20
Closes gh-37755
2023-10-09 10:05:53 +01:00
Andy Wilkinson 55d7573795 Upgrade to Couchbase Client 3.4.11
Closes gh-37754
2023-10-09 10:05:48 +01:00
Andy Wilkinson 657656e814 Upgrade to UnboundID LDAPSDK 6.0.10
Closes gh-37753
2023-10-09 09:46:32 +01:00
Andy Wilkinson 21a997af1d Upgrade to Netty 4.1.99.Final
Closes gh-37752
2023-10-09 09:46:27 +01:00
Andy Wilkinson e24369e062 Upgrade to Dropwizard Metrics 4.2.20
Closes gh-37751
2023-10-09 09:46:23 +01:00
Andy Wilkinson c06424f00a Start building against Spring Session 3.0.4 snapshots
See gh-37686
2023-10-04 09:52:50 +01:00
Andy Wilkinson 208f69b661 Start building against Spring Security 6.0.8 snapshots
See gh-37685
2023-10-04 09:52:50 +01:00
Andy Wilkinson 95e70c11d4 Start building against Spring Retry 2.0.4 snapshots
See gh-37684
2023-10-04 09:52:50 +01:00
Andy Wilkinson 150cb5bdb6 Start building against Spring LDAP 3.0.6 snapshots
See gh-37683
2023-10-04 09:52:50 +01:00
Andy Wilkinson 29ab800cba Start building against Spring Data Bom 2022.0.11 snapshots
See gh-37682
2023-10-04 09:52:49 +01:00
Andy Wilkinson c72024de9f Start building against Spring AMQP 3.0.10 snapshots
See gh-37681
2023-10-04 09:52:49 +01:00
Andy Wilkinson f1af6ff469 Start building against Reactor Bom 2022.0.12 snapshots
See gh-37680
2023-10-04 09:52:49 +01:00
Andy Wilkinson 7907358875 Start building against Micrometer Tracing 1.0.11 snapshots
See gh-37679
2023-10-04 09:52:49 +01:00
Andy Wilkinson ec57eb3879 Start building against Micrometer 1.10.12 snapshots
See gh-37678
2023-10-04 09:52:48 +01:00
Moritz Halbritter b742bced31 Merge branch '2.7.x' into 3.0.x
Closes gh-37690
2023-10-04 10:49:10 +02:00
Moritz Halbritter 63fccf43dc Polish "Remove link to LiveReload website due to timeout"
See gh-37643
2023-10-04 10:46:40 +02:00
Jonny Coddington 88bbab374d Remove link to LiveReload website due to timeout
See gh-37643
2023-10-04 10:44:14 +02:00
Andy Wilkinson da319841b8 Start building against Spring Data Bom 2021.2.17 snapshots
See gh-37677
2023-10-04 08:29:43 +01:00
Andy Wilkinson 21661c6a1a Start building against Spring AMQP 2.4.17 snapshots
See gh-37676
2023-10-04 08:29:37 +01:00
Andy Wilkinson 026bc31c3e Start building against Reactor Bom 2020.0.37 snapshots
See gh-37675
2023-10-04 08:29:32 +01:00
Andy Wilkinson 21a618a6c4 Start building against Micrometer 1.9.16 snapshots
See gh-37674
2023-10-04 08:29:27 +01:00
Andy Wilkinson 6353603d63 Avoid exposing Jetty's WebSocketUpgradeFilter as a bean
When the filter is exposed as a bean (directly or through a
registration bean), it's picked up by the auto-configuration of
MockMvc. This causes a problem as MockMvc does not call init on a
filter before it's used and WebSocketUpgradeFilter fails with a
NullPointerException if its doFilter method is called when its init
method has not been called.

This commit reworks the WebSocket auto-configuration to use a
ServletContextInitalizer to register WebSocketUpgradeFilter rather
than a FilterRegistrationBean. This ensure that the filter is still
registered at the required position in the chain (last filter before
the servlet) while also preventing it from being registered with the
auto-configured MockMvc in tests.

Closes gh-37660
2023-10-03 16:13:24 +01:00
Andy Wilkinson 931584f8af Merge branch '2.7.x' into 3.0.x
Closes gh-37659
2023-10-03 10:28:51 +01:00
Johnny Lim c9932bb73a Use AssertJ's fail, not JUnit's
This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.

See gh-37655
2023-10-03 10:11:12 +01:00
Andy Wilkinson 458418be29 Automatically register reflection hints for scanned WebListeners
Closes gh-36008
2023-09-29 18:09:36 +01:00
Andy Wilkinson 26b9602596 Merge branch '2.7.x' into 3.0.x 2023-09-29 15:14:09 +01:00
Andy Wilkinson 0205b875a0 Polish 2023-09-29 15:13:58 +01:00
Andy Wilkinson 04054b6670 Merge branch '2.7.x' into 3.0.x
Closes gh-37631
2023-09-29 14:58:52 +01:00