Commit Graph

16227 Commits (4ea8e7d3f7142024d8d6e64382b537343f7fb74a)

Author SHA1 Message Date
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
3 years ago
Moritz Halbritter f5f6a1fe83 Merge branch '2.7.x' 3 years ago
Moritz Halbritter 4f49e8c990 Polish JavaDoc 3 years ago
Andy Wilkinson 6a1fe01a63 Merge branch '2.7.x' 3 years ago
Andy Wilkinson d18f536bc8 Remove separate netty-tcnative dependency management
Closes gh-29816
3 years ago
Andy Wilkinson 1e1b2a062e Merge branch '2.7.x' 3 years ago
Andy Wilkinson 0e5a82522c Merge branch '2.6.x' into 2.7.x
Closes gh-29904
3 years ago
Andy Wilkinson 9da6fb4a5a Merge branch '2.5.x' into 2.6.x
Closes gh-29903
3 years ago
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
3 years ago
Andy Wilkinson 41d516cb4f Merge branch '2.7.x' 3 years ago
Andy Wilkinson b6fea07001 Merge branch '2.6.x' into 2.7.x
Closes gh-29902
3 years ago
Andy Wilkinson 0cebb332d1 Merge branch '2.5.x' into 2.6.x
Closes gh-29901
3 years ago
Andy Wilkinson ac38a5a3e9 Update javadoc to reflect move to SecurityFilterChain
Closes gh-29900
3 years ago
Andy Wilkinson 2145396841 Merge branch '2.7.x' 3 years ago
Andy Wilkinson fc8f55fbf4 Upgrade to OkHTTP 4.9.3
Closes gh-18506
3 years ago
Scott Frederick cb69d01e04 Merge branch '2.7.x' into main 3 years ago
Scott Frederick 42328771ad Suppress deprecation warnings for WebSecurityConfigurerAdapter
Fixes gh-29897
3 years ago
Stephane Nicoll 55fdb9f215 Upgrade to Spring HATEOAS 1.5.0-M2
Closes gh-29893
3 years ago
Moritz Halbritter ec31278f1e Add Moritz to the doc authors list 3 years ago
Moritz Halbritter 896345df23 Fix test 3 years ago
Stephane Nicoll 828d4cebee Upgrade to Spring Framework 5.3.16
Closes gh-29761
3 years ago
Stephane Nicoll 5b58d1bfca Upgrade to Spring Framework 5.3.16
Closes gh-29719
3 years ago
Stephane Nicoll b1cfa402e8 Upgrade to Spring Framework 5.3.16
Closes gh-29709
3 years ago
Moritz Halbritter 42808ff13c Merge branch '2.7.x'
# Conflicts:
#	spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/spring.factories
#	spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories
#	spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/spring.factories
3 years ago
Moritz Halbritter 7c96294641 Move our auto-configurations from spring.factories to new file
Closes gh-29873
3 years ago
Stephane Nicoll 553801bd9d Upgrade to Micrometer 1.9.0-M3
Closes gh-29763
3 years ago
Stephane Nicoll 6c82bb2e6f Upgrade to Micrometer 1.8.3
Closes gh-29718
3 years ago
Stephane Nicoll 0fba81adf0 Upgrade to Micrometer 1.7.9
Closes gh-29708
3 years ago
Stephane Nicoll 6fa8d81daf Start building against Spring HATEOAS 1.5.0-M2 snapshots
See gh-29893
3 years ago
Moritz Halbritter 303979fb65 Merge branch '2.7.x' 3 years ago
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
3 years ago
Phillip Webb ff4b92a3ba Update copyright year of changed files 3 years ago
Phillip Webb 37263ea7dd Merge branch '2.7.x' 3 years ago
Phillip Webb c0ffb35668 Update copyright year of changed files 3 years ago
Phillip Webb 4092afc98f Polish 3 years ago
Phillip Webb 0bf7cda230 Merge branch '2.7.x' 3 years ago
Phillip Webb a40637cb6d Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb 560d576a02 Polish 3 years ago
Phillip Webb f4b849ec95 Merge branch '2.7.x' 3 years ago
Phillip Webb 26512f8ac6 Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb 5b4ec32645 Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb c86b1330cf Update copyright year of changed files 3 years ago
Phillip Webb 9ab1b669d0 Polish 3 years ago
Madhura Bhave bf1ed5f2f8 Update copyright header on changed files 3 years ago
Madhura Bhave e20ee87b5d Remove explicit @ConstructorBinding on type
See gh-23216
3 years ago
Madhura Bhave 44b88cc88c Allow @ConstructorBinding to be optional
This commit makes @ConstructorBinding optional for a type
that has a single parameterized constructor. An @Autowired annotation
on any of the constructors indicates that the type should not be constructor
bound.

Since @ConstructorBinding is now deduced for a single parameterized constructor,
the annotation is no longer needed at the type level.

Closes gh-23216
3 years ago
Andy Wilkinson d62d5a09a1 Merge branch '2.7.x' 3 years ago
Andy Wilkinson ba73436ea8 Merge branch '2.6.x' into 2.7.x
Closes gh-29881
3 years ago
Andy Wilkinson 86c75b7a5c Merge branch '2.5.x' into 2.6.x
Closes gh-29880
3 years ago
Andy Wilkinson 03352b0a8c Prohibit use of APIs that prevent task configuration avoidance
Closes gh-29809
3 years ago
Moritz Halbritter fdb1010cbc Migrate auto-configurations to @AutoConfiguration
Closes gh-29871
3 years ago
Stephane Nicoll 1080fad7c7 Merge branch '2.6.x' into 2.7.x 3 years ago
Stephane Nicoll 4fe0fb8913 Merge branch '2.5.x' into 2.6.x 3 years ago
Stephane Nicoll 865a829d29 Prevent upgrade to AspectJ 1.9.8 as it requires Java 11 3 years ago
Moritz Halbritter 8e99788fc8 Migrate auto-configurations to @AutoConfiguration
Closes gh-29871
3 years ago
Andy Wilkinson d7fa2e2e8f Merge branch '2.7.x' 3 years ago
Andy Wilkinson 8e4484acea Merge branch '2.6.x' into 2.7.x
Closes gh-29878
3 years ago
Andy Wilkinson ce4beae12f Merge branch '2.5.x' into 2.6.x
Closes gh-29877
3 years ago
izeye 6bd6f590d3 Fix Javadoc since for ResolveMainClassName#setClasspath(Object)
See gh-29826
3 years ago
Andy Wilkinson 2305b583f1 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 18e49b0269 Fix H2 R2DBC URL on Windows
Closes gh-29875
3 years ago
Moritz Halbritter cb08065ece Merge branch '2.7.x' 3 years ago
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
3 years ago
Stephane Nicoll 587b278bb4 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 8ae77659cd Upgrade to XmlUnit2 2.9.0
Closes gh-29869
3 years ago
Stephane Nicoll f5725df2a6 Upgrade to Versions Maven Plugin 2.9.0
Closes gh-29868
3 years ago
Stephane Nicoll 48bda615a2 Upgrade to Undertow 2.2.16.Final
Closes gh-29867
3 years ago
Stephane Nicoll bfc9094562 Upgrade to Thymeleaf 3.0.15.RELEASE
Closes gh-29866
3 years ago
Stephane Nicoll c874bfde4b Upgrade to SLF4J 1.7.36
Closes gh-29865
3 years ago
Stephane Nicoll 51fa2d4ca8 Upgrade to SendGrid 4.8.3
Closes gh-29864
3 years ago
Stephane Nicoll 976607ef02 Upgrade to Selenium HtmlUnit 3.58.0
Closes gh-29863
3 years ago
Stephane Nicoll 799ba39943 Upgrade to Selenium 4.1.2
Closes gh-29862
3 years ago
Stephane Nicoll a26c99e23a Upgrade to REST Assured 4.5.1
Closes gh-29861
3 years ago
Stephane Nicoll 0401a834e6 Upgrade to Rabbit AMQP Client 5.14.2
Closes gh-29860
3 years ago
Stephane Nicoll 361e624b0a Upgrade to Prometheus Client 0.15.0
Closes gh-29859
3 years ago
Stephane Nicoll b6d0d9a743 Upgrade to Postgresql 42.3.3
Closes gh-29858
3 years ago
Stephane Nicoll 7198e46cff Upgrade to Oracle Database 21.5.0.0
Closes gh-29857
3 years ago
Stephane Nicoll 2363ae3ef2 Upgrade to Netty tcNative 2.0.48.Final
Closes gh-29856
3 years ago
Stephane Nicoll 5e85917ae7 Upgrade to Netty 4.1.74.Final
Closes gh-29855
3 years ago
Stephane Nicoll ecaca8cff8 Upgrade to Neo4j Java Driver 4.4.3
Closes gh-29854
3 years ago
Stephane Nicoll 56f4bb610d Upgrade to MongoDB 4.5.0
Closes gh-29853
3 years ago
Stephane Nicoll 398821c66b Upgrade to Mockito 4.3.1
Closes gh-29852
3 years ago
Stephane Nicoll d6c22435bb Upgrade to Maven Javadoc Plugin 3.3.2
Closes gh-29851
3 years ago
Stephane Nicoll 1538bb78b4 Upgrade to Maven Compiler Plugin 3.10.0
Closes gh-29850
3 years ago
Stephane Nicoll ba9047e6ae Upgrade to Liquibase 4.7.1
Closes gh-29849
3 years ago
Stephane Nicoll 06bc52d727 Upgrade to Elasticsearch 7.17.0
Closes gh-29848
3 years ago
Stephane Nicoll 76797c4ecb Upgrade to Kafka 3.1.0
Closes gh-29700
3 years ago
Stephane Nicoll 3b7641c84d Upgrade to Json-smart 2.4.8
Closes gh-29846
3 years ago
Stephane Nicoll 7c3b31fd77 Upgrade to Json Path 2.7.0
Closes gh-29845
3 years ago
Stephane Nicoll 26d6c56865 Upgrade to Johnzon 1.2.16
Closes gh-29844
3 years ago
Stephane Nicoll 719fb2e8e5 Upgrade to Jetty 9.4.45.v20220203
Closes gh-29843
3 years ago
Stephane Nicoll f4edcef3e0 Upgrade to Jetty Reactive HTTPClient 1.1.11
Closes gh-29842
3 years ago
Stephane Nicoll e1b54677a3 Upgrade to Infinispan 13.0.6.Final
Closes gh-29841
3 years ago
Stephane Nicoll 8d7c215768 Upgrade to HttpClient5 5.1.3
Closes gh-29840
3 years ago
Stephane Nicoll eb84ac3298 Upgrade to HtmlUnit 2.58.0
Closes gh-29839
3 years ago
Stephane Nicoll a6fcb4c8f7 Upgrade to Hibernate Validator 6.2.2.Final
Closes gh-29838
3 years ago
Stephane Nicoll 334f198353 Upgrade to Hibernate 5.6.5.Final
Closes gh-29837
3 years ago
Stephane Nicoll 197162b2bb Upgrade to Gson 2.9.0
Closes gh-29836
3 years ago
Stephane Nicoll bc112fe61b Upgrade to Glassfish JAXB 2.3.6
Closes gh-29835
3 years ago
Stephane Nicoll 06ddffed06 Upgrade to Flyway 8.5.0
Closes gh-29834
3 years ago