Andy Wilkinson
da1eb25e4b
Remove redundant JRE-based enabled and disabled annotations from tests
...
Closes gh-29693
2022-03-09 14:41:13 +00:00
Andy Wilkinson
a031c0c659
Merge branch '2.7.x'
2022-03-09 14:28:44 +00:00
Andy Wilkinson
881f2788ae
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30133
2022-03-09 14:28:31 +00:00
Andy Wilkinson
b1be6ac271
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30132
2022-03-09 14:28:01 +00:00
Andy Wilkinson
314acd3407
Add EIGHTEEN to JavaVersion
...
Closes gh-29524
2022-03-09 14:26:19 +00:00
Andy Wilkinson
d552f49128
Merge branch '2.7.x'
2022-03-09 12:53:15 +00:00
Andy Wilkinson
83de1995c7
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30130
2022-03-09 12:44:53 +00:00
Andy Wilkinson
b0e4cabdd8
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30123
2022-03-09 12:37:45 +00:00
Andy Wilkinson
20d21d4e58
Set up CI with JDK 18
...
Closes gh-30104
2022-03-09 12:28:34 +00:00
Moritz Halbritter
16f069ef47
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30125
2022-03-09 12:10:05 +01:00
Moritz Halbritter
d14980ed5e
Polish "Tweak performance for Prometheus scraping endpoint"
...
See gh-30085
2022-03-09 12:08:55 +01:00
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
2022-03-09 12:08:26 +01:00
Moritz Halbritter
2816fc37a8
Merge branch '2.7.x'
2022-03-09 11:32:58 +01:00
Moritz Halbritter
93f31ee063
Polish "Tweak performance for Prometheus scraping endpoint"\n\nSee gh-30085
2022-03-09 11:31:23 +01:00
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
2022-03-09 11:22:20 +01:00
Stephane Nicoll
e5cdcdadd5
Merge branch '2.7.x'
2022-03-09 08:29:23 +01:00
Stephane Nicoll
a71d9f5088
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30121
2022-03-09 08:29:16 +01:00
Stephane Nicoll
069c328075
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30120
2022-03-09 08:29:07 +01:00
fml2
80b90ed386
Fix typo
...
See gh-30118
2022-03-09 08:28:44 +01:00
Stephane Nicoll
06321d4e55
Merge branch '2.7.x'
2022-03-09 08:26:30 +01:00
Stephane Nicoll
b66bf393e4
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30119
2022-03-09 08:26:20 +01:00
Stephane Nicoll
be85f317d3
Fix anchor tag for Spring HATEOAS section
...
Closes gh-30106
2022-03-09 08:25:10 +01:00
Madhura Bhave
5368ed98ef
Merge branch '2.7.x' into main
2022-03-08 22:03:08 -08:00
Madhura Bhave
06496d85cd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30115
Closes gh-30116
2022-03-08 22:02:27 -08:00
Madhura Bhave
09dc4e5ce3
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30113
Closes gh-30114
2022-03-08 22:01:26 -08:00
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
2022-03-08 21:58:43 -08:00
Madhura Bhave
70efe7d384
Fix javax import
2022-03-08 19:02:20 -08:00
Madhura Bhave
7846fb09be
Merge branch '2.7.x' into main
2022-03-08 18:13:30 -08:00
Madhura Bhave
ee291dc36f
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30112
2022-03-08 18:13:14 -08:00
Madhura Bhave
b86ad89523
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30111
2022-03-08 18:13:01 -08:00
Madhura Bhave
7d63faac7c
Document the scalar types supported by MapBinder
...
Closes gh-27581
2022-03-08 18:12:21 -08:00
Madhura Bhave
f10f27c3d4
Merge branch '2.7.x' into main
2022-03-08 17:41:28 -08:00
Madhura Bhave
ba7ba08811
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30110
2022-03-08 17:41:12 -08:00
Madhura Bhave
9c437c6cd9
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30109
2022-03-08 17:40:52 -08:00
Madhura Bhave
d240e293db
Document how to obtain ServletContext with an embedded container setup
...
Closes gh-24561
2022-03-08 17:34:35 -08:00
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
2022-03-08 17:54:55 +01:00
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
2022-03-08 17:54:55 +01:00
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
2022-03-08 17:54:55 +01:00
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
2022-03-08 17:54:54 +01:00
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
2022-03-08 17:54:54 +01:00
Andy Wilkinson
997f7cbfce
Merge branch '2.7.x'
2022-03-08 14:09:59 +00:00
Andy Wilkinson
dfd4097436
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30101
2022-03-08 14:09:47 +00:00
Andy Wilkinson
5b2cc74f71
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30100
2022-03-08 14:09:35 +00:00
Andy Wilkinson
708e57eafb
Register metrics for wrapped R2DBC ConnectionPools
...
Closes gh-30090
2022-03-08 13:55:34 +00:00
Andy Wilkinson
d92dcf9452
Merge branch '2.7.x'
2022-03-08 13:53:11 +00:00
Andy Wilkinson
dcaca38154
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30099
2022-03-08 13:52:46 +00:00
Andy Wilkinson
119a713f09
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30098
2022-03-08 13:52:25 +00:00
Andy Wilkinson
e7705f4f71
Improve condition message produced by @ConditionalOnSingleCandidate
...
Closes gh-30073
2022-03-08 13:51:38 +00:00
Stephane Nicoll
cc3021d2df
Start building against Spring Framework 6.0.0-M3 snapshots
...
See gh-29957
2022-03-08 12:49:37 +01:00
Stephane Nicoll
37ccc52b8a
Merge branch '2.7.x'
2022-03-08 12:34:30 +01:00
Stephane Nicoll
d67aa3c054
Fix null safety in Kotlin examples
...
Closes gh-30097
2022-03-08 12:34:02 +01:00
Madhura Bhave
5960d2dba1
Merge branch '2.7.x' into main
2022-03-07 21:54:10 -08:00
Madhura Bhave
9628507756
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30094
2022-03-07 21:53:59 -08:00
Madhura Bhave
d131003456
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30093
2022-03-07 21:53:44 -08:00
Madhura Bhave
480ccc6175
Clarify devtools documentation when using with build plugins
...
Closes gh-17851
2022-03-07 21:52:43 -08:00
Madhura Bhave
0e71d80590
Merge branch '2.7.x' into main
2022-03-07 20:23:07 -08:00
Madhura Bhave
88bd0fa794
Merge branch '2.6.x' into 2.7.x
2022-03-07 20:22:57 -08:00
Madhura Bhave
27bf068091
Merge branch '2.5.x' into 2.6.x
2022-03-07 20:22:42 -08:00
Madhura Bhave
9b073c825b
Fix checkstyle
2022-03-07 20:22:27 -08:00
Madhura Bhave
524c0e1474
Merge branch '2.7.x' into main
2022-03-07 18:23:50 -08:00
Madhura Bhave
b80047c451
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30092
2022-03-07 18:23:36 -08:00
Madhura Bhave
ac04be75f8
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30091
2022-03-07 18:23:19 -08:00
Madhura Bhave
ed8f8d59ef
Document how to structure configurations for efficient slice tests
...
Closes gh-16088
2022-03-07 18:21:12 -08:00
Stephane Nicoll
6f8ce3deb5
Avoid use of instance supplier for core infrastructure bean
...
Closes gh-30021
2022-03-07 21:09:41 +01:00
Stephane Nicoll
e6f6b2068b
Start building against Spring Kafka 3.0.0-M3 snapshots
...
See gh-30089
2022-03-07 21:09:41 +01:00
Moritz Halbritter
24a68fc595
Merge branch '2.7.x'
2022-03-07 14:12:19 +01:00
Moritz Halbritter
d95dc75de9
Merge branch '2.6.x' into 2.7.x
2022-03-07 14:11:22 +01:00
Moritz Halbritter
e980a53399
Merge branch '2.5.x' into 2.6.x
2022-03-07 14:11:11 +01:00
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
2022-03-07 14:10:13 +01:00
Moritz Halbritter
74fe5735d9
Polish
2022-03-07 13:28:41 +01:00
Moritz Halbritter
a1b1377733
Merge branch '2.7.x'
2022-03-07 13:23:06 +01:00
Moritz Halbritter
50d766020c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30084
2022-03-07 13:22:53 +01:00
Moritz Halbritter
564555347f
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30083
2022-03-07 13:22:34 +01:00
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
2022-03-07 13:22:17 +01:00
Stephane Nicoll
f869c490f4
Merge branch '2.7.x'
2022-03-07 09:49:21 +01:00
Stephane Nicoll
ce4f7ded8a
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30081
2022-03-07 09:49:10 +01:00
Stephane Nicoll
c6a9e138e5
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30080
2022-03-07 09:49:00 +01:00
Stephane Nicoll
cf9cc82025
Update copyright year of change file
...
See gh-30074
2022-03-07 09:47:12 +01:00
hak7a3
0a035c7fa6
Fix references to spring.data.cassandra.connection.connect-timeout
...
See gh-30074
2022-03-07 09:42:43 +01:00
Andy Wilkinson
c755e0d1f8
Merge branch '2.7.x'
2022-03-04 17:56:40 +00:00
Andy Wilkinson
f44e7d9391
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30071
2022-03-04 17:56:29 +00:00
Andy Wilkinson
2ef055a823
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30070
2022-03-04 17:56:14 +00:00
Andy Wilkinson
1872af056e
Make it clearer that the generated password is not for production use
...
Closes gh-30061
2022-03-04 17:55:54 +00:00
Andy Wilkinson
68a2f557c7
Merge branch '2.7.x'
2022-03-04 17:27:29 +00:00
Andy Wilkinson
bc62775116
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30069
2022-03-04 17:27:17 +00:00
Andy Wilkinson
c872539dea
Polish "Clarify actuator security documentation"
...
See gh-30065
2022-03-04 17:20:25 +00:00
Khan, C M Abdullah
5b7c21e780
Clarify actuator security documentation
...
See gh-30065
2022-03-04 17:20:17 +00:00
Andy Wilkinson
5ee3fdab77
Polish "Allow @DefaultValue to be used on record components"
...
See gh-29010
2022-03-04 14:52:20 +00:00
Pavel Anisimov
976ed90cd7
Allow @DefaultValue to be used on record components
...
See gh-29010
2022-03-04 12:12:08 +00:00
Moritz Halbritter
1793cee00f
Start building against Micrometer 2.0.0-M3
...
See gh-29753
2022-03-04 11:03:22 +01:00
Andy Wilkinson
d79fb60398
Merge branch '2.7.x'
2022-03-03 20:39:33 +00:00
Andy Wilkinson
d47b56a40e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30060
2022-03-03 20:39:21 +00:00
Andy Wilkinson
fd3248b629
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30059
2022-03-03 20:39:10 +00:00
Lars Grefer
99a8374249
Use Gradle's configuration avoidance APIs in the reference docs
...
See gh-30000
2022-03-03 20:38:35 +00:00
Andy Wilkinson
e2d0b348e3
Merge branch '2.7.x'
2022-03-03 20:36:13 +00:00
Andy Wilkinson
4459fb46be
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30058
2022-03-03 20:34:46 +00:00
Andy Wilkinson
2ba8b490a0
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30057
2022-03-03 20:34:34 +00:00
Andy Wilkinson
e7566e968e
Use configuration avoidance APIs in Gradle plugin's docs
...
Closes gh-30056
2022-03-03 20:27:46 +00:00
Andy Wilkinson
4846be9506
Align with latest repackaging of CacheMeterBinder in Micrometer
...
See gh-30014
2022-03-03 15:44:12 +00:00
Andy Wilkinson
bd0829a382
Merge branch '2.7.x'
2022-03-03 14:48:03 +00:00