Commit Graph

555 Commits (f90ee2bdd9f65cea2c6c1245a48e737a6b8fd3e8)

Author SHA1 Message Date
Andy Wilkinson f49b16c645 Upgrade to Spring Java Format 0.0.34
Closes gh-31524
2 years ago
Andy Wilkinson 0bc514593f Polish "Use pattern matching for instanceof where appropriate"
See gh-31475
2 years ago
dreis2211 5db04da275 Use pattern matching for instanceof where appropriate
See gh-31475
2 years ago
dreis2211 fb45fc4819 Use Files.writeString() and Files.readString() where possible
See gh-31459
2 years ago
Andy Wilkinson fabe0637cd Raise the minimum supported version of Kotlin to 1.7
Closes gh-31391
2 years ago
Andy Wilkinson 0c0d3f27c4 Merge branch '2.7.x'
Closes gh-31389
2 years ago
Andy Wilkinson 88128ccc97 Merge branch '2.6.x' into 2.7.x
Closes gh-31388
2 years ago
Andy Wilkinson 5a028e059c Align buildSrc's Kotlin version with the main build
Closes gh-31387
2 years ago
Andy Wilkinson 228be786ca Polish 2 years ago
Andy Wilkinson 4bb5ba2bd0 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 935d1264e0 Merge branch '2.6.x' into 2.7.x 3 years ago
Andy Wilkinson 3d203d0215 Polish 3 years ago
Andy Wilkinson 5dfa5adb75 Merge branch '2.7.x'
Closes gh-31178
3 years ago
Andy Wilkinson 455ee0ce22 Merge branch '2.6.x' into 2.7.x
Closes gh-31177
3 years ago
Andy Wilkinson ee45fd2fc8 Remove redundant throws declarations from internal APIs
Closes gh-31176
3 years ago
Andy Wilkinson 003f747e77 Merge branch '2.7.x'
Closes gh-31170
3 years ago
Andy Wilkinson e617035dba Merge branch '2.6.x' into 2.7.x
Closes gh-31167
3 years ago
Andy Wilkinson 3e7bd582a3 Upgrade to Spring Java Format 0.0.33
Closes gh-31166
3 years ago
Phillip Webb 06f8041e4d Merge branch '2.7.x' 3 years ago
Phillip Webb d5d5997be7 Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb 99f5c781a5 Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 350d27fe50 Polish code to use method references when possible 3 years ago
Andy Wilkinson 395cfd068b Merge branch '2.7.x' 3 years ago
Andy Wilkinson 9fcb5749ba Merge branch '2.6.x' into 2.7.x 3 years ago
Andy Wilkinson 195b12e1ea Merge branch '2.5.x' 3 years ago
Andy Wilkinson ac65d35f75 Improve diagnostics for 403 response to upgrade issue creation
See gh-30304
3 years ago
Andy Wilkinson 48c948973d Polish 3 years ago
Andy Wilkinson d0e55643b1 Polish
Closes gh-30993
3 years ago
Andy Wilkinson 1fd9c4d82c Polish
Closes gh-30992
3 years ago
izeye 624c41c80e Polish
See gh-30862
3 years ago
Andy Wilkinson 9711160190 Merge branch '2.7.x' 3 years ago
Andy Wilkinson dacfae2d59 Merge branch '2.6.x' into 2.7.x
Closes gh-30991
3 years ago
Andy Wilkinson 075d01db54 Merge branch '2.5.x' into 2.6.x
Closes gh-30990
3 years ago
Andy Wilkinson d5f4323f53 Upgrade to Test Retry Gradle Plugin 1.4.0
Closes gh-30989
3 years ago
Andy Wilkinson 61995d762f Merge branch '2.7.x' 3 years ago
Andy Wilkinson fb121a1d40 Merge branch '2.6.x' into 2.7.x
Closes gh-30836
3 years ago
Andy Wilkinson de1cda786e Merge branch '2.5.x' into 2.6.x
Closes gh-30835
3 years ago
Andy Wilkinson d338df513a Avoid stale inputs by using sync rather than copy
Closes gh-30829
3 years ago
Phillip Webb c7374fd415 Update copyright year of changed files 3 years ago
Stephane Nicoll a4cccc98c6 Merge branch '2.7.x' 3 years ago
izeye ed412af138 Polish
See gh-30695
3 years ago
Andy Wilkinson dd812a3f76 Upgrade to Groovy 4.0.1
Closes gh-30279
3 years ago
Andy Wilkinson 5736f5401b Merge branch '2.7.x' 3 years ago
Andy Wilkinson c0a72bf5ea Merge branch '2.6.x' into 2.7.x
Closes gh-30167
3 years ago
Andy Wilkinson 4c1d1a6a69 Merge branch '2.5.x' into 2.6.x
Closes gh-30166
3 years ago
Andy Wilkinson cced7edd9c Document Devtools' property defaults directly in reference docs
Closes gh-29406
3 years ago
Andy Wilkinson b3588cf8c3 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 3c80049ccc Merge branch '2.6.x' into 2.7.x
Closes gh-30138
3 years ago
Andy Wilkinson a31135ebfc Merge branch '2.5.x' into 2.6.x
Closes gh-30137
3 years ago
Andy Wilkinson 0e627b00b3 Remove --illegal-access=warn from toolchain configuration
As of Java 17, it is ignored. Our Toolchain-based builds use at least
Java 17 so specifying it no longer has any effect.

Closes gh-30122
3 years ago
Andy Wilkinson 573934d545 Only treat warnings as errors when compiling with Java 17 3 years ago
Stephane Nicoll 0a81c238c2 Compile Kotlin code with a JVM target of 17
Closes gh-29956
3 years ago
Stephane Nicoll 099e811a38 Raise the minimum supported version of Kotlin to 1.6
Closes gh-29660
3 years ago
Andy Wilkinson 1547bad452 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 1f8c5942cf Merge branch '2.6.x' into 2.7.x
Closes gh-30030
3 years ago
Andy Wilkinson 4ac884ee2d Merge branch '2.5.x' into 2.6.x
Closes gh-30029
3 years ago
Andy Wilkinson 69ce392c34 Add support for classifiers when defining a bom
Closes gh-29298
3 years ago
Phillip Webb 5454e2e26a Merge branch '2.7.x' 3 years ago
Phillip Webb 9f00c3acf5 Polish 3 years ago
Andy Wilkinson 132bf686f8 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 2d9177dd9d Merge branch '2.6.x' into 2.7.x
Closes gh-29955
3 years ago
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