Commit Graph

16810 Commits (25d8888aff804233086685db962c5aeeb22215e2)

Author SHA1 Message Date
Stephane Nicoll 6baa248228 Start building against Spring Framework 5.3.17 snapshots
See gh-30188
3 years ago
Stephane Nicoll 001bc04c8c Start building against Reactor 2020.0.17 snapshots
See gh-30187
3 years ago
Stephane Nicoll 31fb515d16 Start building against Spring AMQP 2.4.3 snapshots
See gh-30180
3 years ago
Stephane Nicoll 64d706026d Start building against Spring Data 2021.1.3 snapshots
See gh-30179
3 years ago
Stephane Nicoll 33ec810b2e Start building against Micrometer 1.8.4 snapshots
See gh-30178
3 years ago
Stephane Nicoll 71e6a836a6 Start building against Spring Framework 5.3.17 snapshots
See gh-30177
3 years ago
Stephane Nicoll 2d1f5d3bc1 Start building against Reactor 2020.0.17 snapshots
See gh-30176
3 years ago
Scott Frederick 377b13c048 Merge branch '2.7.x' 3 years ago
Scott Frederick de321b00b7 Support podman for building images
Closes gh-30196
3 years ago
Scott Frederick 5e07db7d21 Merge branch '2.7.x' 3 years ago
Scott Frederick 7ad538cd84 Add option to use configured Docker host in builder
This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.

Fixes gh-29384
3 years ago
Scott Frederick 040afdeafe Merge branch '2.7.x' 3 years ago
Scott Frederick 93622d18eb Merge branch '2.6.x' into 2.7.x
Closes gh-30195
3 years ago
Scott Frederick 35a9a7fee2 Ignore deprecation warnings in Paketo system tests
Closes gh-30194
3 years ago
Stephane Nicoll 43ba80d431 Start building against Spring Integration 5.5.10 snapshots
See gh-30175
3 years ago
Stephane Nicoll 9ed4086ac2 Start building against Spring WS 3.1.3 snapshots
See gh-30174
3 years ago
Stephane Nicoll 07b6269a69 Start building against Spring AMQP 2.3.15 snapshots
See gh-30173
3 years ago
Stephane Nicoll e391215643 Start building against Spring Data 2021.0.10 snapshots
See gh-30172
3 years ago
Stephane Nicoll c55f0a1eac Start building against Micrometer 1.7.10 snapshots
See gh-30171
3 years ago
Stephane Nicoll 2620710480 Start building against Spring Framework 5.3.17 snapshots
See gh-30170
3 years ago
Stephane Nicoll d14d0c3f04 Start building against Reactor 2020.0.17 snapshots
See gh-30169
3 years ago
Andy Wilkinson a2ecd600f8 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 1c19995db7 Merge branch '2.6.x' into 2.7.x
Closes gh-30165
3 years ago
Andy Wilkinson 6bbf3aff0e Merge branch '2.5.x' into 2.6.x
Closes gh-30164
3 years ago
Andy Wilkinson eef89c6c35 Increase tests' Cassandra timeouts to 60s
Closes gh-30163
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 f97bf544bf Polish 3 years ago
Andy Wilkinson faf7a35425 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 6494a9f08a Merge branch '2.6.x' into 2.7.x
Closes gh-30165
3 years ago
Andy Wilkinson 7c3c5d3d3e Merge branch '2.5.x' into 2.6.x
Closes gh-30164
3 years ago
Andy Wilkinson bbdef2b026 Increase timeouts in tests that use Cassandra
Closes gh-30163
3 years ago
Andy Wilkinson 14128ffc27 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 085fb0766f Merge branch '2.6.x' into 2.7.x
Closes gh-30162
3 years ago
Andy Wilkinson 0958498a47 Merge branch '2.5.x' into 2.6.x
Closes gh-30161
3 years ago
Andy Wilkinson 6eacc07de0 Fix handling of Flux responses from Actuator endpoints
Closes gh-30095
3 years ago
Andy Wilkinson ab74bfcf65 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 9075849143 Upgrade to Hazelcast 5.1
Closes gh-30154
3 years ago
Madhura Bhave 44f71a46aa Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 24c48f0b43 Merge branch '2.6.x' into 2.7.x
Closes gh-30150
3 years ago
Madhura Bhave bdcc2509f5 Merge branch '2.5.x' into 2.6.x
Closes gh-30149
3 years ago
Madhura Bhave d0883ba6ef Document the WebSocket-related exclusions that are required to use Jetty 10
Closes gh-29275
3 years ago
Andy Wilkinson 2600bf4719 Merge branch '2.6.x' into 2.7.x
Closes gh-30142
3 years ago
Andy Wilkinson 382c6972ec Merge branch '2.5.x' into 2.6.x
Closes gh-30141
3 years ago
Andy Wilkinson 5264fb3d1e Test our Gradle Plugin against Gradle 7.4.1
Closes gh-30139
3 years ago
Andy Wilkinson abcc246a38 Polish 3 years ago
Andy Wilkinson e9d2ec507e Merge branch '2.7.x' 3 years ago
Andy Wilkinson f5ca568014 Remove versions less than 17 from JavaVersion enum
Closes gh-29503
3 years ago
Andy Wilkinson 813c2a5b1e Merge branch '2.6.x' into 2.7.x
Closes gh-30135
3 years ago
Andy Wilkinson 3cb1629f45 Merge branch '2.5.x' into 2.6.x
Closes gh-30134
3 years ago
Andy Wilkinson da1eb25e4b Remove redundant JRE-based enabled and disabled annotations from tests
Closes gh-29693
3 years ago
Andy Wilkinson a031c0c659 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 881f2788ae Merge branch '2.6.x' into 2.7.x
Closes gh-30133
3 years ago
Andy Wilkinson b1be6ac271 Merge branch '2.5.x' into 2.6.x
Closes gh-30132
3 years ago
Andy Wilkinson 314acd3407 Add EIGHTEEN to JavaVersion
Closes gh-29524
3 years ago
Andy Wilkinson d552f49128 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 83de1995c7 Merge branch '2.6.x' into 2.7.x
Closes gh-30130
3 years ago
Andy Wilkinson b0e4cabdd8 Merge branch '2.5.x' into 2.6.x
Closes gh-30123
3 years ago
Andy Wilkinson 20d21d4e58 Set up CI with JDK 18
Closes gh-30104
3 years ago
Moritz Halbritter 16f069ef47 Merge branch '2.5.x' into 2.6.x
Closes gh-30125
3 years ago
Moritz Halbritter d14980ed5e Polish "Tweak performance for Prometheus scraping endpoint"
See gh-30085
3 years ago
Peter Paul Bakker fb3f3c52cf Tweak performance for Prometheus scraping endpoint
Reduce the number of times capacity growth is needed inside the StringWriter.
A typical default SpringBoot Prometheus page has more than 11k characters.
Best performance results when no capacity growth is needed at all, so base
it on previous metrics page size plus some room for possible extra metric info.

See gh-30085
3 years ago
Moritz Halbritter 2816fc37a8 Merge branch '2.7.x' 3 years ago
Moritz Halbritter 93f31ee063 Polish "Tweak performance for Prometheus scraping endpoint"\n\nSee gh-30085 3 years ago
Peter Paul Bakker e2ebb56911 Tweak performance for Prometheus scraping endpoint
Reduce the number of times capacity growth is needed inside the StringWriter.
A typical default SpringBoot Prometheus page has more than 11k characters.
Best performance results when no capacity growth is needed at all, so base
it on previous metrics page size plus some room for possible extra metric info.

See gh-30085
3 years ago
Stephane Nicoll e5cdcdadd5 Merge branch '2.7.x' 3 years ago
Stephane Nicoll a71d9f5088 Merge branch '2.6.x' into 2.7.x
Closes gh-30121
3 years ago
Stephane Nicoll 069c328075 Merge branch '2.5.x' into 2.6.x
Closes gh-30120
3 years ago
fml2 80b90ed386 Fix typo
See gh-30118
3 years ago
Stephane Nicoll 06321d4e55 Merge branch '2.7.x' 3 years ago
Stephane Nicoll b66bf393e4 Merge branch '2.6.x' into 2.7.x
Closes gh-30119
3 years ago
Stephane Nicoll be85f317d3 Fix anchor tag for Spring HATEOAS section
Closes gh-30106
3 years ago
Madhura Bhave 5368ed98ef Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 06496d85cd Merge branch '2.6.x' into 2.7.x
Closes gh-30115
Closes gh-30116
3 years ago
Madhura Bhave 09dc4e5ce3 Merge branch '2.5.x' into 2.6.x
Closes gh-30113
Closes gh-30114
3 years ago
Madhura Bhave ef7d7487fa Document when config data properties are invalid
This commit also reinstates documentation for
`spring.profiles.include`

Closes gh-25849
Closes gh-28451
3 years ago
Madhura Bhave 70efe7d384 Fix javax import 3 years ago
Madhura Bhave 7846fb09be Merge branch '2.7.x' into main 3 years ago
Madhura Bhave ee291dc36f Merge branch '2.6.x' into 2.7.x
Closes gh-30112
3 years ago
Madhura Bhave b86ad89523 Merge branch '2.5.x' into 2.6.x
Closes gh-30111
3 years ago
Madhura Bhave 7d63faac7c Document the scalar types supported by MapBinder
Closes gh-27581
3 years ago
Madhura Bhave f10f27c3d4 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave ba7ba08811 Merge branch '2.6.x' into 2.7.x
Closes gh-30110
3 years ago
Madhura Bhave 9c437c6cd9 Merge branch '2.5.x' into 2.6.x
Closes gh-30109
3 years ago
Madhura Bhave d240e293db Document how to obtain ServletContext with an embedded container setup
Closes gh-24561
3 years ago
Gautham Mohan 4388910435 Consider DataFetcherExceptionResolver in GraphQTest
Prior to this commit, `@GraphQlTest` slice tests would only consider
JsonComponent, RuntimeWiringConfigurer, Converter and
GenericConverter beans. But DataFetcherExceptionResolver,
Instrumentation and GraphQlSourceBuilderCustomizer are used in
setting up the GraphQL source.

This commit ensures that the `GraphQlTypeExcludeFilter` considers
those bean types.

Closes gh-30078
3 years ago
Brian Clozel 087e853c5d Refine GraphQL server auto-configuration
Prior to this commit, launching a GraphQL application without any schema
file or customizer bean would result in an exception caught by a
FailureAnalyzer telling the developer about configured locations.

Since then, a new client has been introduced in Spring GraphQL and the
mere presence of the GraphQL starter does not mean anymore that the
intent is to create a GraphQL API in the app: we could instead just
consume an existing, remote API.

This commit refines the GraphQL server auto-configuration so that it is
enabled only if:

* there is at least one schema file in the configured locations
* or a `GraphQlSourceCustomizer` bean has been defined in the app

These changes make the custom FailureAnalyzer useless and is also
removed as part of this commit.

Closes gh-30035
3 years ago
Brian Clozel bf79d6baef Auto-configure ConversionService for GraphQL
Prior to this commit, we would configure a default conversion service
for GraphQL annotated controllers, without registering any additional
formatters.

This commit aligns the GraphQL auto-configuration with MVC and WebFlux,
since we now use the `ApplicationConversionService` to register all
application formatters for the GraphQL infrastructure.

Closes gh-29638
3 years ago
rstoyanchev ef4add27f0 Do not set ConversionService on AnnotatedControllerConfigurer
After 0b449d89e1,
the ConversionService on AnnotatedControllerConfigurer is an internally
managed instance that is customized with FormatterRegistrar rather than
set.

Closes gh-29636
3 years ago
Brian Clozel 81754c8bc4 Upgrade to Spring GraphQL 1.0.0-SNAPSHOT
This commit switches to 1.0.0-SNAPSHOT for Spring GraphQL, before its
upcoming 1.0.0-M6 version.

This commit adapts to the changes introduced in
spring-projects/spring-graphql#317 : now that `GraphQlClient` has been
introduced, `GraphQlTester` has been aligned with the new
infrastructure. The `@GraphQlTest` and `@SpringBootTest` testing support
is now using different variants for each.

All samples have been updated to use the proper GraphQL terminology, see
and spring-projects/spring-graphql#310 .

See gh-29637
3 years ago
Andy Wilkinson 997f7cbfce Merge branch '2.7.x' 3 years ago
Andy Wilkinson dfd4097436 Merge branch '2.6.x' into 2.7.x
Closes gh-30101
3 years ago
Andy Wilkinson 5b2cc74f71 Merge branch '2.5.x' into 2.6.x
Closes gh-30100
3 years ago
Andy Wilkinson 708e57eafb Register metrics for wrapped R2DBC ConnectionPools
Closes gh-30090
3 years ago
Andy Wilkinson d92dcf9452 Merge branch '2.7.x' 3 years ago
Andy Wilkinson dcaca38154 Merge branch '2.6.x' into 2.7.x
Closes gh-30099
3 years ago
Andy Wilkinson 119a713f09 Merge branch '2.5.x' into 2.6.x
Closes gh-30098
3 years ago
Andy Wilkinson e7705f4f71 Improve condition message produced by @ConditionalOnSingleCandidate
Closes gh-30073
3 years ago
Stephane Nicoll cc3021d2df Start building against Spring Framework 6.0.0-M3 snapshots
See gh-29957
3 years ago
Stephane Nicoll 37ccc52b8a Merge branch '2.7.x' 3 years ago
Stephane Nicoll d67aa3c054 Fix null safety in Kotlin examples
Closes gh-30097
3 years ago
Madhura Bhave 5960d2dba1 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 9628507756 Merge branch '2.6.x' into 2.7.x
Closes gh-30094
3 years ago
Madhura Bhave d131003456 Merge branch '2.5.x' into 2.6.x
Closes gh-30093
3 years ago
Madhura Bhave 480ccc6175 Clarify devtools documentation when using with build plugins
Closes gh-17851
3 years ago
Madhura Bhave 0e71d80590 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 88bd0fa794 Merge branch '2.6.x' into 2.7.x 3 years ago
Madhura Bhave 27bf068091 Merge branch '2.5.x' into 2.6.x 3 years ago
Madhura Bhave 9b073c825b Fix checkstyle 3 years ago
Madhura Bhave 524c0e1474 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave b80047c451 Merge branch '2.6.x' into 2.7.x
Closes gh-30092
3 years ago
Madhura Bhave ac04be75f8 Merge branch '2.5.x' into 2.6.x
Closes gh-30091
3 years ago
Madhura Bhave ed8f8d59ef Document how to structure configurations for efficient slice tests
Closes gh-16088
3 years ago
Stephane Nicoll 6f8ce3deb5 Avoid use of instance supplier for core infrastructure bean
Closes gh-30021
3 years ago
Stephane Nicoll e6f6b2068b Start building against Spring Kafka 3.0.0-M3 snapshots
See gh-30089
3 years ago
Moritz Halbritter 24a68fc595 Merge branch '2.7.x' 3 years ago
Moritz Halbritter d95dc75de9 Merge branch '2.6.x' into 2.7.x 3 years ago
Moritz Halbritter e980a53399 Merge branch '2.5.x' into 2.6.x 3 years ago
Moritz Halbritter f3eb90046f Remove @Repeatable support for @DisabledOnOs
We'll add it back again when we need it, and delay the naming issue.

See gh-30082
3 years ago
Moritz Halbritter 74fe5735d9 Polish 3 years ago
Moritz Halbritter a1b1377733 Merge branch '2.7.x' 3 years ago
Moritz Halbritter 50d766020c Merge branch '2.6.x' into 2.7.x
Closes gh-30084
3 years ago
Moritz Halbritter 564555347f Merge branch '2.5.x' into 2.6.x
Closes gh-30083
3 years ago
Moritz Halbritter be38311c5d Disable incompatible tests on Linux AArch64
- Adds a new @DisableOnOs annotation, which is inspired from JUnit5s
  @DisableOnOs annotation. This new annotation supports the architecture
  and is repeatable

Closes gh-30082
3 years ago
Stephane Nicoll f869c490f4 Merge branch '2.7.x' 3 years ago
Stephane Nicoll ce4f7ded8a Merge branch '2.6.x' into 2.7.x
Closes gh-30081
3 years ago
Stephane Nicoll c6a9e138e5 Merge branch '2.5.x' into 2.6.x
Closes gh-30080
3 years ago
Stephane Nicoll cf9cc82025 Update copyright year of change file
See gh-30074
3 years ago
hak7a3 0a035c7fa6 Fix references to spring.data.cassandra.connection.connect-timeout
See gh-30074
3 years ago
Andy Wilkinson c755e0d1f8 Merge branch '2.7.x' 3 years ago
Andy Wilkinson f44e7d9391 Merge branch '2.6.x' into 2.7.x
Closes gh-30071
3 years ago
Andy Wilkinson 2ef055a823 Merge branch '2.5.x' into 2.6.x
Closes gh-30070
3 years ago
Andy Wilkinson 1872af056e Make it clearer that the generated password is not for production use
Closes gh-30061
3 years ago
Andy Wilkinson 68a2f557c7 Merge branch '2.7.x' 3 years ago
Andy Wilkinson bc62775116 Merge branch '2.6.x' into 2.7.x
Closes gh-30069
3 years ago
Andy Wilkinson c872539dea Polish "Clarify actuator security documentation"
See gh-30065
3 years ago
Khan, C M Abdullah 5b7c21e780 Clarify actuator security documentation
See gh-30065
3 years ago
Andy Wilkinson 5ee3fdab77 Polish "Allow @DefaultValue to be used on record components"
See gh-29010
3 years ago
Pavel Anisimov 976ed90cd7 Allow @DefaultValue to be used on record components
See gh-29010
3 years ago
Moritz Halbritter 1793cee00f Start building against Micrometer 2.0.0-M3
See gh-29753
3 years ago
Andy Wilkinson d79fb60398 Merge branch '2.7.x' 3 years ago
Andy Wilkinson d47b56a40e Merge branch '2.6.x' into 2.7.x
Closes gh-30060
3 years ago
Andy Wilkinson fd3248b629 Merge branch '2.5.x' into 2.6.x
Closes gh-30059
3 years ago
Lars Grefer 99a8374249 Use Gradle's configuration avoidance APIs in the reference docs
See gh-30000
3 years ago
Andy Wilkinson e2d0b348e3 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 4459fb46be Merge branch '2.6.x' into 2.7.x
Closes gh-30058
3 years ago
Andy Wilkinson 2ba8b490a0 Merge branch '2.5.x' into 2.6.x
Closes gh-30057
3 years ago
Andy Wilkinson e7566e968e Use configuration avoidance APIs in Gradle plugin's docs
Closes gh-30056
3 years ago
Andy Wilkinson 4846be9506 Align with latest repackaging of CacheMeterBinder in Micrometer
See gh-30014
3 years ago
Andy Wilkinson bd0829a382 Merge branch '2.7.x' 3 years ago
Andy Wilkinson ff7321cc5a Polish "Support overriding the default SanitizingFunction"
See gh-30006
3 years ago
Guirong Hu fb9112c891 Support overriding the default SanitizingFunction
See gh-30006
3 years ago
Andy Wilkinson dd372a6a93 Merge branch '2.7.x' 3 years ago
Andy Wilkinson a5d900d0af Merge branch '2.6.x' into 2.7.x
Closes gh-30054
3 years ago
Andy Wilkinson 1f2da6a341 Document SanitizingFunction
Closes gh-29950
3 years ago
Andy Wilkinson a8a70ecc06 Merge branch '2.7.x' 3 years ago
Andy Wilkinson f4e2d7669b Merge branch '2.6.x' into 2.7.x
Closes gh-30051
3 years ago
Andy Wilkinson d63e609fda Merge branch '2.5.x' into 2.6.x
Closes gh-30050
3 years ago
Andy Wilkinson 7dce772d67 Polish "Update placeholder docs to mention env vars and default values"
See gh-30012
3 years ago
Kirill Marchuk 2644a2b897 Update placeholder docs to mention env vars and default values
See gh-30012
3 years ago
Andy Wilkinson c10a6b7b3e Merge branch '2.7.x' 3 years ago
Andy Wilkinson 1910a3b33e Merge branch '2.6.x' into 2.7.x
Closes gh-30049
3 years ago
Andy Wilkinson d11c5d3bd2 Merge branch '2.5.x' into 2.6.x
Closes gh-30048
3 years ago
wonwoo c2bf0d551b Polish RestController examples
See gh-30027
3 years ago
Andy Wilkinson dd25696eb1 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 79fe503616 Merge branch '2.6.x' into 2.7.x
Closes gh-30044
3 years ago
Andy Wilkinson 71dd607623 Merge branch '2.5.x' into 2.6.x
Closes gh-30043
3 years ago
Andy Wilkinson 34e436ef6e Accommodate SocketException when reading from stopped TunnelClient
TunnelClientTests stopTriggersTunnelClose expects that stopping the
client will cause an attempt to read from a connected channel to
return -1. With Java 17 on Windows the connection has been reset and
a SocketException is thrown instead. This seems reasonable as
stopping the client closes the ServerSocketChannel to which the test
was connected.

This commit updates test to expect a SocketException or a return
value of -1.

Closes gh-30042
3 years ago
Andy Wilkinson bfe9dede5b Merge branch '2.7.x' 3 years ago
Andy Wilkinson 936998647e Work around Gradle changing line endings during property expansion
There's a known issue [1] where property expansion changes the input
files line endings to the operating system's default. This causes
problems for us on Windows as the line endings become \r\n which
breaks our formatting checks.

This commit tunes the checkFormatMain task to exclude the generated
source files from checking. In their place, the original templates
are added. This ensures that the inputs are correctly formatted and,
therefore, that the output should be too (other than the line endings
on Windows).

Closes gh-30039

[1] https://github.com/gradle/gradle/issues/1151
3 years ago
Andy Wilkinson 0ca64d3b64 Merge branch '2.5.x' into 2.6.x
Closes gh-30038
3 years ago
Andy Wilkinson 35e5b4329e Provide complete dependency management for Netty tcNative
Closes gh-30010
3 years ago
Andy Wilkinson a5ec85bede Merge branch '2.7.x' 3 years ago
Andy Wilkinson b89c29f29c Merge branch '2.6.x' into 2.7.x
Closes gh-30037
3 years ago
Andy Wilkinson ea729fc1c6 Merge branch '2.5.x' into 2.6.x
Closes gh-30036
3 years ago
Andy Wilkinson 4073cf8334 Only apply special handling of META-INF to jar files
The changes for gh-28562 attempted to align the Gradle plugin's
handling of META-INF with the Maven plugin's behavior. Unfortunately,
they want too far, applying the handling to both jar and war files
when the Maven plugin only applies it to jar files.

This commit reworks the changes so that they only apply to jar files.

Closes gh-30026
3 years ago
Andy Wilkinson f95e5b9b8a Merge branch '2.7.x' 3 years ago
Andy Wilkinson 324c4310a4 Merge branch '2.6.x' into 2.7.x
Closes gh-30034
3 years ago
Andy Wilkinson 8a4a639734 Merge branch '2.5.x' into 2.6.x
Closes gh-30033
3 years ago
izeye 140d24d567 Remove redundant ConditionalOnMissingFilterBean
See gh-29983
3 years ago
Andy Wilkinson 81b8b6a24c Merge branch '2.7.x' 3 years ago
Andy Wilkinson a33dd254c8 Merge branch '2.6.x' into 2.7.x
Closes gh-30032
3 years ago
Andy Wilkinson 1ac1782e21 Merge branch '2.5.x' into 2.6.x
Closes gh-30031
3 years ago
Andy Wilkinson 35f9358eb2 Manage more of Kafka's modules
Closes gh-29023
3 years ago
Andy Wilkinson 89b2015adf Merge branch '2.7.x' 3 years ago
Andy Wilkinson 07b87668a4 Merge branch '2.6.x' into 2.7.x
Closes gh-30023
3 years ago
Andy Wilkinson 3630952f7b Merge branch '2.5.x' into 2.6.x
Closes gh-30022
3 years ago
Andy Wilkinson a265f150ac Improve parsing of numeric default values
Previously, all integral numbers were parsed as integers. This
caused two problems:

1. Compilation would fail if the default value for a long wasn't a
   valid integer.
2. The default value for a byte or short could be out of range,
   resulting in the generation of invalid metadata and an error
   that could have been caught at compile time not being caught
   until runtime.

This commit updates the parsing of all numeric values to use the
parse method of the target primitive type. For example,
Short.parseShort(String) is now used to parse a short.

Fixes gh-30020
3 years ago
Moritz Halbritter 0072cc807c Suppress deprecation warnings caused by micrometer backwards compatability 3 years ago
Andy Wilkinson 3eb61c3203 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 97c47123d5 Merge branch '2.6.x' into 2.7.x
Closes gh-30019
3 years ago
Andy Wilkinson c8b849e2f6 Merge branch '2.5.x' into 2.6.x
Closes gh-30018
3 years ago
Andy Wilkinson 355f80ab98 Add links to Spring Boot for Apache Geode and its documentation
Closes gh-29697
3 years ago
Moritz Halbritter 9c958669f4 Add io.micrometer:micrometer-binders as dependency to the test suite 3 years ago
Moritz Halbritter 7897a913a7 Start building against Micrometer 1.9.0-M4 snapshots
Micrometer duplicated the binders in a separate module named
micrometer-binders, and marked the binders in the core module as
deprecated. This commit changes the imports to use the new binders in
the micrometer-binders module. Additionally, the auto-configurations
honor user-supplied beans which use the old binders in the
micrometer-core module.

See gh-30014
3 years ago
Andy Wilkinson 19b5431ba4 Polish "Remove redundant ResourceLoaders from GraphQL auto-configuration"
See gh-29976
3 years ago
dugenkui03 5a52b36ec7 Remove redundant ResourceLoaders from GraphQL auto-configuration
See gh-29976
3 years ago
Andy Wilkinson cce48a75fc Merge branch '2.7.x' 3 years ago
Andy Wilkinson 73d0d5bccf Merge branch '2.6.x' into 2.7.x
Closes gh-30009
3 years ago
Andy Wilkinson b379eea885 Merge branch '2.5.x' into 2.6.x
Closes gh-30008
3 years ago
Andy Wilkinson 7bc336cdc6 Use an ephemeral port to avoid potential port clash
Closes gh-30007
3 years ago
Madhura Bhave 7a4960d4ca Merge branch '2.7.x' into main 3 years ago
Madhura Bhave e24f5b7efd Revert "Upgrade to Embedded Mongo 3.4.1"
This reverts to Embedded Mongo 3.3.1 due to some breaking
changes in 3.4.1 and 3.4.2
3 years ago
Stephane Nicoll 8a7e40ce91 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 90c2bf192e Upgrade to Liquibase 4.8.0
Closes gh-29987
3 years ago
Stephane Nicoll 1bb498b03c Upgrade to Flyway 8.5.1
Closes gh-29986
3 years ago
Stephane Nicoll 525d5fd6e5 Merge branch '2.6.x' into 2.7.x
Closes gh-29994
3 years ago
Stephane Nicoll 0941cfd5fe Merge branch '2.5.x' into 2.6.x
Closes gh-29993
3 years ago
Stephane Nicoll b60b5feefe Add explicit dependency on inject-api
This commit clarifies the build as a test needs inject-api and it works
only by side effect as another library has repackaged this API.

Closes gh-29990
3 years ago
Andy Wilkinson 7dc40e95d2 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 664ecbdcc1 Polish "Add DataCouchbaseTest annotation"
See gh-29912
3 years ago
Eddú Meléndez 36e52758a7 Add DataCouchbaseTest annotation
See gh-29912
3 years ago
Andy Wilkinson 4093fff225 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 53292a1f94 Polish "Add DataElasticsearchTest annotation"
See gh-29911
3 years ago
Eddú Meléndez e22f78bc6a Add DataElasticsearchTest annotation
See gh-29911
3 years ago
Phillip Webb 5454e2e26a Merge branch '2.7.x' 3 years ago
Phillip Webb 9f00c3acf5 Polish 3 years ago
Phillip Webb adfaa8f778 Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb 1a3841f74e Polish 3 years ago
Phillip Webb 9411fc264d Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 57009d5623 Polish 3 years ago
Scott Frederick df549190b5 Merge branch '2.7.x' 3 years ago
Scott Frederick ee4e7bb923 Merge branch '2.6.x' into 2.7.x
Closes gh-29982
3 years ago
Scott Frederick 59ffe28639 Ignore buildpack deprecation warnings in Paketo system tests
Fixes gh-29885
3 years ago
Madhura Bhave a7c7a8ef2f Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 729c6993e1 Merge branch '2.6.x' into 2.7.x
Closes gh-29981
3 years ago
Madhura Bhave acd1ba0eca Merge branch '2.5.x' into 2.6.x
Closes gh-29980
3 years ago
Madhura Bhave 67b13ee4c7 Document that placeholders in @DefaultValue annotations are not resolved
Closes gh-23164
3 years ago
Madhura Bhave f9d33ec1e2 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 0ecf43dbe2 Merge branch '2.6.x' into 2.7.x
Closes gh-29979
3 years ago
Madhura Bhave 894860c177 Merge branch '2.5.x' into 2.6.x
Closes gh-29978
3 years ago
Madhura Bhave cc95f734d7 Clarify relation of import path to resultant properties in configtree import data
Closes gh-29606
3 years ago
Stephane Nicoll 46b6dc29c1 Upgrade to Spring Batch 4.3.5
Closes gh-29652
3 years ago
Stephane Nicoll 8147aff76a Upgrade to Spring Batch 4.3.5
Closes gh-29724
3 years ago
Stephane Nicoll f864505ea7 Upgrade to Netty tcNative 2.0.50.Final
Closes gh-29974
3 years ago
Stephane Nicoll 479a4e693c Upgrade to Spring Batch 4.3.5
Closes gh-29714
3 years ago
Stephane Nicoll 773b025208 Upgrade to Netty tcNative 2.0.50.Final
Closes gh-29973
3 years ago
Stephane Nicoll d1ab3f5f78 Upgrade to Spring Session 2021.1.2
Closes gh-29725
3 years ago
Stephane Nicoll 776ccf77a7 Upgrade to Spring Session 2021.0.5
Closes gh-29715
3 years ago
Moritz Halbritter 54f1058d63 Merge branch '2.7.x' 3 years ago
Moritz Halbritter fd36215d72 Omit empty values for AutoConfigureAfter and AutoConfigureBefore
As @AutoConfiguration is now meta-annotated with @AutoConfigureAfter
and @AutoConfigureBefore, the generated property files have a lot of
superfluous lines in the format <class>.AutoConfigureAfter= and
<class>.AutoConfigureBefore=.

One can now configure in the annotation processor for each property key
if empty values should be omitted. This is currently only activated for
AutoConfigureAfter and AutoConfigureBefore

See gh-29907
3 years ago
Moritz Halbritter 7872f61bfc Add @AutoConfiguration annotation support to the autoconfigure-processor
See gh-29907
3 years ago
Moritz Halbritter 9149ae50da Use @AutoConfiguration for relative ordering on auto-configurations 3 years ago
Moritz Halbritter 9e9049ca7f Add relative ordering to @AutoConfiguration
The relative ordering is implemented with @AliasFor annotations on the
@AutoConfiguration annotation. The production code already works without
changes, only the test code had to be modified. It now uses
AnnotationMetadata which already knows how to deal with @AliasFor
instead of using the reflection API directly.

See gh-29907
3 years ago
Andy Wilkinson d427fa4b5d Merge branch '2.7.x' 3 years ago
Andy Wilkinson 57cd34be88 Merge branch '2.6.x' into 2.7.x
Closes gh-29971
3 years ago
Andy Wilkinson a979925e63 Merge branch '2.5.x' into 2.6.x
Closes gh-29970
3 years ago
Andy Wilkinson 7aca75c58c Preserve ObjectName property order when name is unchanged
Closes gh-29953
3 years ago
Andy Wilkinson 6051a10d4a Merge branch '2.7.x' 3 years ago
Andy Wilkinson 1ae46dee6d Merge branch '2.6.x' into 2.7.x
Closes gh-29967
3 years ago
Andy Wilkinson 4f8a18fa0a Merge branch '2.5.x' into 2.6.x
Closes gh-29966
3 years ago
Andy Wilkinson 9c9e04b8e4 Use mainClass rather than deprecated main in BootRun examples
Closes gh-29965
3 years ago
Stephane Nicoll da404e12fc Upgrade to Spring Integration 5.5.9
Closes gh-29964
3 years ago
Stephane Nicoll 60637b7aaa Upgrade to Spring Kafka 2.8.3
Closes gh-29759
3 years ago
Stephane Nicoll 9e3891a0fe Upgrade to Spring Integration 5.5.9
Closes gh-29963
3 years ago
Stephane Nicoll c8b7a17545 Upgrade to Spring Kafka 2.8.3
Closes gh-29722
3 years ago
Stephane Nicoll ee7426a555 Upgrade to Spring Integration 5.5.9
Closes gh-29962
3 years ago
Stephane Nicoll 3f2d01628d Upgrade to Spring Kafka 2.7.11
Closes gh-29712
3 years ago
Madhura Bhave 060979d987 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 64b8610c2e Merge branch '2.6.x' into 2.7.x
Closes gh-29960
3 years ago
Madhura Bhave 880db30c67 Merge branch '2.5.x' into 2.6.x
Closes gh-29959
3 years ago
Madhura Bhave a70fa80571 Rectify incorrect sanitizing regex example provided in how-to docs
Closes gh-29951
3 years ago
Scott Frederick b64a6e6229 Merge branch '2.7.x' into main 3 years ago
Scott Frederick c1fec6967e Support constructor injection for FailureAnalyzers
This commit adds support for instantiating FailureAnalyzer
implementations with BeanFactory and/or an Environment constructor
arguments and deprecates support for setter injection of these values
using BeanFactoryAware and EnvironmentAware.

Closes gh-29811
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
Stephane Nicoll fcca4920d3 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 288533ba4a Upgrade to WebJars Locator Core 0.50
Closes gh-29948
3 years ago
Stephane Nicoll 9cec66bef8 Upgrade to UnboundID LDAPSDK 6.0.3
Closes gh-29947
3 years ago
Stephane Nicoll 2406e48b5c Upgrade to MSSQL JDBC 10.2.0.jre8
Closes gh-29946
3 years ago
Stephane Nicoll 1816f46c19 Upgrade to MariaDB 3.0.3
Closes gh-29945
3 years ago
Stephane Nicoll dda3bae02a Upgrade to Embedded Mongo 3.4.1
Closes gh-29944
3 years ago
Stephane Nicoll 6bdbfbab9a Upgrade to AppEngine SDK 1.9.95
Closes gh-29943
3 years ago
Stephane Nicoll d6105c7122 Upgrade to Postgresql 42.3.3
Closes gh-29941
3 years ago
Stephane Nicoll 6e0f664bbe Upgrade to Netty tcNative 2.0.49.Final
Closes gh-29940
3 years ago
Stephane Nicoll 2617eeb1fd Upgrade to Jetty Reactive HTTPClient 1.1.11
Closes gh-29939
3 years ago
Stephane Nicoll 8daa8e2307 Upgrade to AppEngine SDK 1.9.95
Closes gh-29938
3 years ago
Stephane Nicoll 2bd58f8f9b Upgrade to ActiveMQ 5.16.4
Closes gh-29937
3 years ago
Stephane Nicoll 49337f30da Upgrade to Netty tcNative 2.0.49.Final
Closes gh-29936
3 years ago
Stephane Nicoll f85ad61753 Merge branch '2.7.x' 3 years ago
Stephane Nicoll d4db26dcc1 Merge branch '2.6.x' into 2.7.x
Closes gh-29935
3 years ago
Stephane Nicoll db26aff792 Merge branch '2.5.x' into 2.6.x
Closes gh-29934
3 years ago
UbaidurRehman1 7b48c51689 Clarify that any property of the environment can be used in a banner
See gh-29931
3 years ago
Andy Wilkinson 5e56757d4c Merge branch '2.7.x' 3 years ago
Andy Wilkinson da96eeab21 Remove redundant requestMappingHandlerMapping override
The bean no longer needs to be primary so the override is not needed
any more.

Closes gh-29682
3 years ago
Stephane Nicoll 935d37b2ca Polish "Reuse BatchLoaderRegistry in GraphQlService"
See gh-29929
3 years ago
dugenkui03 043e5ff0f5 Reuse BatchLoaderRegistry in GraphQlService
See gh-29929
3 years ago
Stephane Nicoll 8ee9681d36 Upgrade to Spring Security 5.7.0-M2
Closes gh-29766
3 years ago
Andy Wilkinson ca2dbf39ec Upgrade to Jetty Reactive HTTPClient 1.1.11
Closes gh-29927
3 years ago
Andy Wilkinson df6959679c Upgrade to AppEngine SDK 1.9.95
Closes gh-29926
3 years ago
Andy Wilkinson 7db9bb94cd Upgrade to ActiveMQ 5.16.4
Closes gh-29925
3 years ago
Andy Wilkinson 2d8495361e Upgrade to Spring Security 5.6.2
Closes gh-29723
3 years ago
Andy Wilkinson 21fb273ec3 Upgrade to Spring Security 5.5.5
Closes gh-29713
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 03e5dcdb3a Merge branch '2.7.x' 3 years ago
Moritz Halbritter 1325153ee9 Move ManagementContextConfiguration from spring.factories
The import selector will now, in addition to spring.factories, look for
ManagementContextConfiguration classes in a file called
META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports

The existing ManagementContextConfigurations have been moved from
spring.factories to the new file.

Closes gh-29730
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
Stephane Nicoll 3b2288899b Merge branch '2.7.x' 3 years ago
Stephane Nicoll 3ffd88158e Polish "Add support for Redis sentinel username"
See gh-29661
3 years ago
mourezwell 202a426bd6 Add support for Redis sentinel username
See gh-29661
3 years ago
Stephane Nicoll 414b7539de Merge branch '2.7.x' 3 years ago
Gary Russell d56403b64f Add support for Kafka immediateStop property
See gh-29884
3 years ago
Stephane Nicoll d59b89cd82 Merge branch '2.7.x' 3 years ago
Stephane Nicoll c5307a8bfe Merge branch '2.6.x' into 2.7.x
Closes gh-29916
3 years ago
Stephane Nicoll c52f6f09ad Merge branch '2.5.x' into 2.6.x
Closes gh-29915
3 years ago
Stephane Nicoll 92cd51e6b0 Polish "Clarify log message with a profile containing a comma"
See gh-29896
3 years ago
gcoppex c8466a14e9 Clarify log message with a profile containing a comma
See gh-29896
3 years ago
Andy Wilkinson 3f489a374c Merge branch '2.7.x' 3 years ago
Andy Wilkinson 5f2ae858b6 Merge branch '2.6.x' into 2.7.x
Closes gh-29910
3 years ago
Andy Wilkinson 95d67a985b Merge branch 'gh-29639' into 2.6.x
Closes gh-29909
3 years ago
Andy Wilkinson 5baa71f1b3 Allow beans with circular dependencies to be spied
Closes gh-29639
3 years ago
Andy Wilkinson 9a3f053034 Allow beans with circular dependencies to be spied
Closes gh-29639
3 years ago
Andy Wilkinson 630da366bd Upgrade to Spring Data 2021.2.0-M3
Closes gh-29765
3 years ago
Andy Wilkinson f919c9983c Upgrade to Spring Data 2021.1.2
Closes gh-29721
3 years ago
Andy Wilkinson 1c4fc7d3fa Upgrade to Spring Data 2021.0.9
Closes gh-29711
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
Stephane Nicoll 2374347bab Upgrade to Spring LDAP 2.4.0-M2
Closes gh-29764
3 years ago
Stephane Nicoll 47510924e5 Upgrade to Spring LDAP 2.3.6
Closes gh-29720
3 years ago
Stephane Nicoll 6bf172f0f2 Upgrade to Spring LDAP 2.3.6
Closes gh-29710
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
Brian Clozel 78dde15da4 Merge branch '2.7.x' 3 years ago
Brian Clozel 940558c2a6 Merge branch '2.6.x' into 2.7.x
Closes gh-29906
3 years ago
Brian Clozel 16c47595e7 Merge branch '2.5.x' into 2.6.x
Closes gh-29905
3 years ago
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