Commit Graph

15928 Commits

Author SHA1 Message Date
Moritz Halbritter
2afa02c856 Fix missing test slice configuration
Test slices are now longer registered in spring.factories, but
TestSliceMetadata still looked there for them to generate documentation.
Fixed this so that TestSliceMetadata now looks in the right places for
test slices.

See gh-29873
2022-02-18 14:49:07 +01:00
Brian Clozel
940558c2a6 Merge branch '2.6.x' into 2.7.x
Closes gh-29906
2022-02-18 13:55:53 +01:00
Brian Clozel
16c47595e7 Merge branch '2.5.x' into 2.6.x
Closes gh-29905
2022-02-18 13:55:27 +01:00
Brian Clozel
00114f9d61 Deregister failed contexts from SpringApplicationShutdownHook
Prior to this change, SpringApplication would register contexts to
SpringApplicationShutdownHook and only deregister them when they're
properly closed. A failed refresh attempt does not deregister the
context from the shutdown hook.
When a test suite runs lots of tests failing because of failed contexts,
this can build up and consume lots of resources.

This commit fixes this leak and deregisters failed contexts.

Fixes gh-29874
2022-02-18 13:54:14 +01:00
Moritz Halbritter
4f49e8c990 Polish JavaDoc 2022-02-18 13:14:42 +01:00
Andy Wilkinson
d18f536bc8 Remove separate netty-tcnative dependency management
Closes gh-29816
2022-02-18 11:45:00 +00:00
Andy Wilkinson
0e5a82522c Merge branch '2.6.x' into 2.7.x
Closes gh-29904
2022-02-18 11:42:21 +00:00
Andy Wilkinson
9da6fb4a5a Merge branch '2.5.x' into 2.6.x
Closes gh-29903
2022-02-18 11:42:10 +00:00
Andy Wilkinson
c676b8b84d Remove KafkaPropertiesKafka24Tests
We now use Kafka 2.7 by default so tests against 2.4 are no longer
required.

Closes gh-29882
2022-02-18 11:41:24 +00:00
Andy Wilkinson
b6fea07001 Merge branch '2.6.x' into 2.7.x
Closes gh-29902
2022-02-18 11:23:28 +00:00
Andy Wilkinson
0cebb332d1 Merge branch '2.5.x' into 2.6.x
Closes gh-29901
2022-02-18 11:08:21 +00:00
Andy Wilkinson
ac38a5a3e9 Update javadoc to reflect move to SecurityFilterChain
Closes gh-29900
2022-02-18 11:05:48 +00:00
Andy Wilkinson
fc8f55fbf4 Upgrade to OkHTTP 4.9.3
Closes gh-18506
2022-02-18 10:05:54 +00:00
Scott Frederick
42328771ad Suppress deprecation warnings for WebSecurityConfigurerAdapter
Fixes gh-29897
2022-02-17 19:06:13 -06:00
Stephane Nicoll
55fdb9f215 Upgrade to Spring HATEOAS 1.5.0-M2
Closes gh-29893
2022-02-17 19:55:15 +01:00
Moritz Halbritter
896345df23 Fix test 2022-02-17 11:56:38 +01:00
Stephane Nicoll
828d4cebee Upgrade to Spring Framework 5.3.16
Closes gh-29761
2022-02-17 11:13:20 +01:00
Stephane Nicoll
5b58d1bfca Upgrade to Spring Framework 5.3.16
Closes gh-29719
2022-02-17 11:12:37 +01:00
Stephane Nicoll
b1cfa402e8 Upgrade to Spring Framework 5.3.16
Closes gh-29709
2022-02-17 11:11:57 +01:00
Moritz Halbritter
7c96294641 Move our auto-configurations from spring.factories to new file
Closes gh-29873
2022-02-17 10:18:46 +01:00
Stephane Nicoll
553801bd9d Upgrade to Micrometer 1.9.0-M3
Closes gh-29763
2022-02-17 10:02:09 +01:00
Stephane Nicoll
6c82bb2e6f Upgrade to Micrometer 1.8.3
Closes gh-29718
2022-02-17 10:00:41 +01:00
Stephane Nicoll
0fba81adf0 Upgrade to Micrometer 1.7.9
Closes gh-29708
2022-02-17 09:59:40 +01:00
Stephane Nicoll
6fa8d81daf Start building against Spring HATEOAS 1.5.0-M2 snapshots
See gh-29893
2022-02-17 09:19:25 +01:00
Moritz Halbritter
7d68b58c8f Load auto-configurations from META-INF/spring-boot
Implements a new AutoConfigurationLoader, which loads
auto-configurations from a file in META-INF/spring-boot.

Adapts the AutoConfigurationImportSelector to use the new loader.

Adapts the ImportAutoConfigurationImportSelector to use the new loader.

Adapts the metadata plugin in the build to additionally load the
auto-configurations from the new file.

Updates the documentation for auto-configurations and test slices.

Closes gh-29872
2022-02-17 09:17:23 +01:00
Phillip Webb
c0ffb35668 Update copyright year of changed files 2022-02-16 20:43:10 -08:00
Phillip Webb
4092afc98f Polish 2022-02-16 20:42:58 -08:00
Phillip Webb
a40637cb6d Merge branch '2.6.x' into 2.7.x 2022-02-16 20:30:32 -08:00
Phillip Webb
560d576a02 Polish 2022-02-16 20:30:14 -08:00
Phillip Webb
26512f8ac6 Merge branch '2.6.x' into 2.7.x 2022-02-16 20:24:59 -08:00
Phillip Webb
5b4ec32645 Merge branch '2.5.x' into 2.6.x 2022-02-16 18:56:12 -08:00
Phillip Webb
c86b1330cf Update copyright year of changed files 2022-02-16 17:56:19 -08:00
Phillip Webb
9ab1b669d0 Polish 2022-02-16 17:56:07 -08:00
Andy Wilkinson
ba73436ea8 Merge branch '2.6.x' into 2.7.x
Closes gh-29881
2022-02-16 14:59:39 +00:00
Andy Wilkinson
86c75b7a5c Merge branch '2.5.x' into 2.6.x
Closes gh-29880
2022-02-16 14:58:58 +00:00
Andy Wilkinson
03352b0a8c Prohibit use of APIs that prevent task configuration avoidance
Closes gh-29809
2022-02-16 14:57:47 +00:00
Stephane Nicoll
1080fad7c7 Merge branch '2.6.x' into 2.7.x 2022-02-16 14:32:42 +01:00
Stephane Nicoll
4fe0fb8913 Merge branch '2.5.x' into 2.6.x 2022-02-16 14:32:30 +01:00
Stephane Nicoll
865a829d29 Prevent upgrade to AspectJ 1.9.8 as it requires Java 11 2022-02-16 14:31:26 +01:00
Moritz Halbritter
8e99788fc8 Migrate auto-configurations to @AutoConfiguration
Closes gh-29871
2022-02-16 13:55:16 +01:00
Andy Wilkinson
8e4484acea Merge branch '2.6.x' into 2.7.x
Closes gh-29878
2022-02-16 12:01:31 +00:00
Andy Wilkinson
ce4beae12f Merge branch '2.5.x' into 2.6.x
Closes gh-29877
2022-02-16 12:01:15 +00:00
izeye
6bd6f590d3 Fix Javadoc since for ResolveMainClassName#setClasspath(Object)
See gh-29826
2022-02-16 12:00:31 +00:00
Andy Wilkinson
18e49b0269 Fix H2 R2DBC URL on Windows
Closes gh-29875
2022-02-16 11:55:11 +00:00
Moritz Halbritter
100f80d073 Add @AutoConfiguration annotation
This annotation can be used to mark auto-configurations with a dedicated
annotation. Under the hood, it's a standard @Configuration with
proxyBeanMethods set to false.

Closes gh-29870
2022-02-16 11:53:46 +01:00
Stephane Nicoll
8ae77659cd Upgrade to XmlUnit2 2.9.0
Closes gh-29869
2022-02-16 10:55:48 +01:00
Stephane Nicoll
f5725df2a6 Upgrade to Versions Maven Plugin 2.9.0
Closes gh-29868
2022-02-16 10:55:47 +01:00
Stephane Nicoll
48bda615a2 Upgrade to Undertow 2.2.16.Final
Closes gh-29867
2022-02-16 10:17:50 +01:00
Stephane Nicoll
bfc9094562 Upgrade to Thymeleaf 3.0.15.RELEASE
Closes gh-29866
2022-02-16 10:17:49 +01:00
Stephane Nicoll
c874bfde4b Upgrade to SLF4J 1.7.36
Closes gh-29865
2022-02-16 10:17:47 +01:00