Commit Graph

451 Commits (35aa6b0ff69175e2635412d6a0f6b4c52bb86f32)

Author SHA1 Message Date
Andy Wilkinson 3614c8d1f8 Merge branch '2.5.x' into 2.6.x
Closes gh-29954
3 years ago
Andy Wilkinson 1e8d29f7aa Configure Kotlin compilation JVM target by convention
Closes gh-29952
3 years ago
Andy Wilkinson 834f07083d Merge branch '2.7.x' 3 years ago
Andy Wilkinson 43c339824c Merge branch '2.6.x' into 2.7.x
Closes gh-29924
3 years ago
Andy Wilkinson 30fcc195b4 Merge branch '2.5.x' into 2.6.x
Closes gh-29923
3 years ago
Andy Wilkinson 4cb8ae6c8a Try to avoid hitting secondary rate limit when opening issues
GitHub employs a secondary rate limit for actions that can trigger
notifications, such as opening a new issue. To avoid hitting this
limit, they recommend [1] waiting at least one second between each
request.

This commit attempts to comply with this guidance by adding a
one-second sleep prior to each POST request that opens an issue.

Closes gh-29879

[1] https://docs.github.com/en/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits
3 years ago
Andy Wilkinson 1940f7a5d9 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 6493c7c561 Merge branch '2.6.x' into 2.7.x
Closes gh-29922
3 years ago
Andy Wilkinson fcd52c02a7 Merge branch '2.5.x' into 2.6.x
Closes gh-29921
3 years ago
Andy Wilkinson 55f68989d8 Remove redundant action to make plugins dat file reproducible
Closes gh-29917
3 years ago
Moritz Halbritter d42f675959 Merge branch '2.7.x' 3 years ago
Moritz Halbritter d7b229d3c7 Rename AutoConfigurationLoader to ImportCandidates
Move the class to a more suitable package, and load the files from
META-INF/spring/<fqn>.imports

See gh-29872
3 years ago
Andy Wilkinson 8209980ca0 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 027093d852 Use a templated source file for SpringBootVersion
Closes gh-29670
3 years ago
Moritz Halbritter 829ff4d03f Merge branch '2.7.x' 3 years ago
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
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 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
Scott Frederick 79e5d3a2d0 Merge branch '2.7.x' into main 3 years ago
Scott Frederick f80490bafb Precompute Spring Boot version at build time
Closes gh-29670
3 years ago
Andy Wilkinson 3b5e7ee0a8 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 7e8d499333 Merge branch '2.6.x' into 2.7.x
Closes gh-29690
3 years ago
Andy Wilkinson 093e8a524d Merge branch '2.5.x' into 2.6.x
Closes gh-29689
3 years ago
Moritz Halbritter 52d9ba58d8 Move appendix subsections under appendix section
This involved a small code change to the generated configuration
properties snippets. The section id has to start with
'appendix.', otherwise the section-id asciidoctor extension
complains. To ensure that the anchors that are derived from the
section IDs remain backwards compatible, the anchor-rewrite
properties have been updated.

See gh-29667
3 years ago
Andy Wilkinson 977a0a8356 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 2fec7b8562 Only use Kotlin 1.6 API and language versions in docs project
To preserve our existing Kotlin 1.3 baseline, we should compile our
Kotlin code with Kotlin 1.3 API and language versions. At the same
time, we want our documentation to use modern Kotlin. This commit
restores the 1.3 convention and overrides it to 1.6 in the docs
project. This maintains our Kotlin 1.3 baseline while also allowing
the Kotlin code examples to use 1.6 API and language features.

Closes gh-29654
3 years ago
Phillip Webb a6b7ae2110 Merge branch '2.7.x' 3 years ago
Phillip Webb 71695d2162 Merge branch '2.6.x' into 2.7.x
Closes gh-29658
3 years ago
Phillip Webb 05c58a18df Merge branch '2.5.x' into 2.6.x
Closes gh-29657
3 years ago
Phillip Webb 12a33a2eaf Upgrade to spring-asciidoctor-backends 0.0.3
Closes gh-29656
3 years ago
Phillip Webb 50047e6d8c Merge branch '2.7.x' 3 years ago
Phillip Webb 6c74e24147 Update copyright year of changed files 3 years ago
Phillip Webb 8ed5d15cd3 Merge branch '2.7.x' 3 years ago
Phillip Webb d33d92dfce Polish KotlinConventions 3 years ago
Phillip Webb f8c2bff825 Use Kotlin 1.6 for API and language version
Closes gh-29654
3 years ago
Phillip Webb 546cad06db Merge branch '2.6.x' into 2.7.x
Closes gh-29635
3 years ago
Phillip Webb c01cee18b5 Merge branch '2.5.x' into 2.6.x
Closes gh-29634
3 years ago
Phillip Webb 79fc77fade Upgrade to spring-javaformat 0.0.31
Closes gh-29633
3 years ago
Andy Wilkinson f2ac7d10ef Merge branch '2.7.x' 3 years ago
Andy Wilkinson 8480abca20 Merge branch '2.6.x' into 2.7.x
Closes gh-29561
3 years ago
Andy Wilkinson fe43d527b5 Merge branch '2.5.x' into 2.6.x
Closes gh-29560
3 years ago
Andy Wilkinson 3ed65f2383 Avoid running Maven plugin ITs for each s-b-dependencies change
Closes gh-28781
3 years ago
Phillip Webb fb83e6930d Merge branch '2.7.x' 3 years ago
Phillip Webb b31e9d6b4a Merge branch '2.6.x' into 2.7.x
Closes gh-29492
3 years ago
Phillip Webb 1f61c36f7a Merge branch '2.5.x' into 2.6.x
Closes gh-29491
3 years ago
Andy Wilkinson 66428527e0 Minimize tasks run in ConventionsPluginTests
Update `ConventionsPluginTests` so that dependency resolution is
not required. This provides a work-around for our currently failing
Windows build.

Closes gh-29490
3 years ago
Andy Wilkinson 12cd97a20c Reinstate support for Thymeleaf 3 years ago
Stephane Nicoll 3ef03cddb9 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 9c868751d6 Merge branch '2.6.x' into 2.7.x
Closes gh-29199
3 years ago
Stephane Nicoll f54ea67ed6 Merge branch '2.5.x' into 2.6.x
Closes gh-29198
3 years ago
dreis2211 7a87d18b12 Update copyrights to 2022
See gh-29195
3 years ago
Brian Clozel f61c87c3a7 Revert "Merge branch '2.7.x'"
This reverts commit f0677a119c, reversing
changes made to 938d58f32c.
3 years ago
Brian Clozel f0677a119c Merge branch '2.7.x' 3 years ago
Brian Clozel de808834f5 Auto-configure Spring GraphQL base infrastructure
This commit adds the auto-configuration for setting up the base Spring
GraphQL infrastructure. Because GraphQL doesn't depend on any particular
transport, we must have a separate configuration for creating:

* the `GraphQlSource`, which holds the schema and the `GraphQL` instance
* the `GraphQlService` for executing incoming requests
* the `BatchLoaderRegistry` for batch loading support
* the `AnnotatedControllerConfigurer` for supporting the annotated
  controllers programming model

This comes with a starting point for the `"spring.graphql.*"`
configuration properties; we can now configure the locations and file
extensions of GraphQL schema files we should load and configure at
startup.

See gh-29140
3 years ago
Madhura Bhave 34f96514ad Fix link to source code in snapshot documentation
Fixes gh-28856
3 years ago
Phillip Webb 003fb229fd Merge branch '2.7.x' 3 years ago
Phillip Webb f3bcbca841 Update copyright year of changed files 3 years ago
Scott Frederick 07243539bd Remove unused import
See gh-29029
3 years ago
Scott Frederick caf49783d4 Merge branch '2.7.x' 3 years ago
Scott Frederick a773af0387 Merge branch '2.6.x' into 2.7.x
Closes gh-29073
3 years ago
Scott Frederick 9e6709eda0 Enable caching for system tests in CI
Setting the `systemTest` Gradle task output as never up-to-date ensures
that all system tests are executed each time they are run in CI. The
`--rerun-tasks` Gradle option that was used previously had the same
effect but also disabled build caching.

Closes gh-29029
3 years ago
Andy Wilkinson 91faec3917 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 51e0fc4b6b Merge branch '2.6.x' into 2.7.x
See gh-28879
3 years ago
Andy Wilkinson f0f0aa5c46 Merge branch '2.5.x' into 2.6.x
See gh-28878
3 years ago
Andy Wilkinson 8322dda8cc Fix variant selection in spring-boot-maven-plugin
See gh-28877
3 years ago
Andy Wilkinson 95025d442f Merge branch '2.7.x' 3 years ago
Andy Wilkinson bad05a7860 Merge branch '2.6.x' into 2.7.x
Closes gh-28879
3 years ago
Andy Wilkinson c7c7592899 Merge branch '2.5.x' into 2.6.x
Closes gh-28878
3 years ago
Andy Wilkinson 25bdc097a0 Make poms of all dependencies available in int test repo
Closes gh-28877
3 years ago
Scott Frederick 015dca1956 Remove support for Thymeleaf
Closes gh-28611
3 years ago
Andy Wilkinson 8bf2ffd93c Drop support for Jersey until jersey-spring6 is available
Closes gh-28808
3 years ago
Andy Wilkinson 900085628a Raise the minimum supported version of Java to 17
Closes gh-28101
3 years ago
Andy Wilkinson 814c86c5e8 Raise the minimum supported version of Gradle to 7.3
Closes gh-28100
3 years ago
Andy Wilkinson 75c117a33f Prepare 2.7.x branch 3 years ago
Andy Wilkinson 354a18c9a6 Prepare 2.6.x branch 3 years ago
Phillip Webb beb68671bb Update copyright year of changed files 3 years ago
Andy Wilkinson 381c094c41 Merge branch '2.5.x' 3 years ago
Andy Wilkinson 8f0e12dc34 Revert accidentally committed changes
This partially reverts commit c083e0b049.
3 years ago
Andy Wilkinson c0d90dfa8f Merge branch '2.5.x'
Closes gh-28749
3 years ago
Andy Wilkinson c083e0b049 Avoid using temp before @TempDir has initialized it
Closes gh-28748
3 years ago
Andy Wilkinson 00fa0fb769 Merge branch '2.5.x'
Closes gh-28746
3 years ago
Andy Wilkinson f2b959b0a5 Add <type>zip</type> to Elasticsearch dist in dependencies bom
Fixes gh-28725
3 years ago
Andy Wilkinson 2a342ef416 Merge branch '2.5.x'
Closes gh-28662
3 years ago
Andy Wilkinson 5e4a502b2d Merge branch '2.4.x' into 2.5.x
Closes gh-28661
3 years ago
Andy Wilkinson 2cec3971d7 Prohibit unwanted dependencies in all modules not just starters
Closes gh-28658
3 years ago
Andy Wilkinson 51dc02e37b Merge branch '2.5.x'
See gh-28485
3 years ago
Andy Wilkinson 28d323ee3a Merge branch '2.4.x' into 2.5.x
See gh-28484
3 years ago
Andy Wilkinson b9e3660833 Revert running tests in parallel
See gh-19876
3 years ago
Andy Wilkinson c7a2d61aee Merge branch '2.4.x'
Closes gh-28485
3 years ago
Andy Wilkinson 7fe6f4887c Merge branch '2.4.x' into 2.5.x
Closes gh-28484
3 years ago
Andy Wilkinson 22d85e6d7b Allow tests to be run in parallel across multiple workers
Closes gh-19876
3 years ago
Phillip Webb 66aa713b85 Merge branch '2.5.x' 3 years ago
Phillip Webb 467e063d4b Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 8e704aab48 Restore 'javax.xml.bind:jaxb-api' exclusion
Restore the 'javax.xml.bind:jaxb-api' exclusion from `xmlunit-core`
which is actually required when using Maven on Java 9+.

The `CheckClasspathForUnnecessaryExclusions` cannot deal with profile
specific dependencies so an exception has been hard coded.

See gh-28332
3 years ago
Phillip Webb e95b0b5257 Polish 3 years ago
Andy Wilkinson 37a7144426 Merge branch '2.5.x'
Closes gh-28343
3 years ago