Commit Graph

15853 Commits (eb84ac32987d17fa7fa8e48cf6d67ed21e97f4f7)

Author SHA1 Message Date
Phillip Webb 81266ca806 Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 0fcdab3936 Update copyright year of changed files 3 years ago
Phillip Webb c839ebbce4 Merge branch '2.6.x' into 2.7.x
Closes gh-29261
3 years ago
Phillip Webb 8e583f6f73 Apply exclusion rules to child contributors
Update `IncludeExcludeGroupMemberPredicate` so that exclusion rules are
also applied to child contributors. The restores the behavior of Spring
Boot 2.5.x where `management.endpoint.health.group.mygroup.exclude=db`
would exclude 'db/one', 'db/two' etc.

Fixes gh-29251
3 years ago
Stephane Nicoll e5cab660cb Upgrade to Infinispan 13.0.5.Final
Closes gh-29256
3 years ago
Stephane Nicoll 605ec2fb0e Polish "Add vendor version to JavaInfo"
See gh-29090
3 years ago
Jonatan Ivanov c6e6d109ad Add vendor version to JavaInfo
See gh-29090
3 years ago
Stephane Nicoll 4799d2a71a Polish "Add transactionIdPrefix Property to KafkaTemplate"
See gh-29089
3 years ago
Gary Russell 33814a4a42 Add transactionIdPrefix Property to KafkaTemplate
See gh-29089
3 years ago
Stephane Nicoll 9b34c31916 Polish "Include AbstractJdbcConfiguration beans in @DataJdbcTest"
See gh-29003
3 years ago
raviu 7f8dd81947 Include AbstractJdbcConfiguration beans in @DataJdbcTest
See gh-29003
3 years ago
Stephane Nicoll c943ef18ca Polish "Add principal resolution in RSocket handler methods"
See gh-28444
3 years ago
Guirong Hu cf05964499 Add principal resolution in RSocket handler methods
See gh-28444
3 years ago
Stephane Nicoll d24720d958 Polish "Expose OS information as an InfoContributor"
See gh-28907
3 years ago
Jonatan Ivanov c700f686c6 Expose OS information as an InfoContributor
See gh-28907
3 years ago
Stephane Nicoll 076ddc8579 Polish "Add server.netty.max-keep-alive-requests"
See gh-28875
3 years ago
Leo Li 0e94b2ce6e Add server.netty.max-keep-alive-requests
See gh-28875
3 years ago
Stephane Nicoll 578855f512 Restore support for Hazelcast 3
See gh-28801
3 years ago
Stephane Nicoll e1a5be83d2 Polish "Inject SpringManagedContext into Hazelcast configuration"
See gh-28801
3 years ago
Jaromir Hamala b875b55711 Inject SpringManagedContext into Hazelcast configuration
This commit makes it possible to inject Spring managed beans into
objects instantiated by Hazelcast.

See gh-28801
3 years ago
Stephane Nicoll f26bee1196 Polish "Upgrade to Embedded Mongo 3.2.5"
See gh-28543
3 years ago
Julien Herr 679231c120 Upgrade to Embedded Mongo 3.2.5
See gh-28543
3 years ago
Brian Clozel c5817f21eb Add property for disabling GraphQL schema introspection
Prior to this commit, the GraphQL schema assembled by the
auto-configuration would provide no option for disabling the field
introspection.

While this feature is essential for many tools (including GraphiQL),
some prefer disabling it because this allows clients to gather
information about types and schema easily. This commit introduces a new
`spring.graphql.schema.introspection.enabled` configuration property.

Because potential attackers can still gather this information and this
feature is a core concern in the GraphQL spec, introspection is enabled
by default for Spring Boot applications.

Closes gh-29248
3 years ago
izeye 728206dba0 Polish GraphQL changes
See gh-29140
Closes gh-29194
3 years ago
Brian Clozel 0d616b8924 Fix WebGraphQlTester auto-registration for SpringBootTest
Prior to this commit, the `GraphQlTesterContextCustomizer` would
register a `WebGraphQlTester` instance as a `GraphQlTester` bean., only
exposing the `GraphQlTester` type. This is not in line with the
documentation and also does not register the bean definition with the
most specific type.
With this issue, a `@SpringBootTest` integration test will not be
injected with a `WebGraphQlTester` if it asks one.

This commit ensures that the `WebGraphQlTester` is registered as such
and that all related classes are renamed as a result.

Fixes gh-29250
3 years ago
Stephane Nicoll b81c0047f8 Polish "Log the reason that led Devtools to restart the app"
See gh-28495
3 years ago
Artur Signell 0769b33e2e Log the reason that led Devtools to restart the app
See gh-28495
3 years ago
Stephane Nicoll 91d7295c62 Polish "Add support for IdlePartitionEventInterval"
See gh-28290
3 years ago
Pascal Ayotte 9274baeb68 Add support for IdlePartitionEventInterval
See gh-28290
3 years ago
Stephane Nicoll 6b6da22f2c Polish "Add support for RabbitStreamTemplate"
See gh-28060
3 years ago
Eddú Meléndez 3952046132 Add support for RabbitStreamTemplate
See gh-28060
3 years ago
Stephane Nicoll cd0bb8e68f Upgrade to XmlUnit2 2.8.4
Closes gh-29247
3 years ago
Stephane Nicoll 67f8b0484d Upgrade to Undertow 2.2.14.Final
Closes gh-29246
3 years ago
Stephane Nicoll 714c1cc642 Upgrade to Thymeleaf 3.0.14.RELEASE
Closes gh-29244
3 years ago
Stephane Nicoll 0d8fc234b5 Upgrade to Spring WS 3.1.2
Closes gh-29243
3 years ago
Stephane Nicoll 0106e35b61 Upgrade to Spring Integration 5.5.7
Closes gh-29242
3 years ago
Stephane Nicoll 7890919958 Upgrade to Spring AMQP 2.4.1
Closes gh-29241
3 years ago
Stephane Nicoll ec0dd5bf33 Upgrade to SnakeYAML 1.30
Closes gh-29240
3 years ago
Stephane Nicoll b76691a4b0 Upgrade to SendGrid 4.8.1
Closes gh-29239
3 years ago
Stephane Nicoll 7a016a68f1 Upgrade to Selenium HtmlUnit 3.56.0
Closes gh-29238
3 years ago
Stephane Nicoll a2bed160f0 Upgrade to Selenium 4.1.1
Closes gh-29237
3 years ago
Stephane Nicoll 017d3dc402 Upgrade to Reactor Bom 2020.0.14
Closes gh-29236
3 years ago
Stephane Nicoll ddc7da7766 Upgrade to Rabbit AMQP Client 5.14.0
Closes gh-29235
3 years ago
Stephane Nicoll 2c322b67f1 Upgrade to Prometheus Client 0.14.1
Closes gh-29234
3 years ago
Stephane Nicoll 86a426035d Upgrade to Oracle Database 21.4.0.0.1
Closes gh-29233
3 years ago
Stephane Nicoll 2c82b18f3f Upgrade to Netty 4.1.72.Final
Closes gh-29232
3 years ago
Stephane Nicoll 61a65c0a93 Upgrade to MSSQL JDBC 9.4.1.jre8
Closes gh-29231
3 years ago
Stephane Nicoll df1a9b848b Upgrade to Mockito 4.2.0
Closes gh-29230
3 years ago
Stephane Nicoll 765c81c2f0 Upgrade to Logback 1.2.10
Closes gh-29229
3 years ago
Stephane Nicoll 179414c7f3 Upgrade to JUnit Jupiter 5.8.2
Closes gh-29227
3 years ago
Stephane Nicoll 78873706cf Upgrade to JDOM2 2.0.6.1
Closes gh-29221
3 years ago
Stephane Nicoll de22f47541 Upgrade to Jaybird 4.0.5.java8
Closes gh-29220
3 years ago
Stephane Nicoll 23a1dc9938 Upgrade to Jackson Bom 2.13.1
Closes gh-29219
3 years ago
Stephane Nicoll 18df80df17 Upgrade to HttpCore5 5.1.3
Closes gh-29218
3 years ago
Stephane Nicoll 46f17d8a50 Upgrade to HttpCore 4.4.15
Closes gh-29217
3 years ago
Stephane Nicoll 5a641fd50e Upgrade to HttpAsyncClient 4.1.5
Closes gh-29216
3 years ago
Stephane Nicoll 8da7be8e32 Upgrade to HtmlUnit 2.56.0
Closes gh-29215
3 years ago
Stephane Nicoll 464ea36ef5 Upgrade to Hibernate 5.6.3.Final
Closes gh-29214
3 years ago
Stephane Nicoll 9e443d772f Upgrade to Hazelcast 4.2.4
Closes gh-29213
3 years ago
Stephane Nicoll f354c4dac4 Upgrade to Ehcache3 3.9.9
Closes gh-29210
3 years ago
Stephane Nicoll a79a497f13 Upgrade to Dropwizard Metrics 4.2.7
Closes gh-29209
3 years ago
Stephane Nicoll 607508945c Upgrade to DB2 JDBC 11.5.7.0
Closes gh-29208
3 years ago
Stephane Nicoll e4c7251d23 Upgrade to Couchbase Client 3.2.4
Closes gh-29207
3 years ago
Stephane Nicoll 91ac6008e0 Upgrade to Caffeine 2.9.3
Closes gh-29206
3 years ago
Stephane Nicoll 2ac9381be4 Upgrade to Byte Buddy 1.12.6
Closes gh-29205
3 years ago
Stephane Nicoll 8a440b02a6 Upgrade to AssertJ 3.22.0
Closes gh-29204
3 years ago
Stephane Nicoll ecf620fb01 Prevent upgrade to Artemis 2.20.0+
See gh-29203
3 years ago
Stephane Nicoll e3b36b4c7e Upgrade to AppEngine SDK 1.9.93
Closes gh-29202
3 years ago
Stephane Nicoll dea7e34699 Switch bomr to any policy 3 years ago
Stephane Nicoll a20f959fbc Merge branch '2.6.x' into 2.7.x 3 years ago
Stephane Nicoll c469c41127 Merge branch '2.5.x' into 2.6.x 3 years ago
Stephane Nicoll 04ce0e65cd Polish assertion 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
Stephane Nicoll de947e0800 Merge branch '2.6.x' into 2.7.x
Closes gh-29190
3 years ago
izeye d234681348 Fix default value for management.info.env.enabled in metadata
See gh-29187
3 years ago
Stephane Nicoll a85772be3f Upgrade to Log4j2 2.17.1
Closes gh-29185
3 years ago
Stephane Nicoll b345dddec0 Upgrade to Log4j2 2.17.1
Closes gh-29184
3 years ago
Stephane Nicoll 4b6aa81687 Upgrade to Log4j2 2.17.1
Closes gh-29183
3 years ago
Stephane Nicoll 2b140950e3 Merge branch '2.6.x' into 2.7.x
Closes gh-29176
3 years ago
izeye 7fbb5749d1 Polish
See gh-29157
3 years ago
Stephane Nicoll eb81cbf053 Merge branch '2.6.x' into 2.7.x
Closes gh-29173
3 years ago
Stephane Nicoll 8ee0640cc0 Merge branch '2.5.x' into 2.6.x
Closes gh-29172
3 years ago
izeye 9a6c1c531d Test our Gradle plugin against Gradle 7.3.3
See gh-29161
3 years ago
Stephane Nicoll 61c978e835 Upgrade to Spring Integration 5.5.7
Closes gh-28975
3 years ago
Stephane Nicoll 369046c37d Upgrade to Spring Integration 5.5.7
Closes gh-28966
3 years ago
Stephane Nicoll c7487749de Upgrade to Spring Session 2021.1.1
Closes gh-28974
3 years ago
Stephane Nicoll 2e67645fd5 Upgrade to Hazelcast 4.2.4
Closes gh-29146
3 years ago
Stephane Nicoll f3621702fb Upgrade to Hazelcast 4.1.8
Closes gh-29145
3 years ago
Stephane Nicoll a6350f2307 Upgrade to Spring Session 2021.0.4
Closes gh-28965
3 years ago
Brian Clozel 88ee4fab36 Polish
See gh-29140
3 years ago
Stephane Nicoll b1ab3b8898 Revert "Upgrade to Spring Kafka 2.7.10"
See gh-29114
3 years ago
Stephane Nicoll 669710efe0 Upgrade to Spring Security 5.6.1
Closes gh-28973
3 years ago
Stephane Nicoll af77ee007a Upgrade to Spring Kafka 2.8.1
Closes gh-29017
3 years ago
Stephane Nicoll 66c43685f5 Upgrade to Spring AMQP 2.4.1
Closes gh-28995
3 years ago
Stephane Nicoll 44a9145bf8 Upgrade to Spring Security 5.5.4
Closes gh-28964
3 years ago
Stephane Nicoll 6f8e1166c6 Upgrade to Spring Kafka 2.7.10
Closes gh-29114
3 years ago
Stephane Nicoll b2c2e6d0ca Upgrade to Spring AMQP 2.3.13
Closes gh-28994
3 years ago
Brian Clozel 22706057f0 Document Spring GraphQL support
This commit documents all the features added in the previous commits:
from the main infrastructure support, to testing and metrics.

See gh-29140
3 years ago
Brian Clozel d5603f2c98 Add GraphQL Spring Boot starter
This new starter brings the following dependencies:

* the base starter
* the JSON starter
* the Spring GraphQL dependency

See gh-29140
3 years ago
Brian Clozel 8e29eac887 Auto-configure GraphQL metrics
This commit auto-configures the metrics infrastructure for Spring
GraphQL.

See gh-29140
3 years ago
Brian Clozel a7839bc9b9 Add Metrics support for Spring GraphQL
This commit adds the required infrastructure for instrumenting the
GraphQL engine and datafetchers in order to collect metrics.

With this infrastructure, we can collect metrics such as:

* "graphql.request", a timer for GraphQL query
* "graphql.datafetcher", a timer for GraphQL datafetcher calls
* "graphql.request.datafetch.count", a distribution summary of
  datafetcher count per query
* "graphql.error", an error counter

See gh-29140
3 years ago
Brian Clozel a34308e5f7 Add GraphQlTest slice
This commit adds the `@GraphQlTest` annotation which brings a new type
of sliced test for GraphQL applications. This considers all the required
infrastructure brought by `@AutoConfigureGraphQl`, but also brings
application components like `@Controller` beans and
`RuntimeWiringConfigurer`.

With this type of test, we'll only initialize a minimal setup for
testing a set of Controllers, without involving any transport-related
component.

See gh-29140
3 years ago
Brian Clozel c0707e4f5b Auto-configure GraphQlTester
This commit adds the required infrastructure to auto-configure a
`GraphQlTester` or `WebGraphQlTester` in Spring Boot tests.
Specific annotations like `AutoConfigureGraphQlTester` and
`AutoConfigureWebGraphQlTester` will contribute pre-configured beans for
testing a GraphQL with the tester.

This also ships a `ContextCustomize` for contributing a `GraphQlTester`
in the case of a full `@SpringBootTest` integration test against a live
server.

See gh-29140
3 years ago
Brian Clozel 9a92a9c91d Add AutoConfigureGraphQl test annotation
This commit adds the `@AutoConfigureGraphQl` test annotation. It can be
used to import the relevant auto-configurations when testing a GraphQL
application.
Currently, it will get the main `GraphQlAutoConfiguration`, but also
what's required for configuring codecs and validation support.

See gh-29140
3 years ago
Brian Clozel 6dbcd0e95e Auto-configure security for Spring GraphQL
This commit configures security features for Spring GraphQL.
In the case of both MVC and WebFlux, this contributes
`DataFetcherExceptionResolver` instances to resolve security exceptions
and expose them as proper errors in the GraphQL response.

For MVC only, this also configures a
`SecurityContextThreadLocalAccessor`. This component ensures that the
security context is propagated between `ThreadLocal` and the Reactor
asynchronous execution.

See gh-29140
3 years ago
Brian Clozel 9954b4c63e Auto-configure Query* support for GraphQL
This commit auto-configures Spring Data Querydsl and QueryByExample
support for Spring GraphQL.

See gh-29140
3 years ago
Brian Clozel ce6747ccd6 Enable GraphiQL UI by default with Devtools
GraphiQL is useful when working on a GraphQL API - it allows
developers to craft queries and test newly developed feature. This
is not enabled by default, as this should not be exposed in production
without the developer's knowledge.

This commit flips this value when Spring Boot devtools is active for a
better developer experience.

See gh-29140
3 years ago
Brian Clozel 6ef1ed0dd0 Auto-configure GraphQL WebSocket endpoint
This commit auto-configures a GraphQL WebSocket endpoint for both Spring
MVC and Spring WebFlux. This is only enabled if the required libraries
are on the classpath and if the `"spring.graphql.websocket.path"`
property is defined.

See gh-29140
3 years ago
Brian Clozel 4ef9b9e3e5 Auto-configure CORS options for GraphQL web endpoints
This commit adds `"spring.graphql.cors.*"` configuration properties to
customize the CORS configuration for GraphQL web endpoints.

See gh-29140
3 years ago
Brian Clozel 0099460155 Auto-configure graphiql endpoint
Spring GraphQL ships with a static version of the graphiql IDE for
exploring and querying GraphQL endpoints.
See https://github.com/graphql/graphiql for more information.

This commit auto-configures the GraphiQL handler for both MVC and
WebFlux and points GraphiQL to the GraphQL HTTP endpoint exposed by the
application. This feature is disabled by default and can be switched on
with "spring.graphql.graphiql.enabled=true".

See gh-29140
3 years ago
Brian Clozel ff9a421786 Auto-configure schema printer endpoint
This commit configuresa new endpoint for printing in text format the
resolved GraphQL schema.
This endpoint is exposed by default under "/graphql/schema" and must be
enabled with "spring.graphql.schema.printer=true".

See gh-29140
3 years ago
Brian Clozel b38d04556e Auto-configure HTTP transport for MVC and WebFlux
This commit adds two new auto-configuration classes for Spring GraphQL
support. Once the base GraphQL infrastructure is in place, we can now
expose the `GraphQlService` over an HTTP transport.

Spring GraphQL supports both MVC and WebFlux, so this commit ships with
one auto-configuration for each.
Developers can configure the HTTP path where the GraphQL resource is
exposed using the `spring.graphql.path` configuration property (this
defaults to `"/graphql"`).

See gh-29140
3 years ago
Brian Clozel 5cf0a4db94 Add FailureAnalyzer for InvalidSchemaLocationsException
This commit adds a new `FailureAnalyzer` for exceptions thrown when no
GraphQL schema file could be found.
This lists configured locations (with `"classpath:..."` notation) and
also resolved locations - this helps developers figure out how the
pattern are resolved and why schema files cannot be found.

See gh-29140
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
Brian Clozel e5e157528b Add dependency management for Spring GraphQL
This commit adds dependency management in Spring Boot for Spring GraphQL
and GraphQL Java.

See gh-29140
3 years ago
Scott Frederick 29ad84714a Merge branch '2.6.x' into 2.7.x
Closes gh-29144
3 years ago
Scott Frederick b3a304fbe7 Merge branch '2.5.x' into 2.6.x
Closes gh-29143
3 years ago
Scott Frederick e4b0575a12 Do not consider bridge methods when binding java bean properties
Fixes gh-28917
3 years ago
Madhura Bhave ad45e76b1b Merge branch '2.6.x' into 2.7.x
Closes gh-29139
3 years ago
Madhura Bhave 84f1a6ca09 Merge branch '2.5.x' into 2.6.x
Closes gh-29138
3 years ago
Madhura Bhave 99e650bd27 Document devtools remote support not available with WebFlux
Closes gh-28955
3 years ago
Stephane Nicoll 83d732823d Merge branch '2.6.x' into 2.7.x
Closes gh-29136
3 years ago
Stephane Nicoll 653fdbd0a4 Configure comment prefixes
Closes gh-29095
3 years ago
Stephane Nicoll dea15a1103 Merge branch '2.6.x' into 2.7.x
Closes gh-29134
3 years ago
Stephane Nicoll 53654a0160 Merge branch '2.5.x' into 2.6.x
Closes gh-29133
3 years ago
Pavel Anisimov b704ee0b30 Polish reference doc
See gh-29115
3 years ago
Stephane Nicoll fd32ff3a51 Upgrade to XmlUnit2 2.8.4
Closes gh-29131
3 years ago
Stephane Nicoll fbb7f12f43 Upgrade to XmlUnit2 2.8.4
Closes gh-29123
3 years ago
Stephane Nicoll 64a5415edc Upgrade to Jackson Bom 2.13.1
Closes gh-29129
3 years ago
Stephane Nicoll d9a970a8e2 Upgrade to Infinispan 12.1.10.Final
Closes gh-29128
3 years ago
Stephane Nicoll a8fc4e9351 Upgrade to Hibernate 5.6.3.Final
Closes gh-29127
3 years ago
Stephane Nicoll 07c8ab2236 Upgrade to Ehcache3 3.9.9
Closes gh-29126
3 years ago
Stephane Nicoll 9ec44d80cf Upgrade to Dropwizard Metrics 4.2.7
Closes gh-29125
3 years ago
Stephane Nicoll 177fd6c539 Upgrade to DB2 JDBC 11.5.7.0
Closes gh-29124
3 years ago
Stephane Nicoll 620c6ec275 Upgrade to Infinispan 12.1.10.Final
Closes gh-29121
3 years ago
Stephane Nicoll d0cd7dcf60 Upgrade to Hibernate 5.4.33
Closes gh-29120
3 years ago
Stephane Nicoll cb81801907 Upgrade to Ehcache3 3.9.9
Closes gh-29119
3 years ago
Stephane Nicoll d8d97df34a Upgrade to Dropwizard Metrics 4.1.29
Closes gh-29118
3 years ago
Stephane Nicoll 8306287158 Upgrade to DB2 JDBC 11.5.7.0
Closes gh-29117
3 years ago
Stephane Nicoll bb1a1a0622 Upgrade to Spring LDAP 2.3.5
Closes gh-28972
3 years ago
Stephane Nicoll f619d66244 Upgrade to Spring LDAP 2.3.5
Closes gh-28963
3 years ago
Stephane Nicoll aab30b13b3 Start building against Spring Kafka 2.7.10 snapshots
See gh-29114
3 years ago
Stephane Nicoll 4fa0e87ba1 Merge branch '2.6.x' into 2.7.x 3 years ago
Stephane Nicoll efa93506e6 Fix checkstyle violations 3 years ago
Stephane Nicoll 84ef1f7c21 Upgrade to Log4j2 2.17.0
Closes gh-28985
3 years ago
Stephane Nicoll 012fbdd43d Upgrade to Log4j2 2.17.0
Closes gh-28984
3 years ago
Stephane Nicoll cb02944c71 Upgrade to Log4j2 2.17.0
Closes gh-28983
3 years ago
Madhura Bhave d803c53e02 Merge branch '2.6.x' into 2.7.x
Closes gh-29109
3 years ago
Madhura Bhave 4cc8012bfa Handle WebServerNamespace in CachingOperationInvoker
Fixes gh-28882
3 years ago
Madhura Bhave 764531c326 Merge branch '2.6.x' into 2.7.x
Closes gh-29108
3 years ago
Madhura Bhave d9d161cd6b Allow previously authorized users to access the error page
Prior to this commit, the `ErrorPageSecurityFilter` verified if
access to the error page was allowed by invoking the
`WebInvocationPrivilegeEvaluator` with the Authentication from the
`SecurityContextHolder`.
This meant that access to the error page was denied for a `null` Authentication
 or `AnonymousAuthenticationToken` in cases where the error page required
authenticated access. This prevented authorized users from accessing the
error page in case the Authentication wasn't retrievable for the error dispatch,
which is the case for `@Transient` authentication or stateless session policy.

This commit updates the `ErrorPageSecurityFilter` to check access to the error page
only if the error is an authn or authz error in cases where an authentication object
is not found in the SecurityContextHolder. This makes the error response consistent
when bad credentials or no credentials are used while also allowing access to previously
authorized users.

Fixes gh-28953
3 years ago
Stephane Nicoll 64dd1f86c0 Merge branch '2.6.x' into 2.7.x
Closes gh-29104
3 years ago
Stephane Nicoll c077ebecf7 Merge branch '2.5.x' into 2.6.x
Closes gh-29103
3 years ago
Andy Wilkinson 2fec06ac7e Find annotation without initializing factory beans
Closes gh-28977
3 years ago
Brian Clozel b04f7904ff Merge branch '2.6.x' into 2.7.x
Closes gh-29013
3 years ago
Brian Clozel 1c35ec2c3c Merge branch '2.5.x' into 2.6.x
Closes gh-29012
3 years ago
Brian Clozel 5d0206320a Upgrade to Logback 1.2.9
Closes gh-29011
3 years ago
Stephane Nicoll de383fcee0 Merge branch '2.6.x' into 2.7.x
Closes gh-29099
3 years ago
Stephane Nicoll bcaa59ce73 Merge branch '2.5.x' into 2.6.x
Closes gh-29098
3 years ago
Pavel Anisimov 415c58e21b Polish CacheManager customization section in reference doc
See gh-29094
3 years ago
Stephane Nicoll a05714ad9f Merge branch '2.6.x' into 2.7.x
Closes gh-29097
3 years ago
Stephane Nicoll 10362a9315 Merge branch '2.5.x' into 2.6.x
Closes gh-29096
3 years ago
Stephane Nicoll 8c9d398422 Test our Gradle plugin against Gradle 7.3.2
Closes gh-29093
3 years ago
Phillip Webb 1015df088d Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb 587d6fa309 Polish 3 years ago
Phillip Webb f3bcbca841 Update copyright year of changed files 3 years ago
Scott Frederick 4cad4851da Merge branch '2.6.x' into 2.7.x
Closes gh-29088
3 years ago
Scott Frederick 92b096abbf Fix message interpolation when code is used as default message
When `setUseCodeAsDefaultMessage(true)` was set on a message source,
attempting to interpolate the default message returned from the message
source would result in the code being unusable by upstream message
resolvers.

Fixes gh-28930
3 years ago
Stephane Nicoll f2efe56a18 Upgrade to Spring Framework 5.3.14 3 years ago
Stephane Nicoll a7a37f4ad6 Upgrade to Spring Framework 5.3.14
Closes gh-28970
3 years ago
Stephane Nicoll b8bf2cbbc7 Upgrade to Spring Framework 5.3.14
Closes gh-28961
3 years ago
Stephane Nicoll 63427b77d1 Merge branch '2.6.x' into 2.7.x
Closes gh-29086
3 years ago
Stephane Nicoll 55859ea64c Stop accessing the datasource if initialization mode is set to never
Closes gh-28931
3 years ago
Stephane Nicoll 4b1c0e5a03 Start building against Spring Framework 5.3.14 snapshots 3 years ago
Stephane Nicoll 38aeeee381 Merge branch '2.6.x' into 2.7.x 3 years ago
Stephane Nicoll 3b4d27e4d3 Merge branch '2.5.x' into 2.6.x 3 years ago
Stephane Nicoll 30ebb17b2b Polish 3 years ago
Stephane Nicoll a5734ef194 Upgrade to Reactor 2020.0.14
Closes gh-28969
3 years ago
Stephane Nicoll 28214e1e8c Upgrade to Reactor 2020.0.14
Closes gh-28960
3 years ago
Stephane Nicoll 4f14428351 Upgrade to Undertow 2.2.14.Final
Closes gh-29072
3 years ago
Stephane Nicoll a4fbc98667 Upgrade to Thymeleaf 3.0.14.RELEASE
Closes gh-29070
3 years ago
Stephane Nicoll 45e8711b5b Upgrade to Spring WS 3.1.2
Closes gh-29069
3 years ago
Stephane Nicoll 3bbc4649b7 Upgrade to MSSQL JDBC 9.4.1.jre8
Closes gh-29068
3 years ago
Stephane Nicoll 36332d42b8 Upgrade to JUnit Jupiter 5.8.2
Closes gh-29066
3 years ago
Stephane Nicoll 657f6e0010 Upgrade to Jedis 3.7.1
Closes gh-29065
3 years ago
Stephane Nicoll afd254424b Upgrade to JDOM2 2.0.6.1
Closes gh-29064
3 years ago
Stephane Nicoll 7156e3fb23 Upgrade to HttpCore 4.4.15
Closes gh-29063
3 years ago
Stephane Nicoll 0219408b7e Upgrade to HttpAsyncClient 4.1.5
Closes gh-29062
3 years ago
Stephane Nicoll 081d4f6d9c Upgrade to Hibernate 5.6.2.Final
Closes gh-29061
3 years ago
Stephane Nicoll 76b1ec3cac Upgrade to Hazelcast 4.2.3
Closes gh-29060
3 years ago
Stephane Nicoll 84d552f4d2 Upgrade to Flyway 8.0.5
Closes gh-29059
3 years ago
Stephane Nicoll fedf341d65 Upgrade to Ehcache3 3.9.8
Closes gh-29058
3 years ago
Stephane Nicoll 0165c40f02 Upgrade to Dropwizard Metrics 4.2.5
Closes gh-29057
3 years ago
Stephane Nicoll b11aa6d5cd Upgrade to Couchbase Client 3.2.4
Closes gh-29056
3 years ago
Stephane Nicoll d80e68adf0 Upgrade to Caffeine 2.9.3
Closes gh-29055
3 years ago
Stephane Nicoll c45bdd19fd Upgrade to AppEngine SDK 1.9.93
Closes gh-29054
3 years ago
Stephane Nicoll 97ee63b55b Upgrade to Undertow 2.2.14.Final
Closes gh-29051
3 years ago
Stephane Nicoll 74ce8b7516 Upgrade to Thymeleaf 3.0.14.RELEASE
Closes gh-29049
3 years ago
Stephane Nicoll e234ccd457 Upgrade to Spring WS 3.1.2
Closes gh-29048
3 years ago
Stephane Nicoll 272e184259 Upgrade to JDOM2 2.0.6.1
Closes gh-29046
3 years ago
Stephane Nicoll 084eae5124 Upgrade to Jackson Bom 2.12.6
Closes gh-29045
3 years ago
Stephane Nicoll d60c0593f3 Upgrade to HttpCore 4.4.15
Closes gh-29044
3 years ago
Stephane Nicoll 8c10266c62 Upgrade to HttpAsyncClient 4.1.5
Closes gh-29043
3 years ago
Stephane Nicoll 70805793a1 Upgrade to Hazelcast 4.1.7
Closes gh-29042
3 years ago
Stephane Nicoll f0a4ac6154 Upgrade to Ehcache3 3.9.8
Closes gh-29041
3 years ago
Stephane Nicoll 41a9b08049 Upgrade to Dropwizard Metrics 4.1.27
Closes gh-29040
3 years ago
Stephane Nicoll b7e233805f Upgrade to Caffeine 2.9.3
Closes gh-29039
3 years ago
Stephane Nicoll 6dcc289e6b Upgrade to AppEngine SDK 1.9.93
Closes gh-29038
3 years ago
Stephane Nicoll 61bb068a48 Merge branch '2.6.x' into 2.7.x
Closes gh-29032
3 years ago
Stephane Nicoll da60b96cf5 Merge branch '2.5.x' into 2.6.x
Closes gh-29031
3 years ago
copbint 0a9a6639e5 Remove redundant log4j-to-slf4j
See gh-29019
3 years ago
Stephane Nicoll 894eb83e66 Upgrade to Log4j2 2.16.0
Closes gh-28985
3 years ago
Stephane Nicoll 15ade0b5d3 Upgrade to Log4j2 2.16.0
Closes gh-28984
3 years ago
Stephane Nicoll 4c57d1717d Upgrade to Log4j2 2.16.0
Closes gh-28983
3 years ago
Stephane Nicoll 3124d9e62d Start building against Spring Kafka 2.8.1 snapshots
See gh-29017
3 years ago
Stephane Nicoll 9ca1cffab7 Merge branch '2.6.x' into 2.7.x
Closes gh-29016
3 years ago
Stephane Nicoll ba60e3d358 Merge branch '2.5.x'
Closes gh-29002
3 years ago
Stephane Nicoll 157b3aa25f Allow platform to be configured in DataSourceInitializers
Closes gh-28932
3 years ago
Stephane Nicoll 2d94fc437c Upgrade to Logback 1.2.8
Closes gh-29013
3 years ago
Stephane Nicoll d8eab45146 Upgrade to Logback 1.2.8
Closes gh-29012
3 years ago
Stephane Nicoll d18eae35e5 Upgrade to Logback 1.2.8
Closes gh-29011
3 years ago
Stephane Nicoll 6adbb50f02 Upgrade to Netty 4.1.72.Final
Closes gh-29005
3 years ago
Stephane Nicoll 1bda928ad3 Upgrade to Netty 4.1.72.Final
Closes gh-29004
3 years ago
Stephane Nicoll 5383de4fe1 Merge branch '2.6.x' into 2.7.x 3 years ago
Stephane Nicoll 32ecbb89d6 Merge branch '2.5.x' into 2.6.x 3 years ago
Stephane Nicoll 496cd3d2ba Polish
See gh-28999
3 years ago
Stephane Nicoll b81adecde3 Start building against Spring AMQP 2.4.1 snapshots
See gh-28995
3 years ago
Stephane Nicoll 93f75a7d12 Start building against Spring AMQP 2.3.13 snapshots
See gh-28994
3 years ago
Stephane Nicoll 87fc7672d8 Upgrade to Log4j2 2.15.0
Closes gh-28985
3 years ago
Stephane Nicoll 4f85d8a4b0 Upgrade to Log4j2 2.15.0
Closes gh-28984
3 years ago
Stephane Nicoll 1d8e3a865e Upgrade to Log4j2 2.15.0
Closes gh-28983
3 years ago
Stephane Nicoll b961b14d0f Merge branch '2.6.x' into 2.7.x
Closes gh-28980
3 years ago
Stephane Nicoll dfab6ee307 Merge branch '2.5.x' into 2.6.x
Closes gh-28979
3 years ago
Stephane Nicoll f6f5aec183 Polish "Check for the presence of Spring Security"
See gh-28967
3 years ago
Guirong Hu 4462f9157e Check for the presence of Spring Security
See gh-28967
3 years ago
Stephane Nicoll c7b606d8b6 Start building against Spring Integration 5.5.7 snapshots
See gh-28975
3 years ago
Stephane Nicoll 018481e381 Start building against Spring Session 2021.1.1 snapshots
See gh-28974
3 years ago
Stephane Nicoll 8792f1a792 Start building against Spring Security 5.6.1 snapshots
See gh-28973
3 years ago
Stephane Nicoll 9dc2450cd7 Start building against Spring LDAP 2.3.5 snapshots
See gh-28972
3 years ago
Stephane Nicoll d471397f47 Upgrade to Micrometer 1.8.1
Closes gh-28971
3 years ago
Stephane Nicoll 84ba9e2a8f Start building against Spring Framework 5.3.14 snapshots
See gh-28970
3 years ago
Stephane Nicoll ec453acf7f Start building against Reactor 2020.0.14 snapshots
See gh-28969
3 years ago
Stephane Nicoll f1f43e8577 Start building against Spring Integration 5.5.7 snapshots
See gh-28966
3 years ago
Stephane Nicoll e53bac272c Start building against Spring Session 2021.0.4 snapshots
See gh-28965
3 years ago
Stephane Nicoll 9894e90567 Start building against Spring Security 5.5.4 snapshots
See gh-28964
3 years ago
Stephane Nicoll a3b31db31d Start building against Spring LDAP 2.3.5 snapshots
See gh-28963
3 years ago
Stephane Nicoll 33ce2ab73b Upgrade to Micrometer 1.7.7
Closes gh-28962
3 years ago
Stephane Nicoll 4a35c7111f Start building against Spring Framework 5.3.14 snapshots
See gh-28961
3 years ago
Stephane Nicoll 7af3bd54a1 Start building against Reactor 2020.0.14 snapshots
See gh-28960
3 years ago
Scott Frederick 8f57f0babb Add classpath index support for exploded war archives
Update the Maven and Gradle packaging for war files so that a
`classpath.idx` file is written into the archive that provides the
original order of the classpath, as was previously done for jar files.
The `WarLauncher` class will use this file when running as an exploded
archive to ensure that the classpath order is the same as when running
from the far war.

Fixes gh-19875
3 years ago
Stephane Nicoll a2eeb77e21 Merge branch '2.6.x' into 2.7.x
Closes gh-28951
3 years ago
Vedran Pavic 0af4431db8 Apply SameSite session cookie property to Spring Session
This commit maps the `server.servlet.session.cookie.same-site`
configuration property to the `DefaultCookieSerializer` bean configured
in the Spring Session auto-configuration.

See gh-28784
3 years ago
Stephane Nicoll 89635eafa3 Update copyright year of changed files
See gh-28862
3 years ago
Stefano Cordio a5c56043b9 Simplify AssertJ usage
See gh-28862
3 years ago
Stephane Nicoll 2b3827332f Merge branch '2.6.x' into 2.7.x
Closes gh-28946
3 years ago
izeye 0364353204 Add public accessor for StackdriverProperties.useSemanticMetricTypes
See gh-28944
3 years ago
Stephane Nicoll a323ff7136 Merge branch '2.6.x' into 2.7.x
Closes gh-28945
3 years ago
Stephane Nicoll 5599e8d340 Polish "Add consistent quotes in YAML samples of reference doc"
See gh-28911
3 years ago
Viktor Ardelean 0b781d87b1 Add consistent quotes in YAML samples of reference doc
See gh-28911
3 years ago
Andy Wilkinson 51957f18c4 Merge branch '2.6.x' into 2.7.x
Closes gh-28942
3 years ago
Artur Signell ad754abba3 Make ErrorPageSecurityFilter compatible with Servlet 3.1
See gh-28902
3 years ago
Stephane Nicoll 7af589d31a Merge branch '2.6.x' into 2.7.x
Closes gh-28937
3 years ago
Stephane Nicoll 25a2888be5 Fix default value of spring.mvc.pathmatch.matching-strategy property
Closes gh-28936
3 years ago
Scott Frederick 3cb30cb283 Merge branch '2.6.x' into 2.7.x
Closes gh-28923
3 years ago
Scott Frederick 3555837845 Merge branch '2.5.x' into 2.6.x
Closes gh-28922
3 years ago
Scott Frederick b0b2cd79b4 Use latest buildpack image tag when no tag is provided
Fixes gh-28921
3 years ago
Scott Frederick 61fb9f83df Merge branch '2.6.x' into 2.7.x
Closes gh-28905
3 years ago
Scott Frederick ab0cc55e20 Merge branch '2.5.x' into 2.6.x
Closes gh-28904
3 years ago
Scott Frederick 467c092fdc Remove classpath index manifest attribute from repackaged war files
Fixes gh-28895
3 years ago
Andy Wilkinson a3ecdcf058 Merge branch '2.6.x' into 2.7.x
Closes gh-28892
3 years ago
Andy Wilkinson 4606e17696 Merge branch '2.5.x' into 2.6.x
Closes gh-28891
3 years ago
Andy Wilkinson af60a8a7cf Test our Gradle plugin against Gradle 7.3.1
Closes gh-28890
3 years ago
Scott Frederick 5f14cffea3 Add support for CNB platform API 0.5 through 0.8
Fixes gh-28850
3 years ago
Andy Wilkinson 86a773a8e9 Update main branch to start work on 2.7.x 3 years ago
Stephane Nicoll 46a8673bf8 Merge branch '2.5.x'
Closes gh-28839
3 years ago
Stephane Nicoll 1876b4bcd7 Update copyright year of changed files
See gh-28809
3 years ago
Leo Li f3c93d30a8 Fix reference to matching-strategy property
See gh-28809
3 years ago
izeye c7921468fc Polish
See gh-28836
3 years ago
Stephane Nicoll 88aa849f90 Merge branch '2.5.x' 3 years ago
Stephane Nicoll 1bb3f906a7 Polish
See gh-28836
3 years ago
Stephane Nicoll e4082ee5d9 Merge branch '2.5.x'
Closes gh-28834
3 years ago
fml2 1d786e49e9 Fix typos in the "External Application Properties" section
See gh-28830
3 years ago
Stephane Nicoll 9719930496 Merge branch '2.5.x'
Closes gh-28833
3 years ago
Xavier Bouclet dce979d51f Fix output of "spring --version" in reference documentation
See gh-28831
3 years ago
Andy Wilkinson 4bd86a6e20 Allow spring-boot-image-tests to run without an existing snapshot
Closes gh-28817
3 years ago
Željko Tomić 1c1c85c3f8 Fix MariaDB mapping for Quartz DataSource initialization
See gh-28779
3 years ago
Madhura Bhave 27eb992252 Fix property source ordering in SpringBootTest
Update `SpringBootContextLoader` so that the active profiles
property source has a unique name. Prior to this commit, the
default name 'test' was used which could cause ordering issues
if other `@PropertySource` values were added to it later.

Closes gh-28804
3 years ago
Phillip Webb beb68671bb Update copyright year of changed files 3 years ago
Madhura Bhave e7ff2cf358 Guard ErrorPageSecurityFilter configuration with ConditionalOnClass
Update `ErrorPageSecurityFilterConfiguration` to guard against the case
where `spring-security-core` is on the classpath but
`spring-security-web` is not.

Fixes gh-28774
3 years ago
Madhura Bhave 49e408828c Fix property source ordering in SpringBootTest
Update `SpringBootContextLoader` so that the active profiles
property source has a unique name. Prior to this commit, the
default name 'test' was used which could cause ordering issues
if other `@PropertySource` values were added to it later.

Fixes gh-28776
3 years ago
Madhura Bhave e6b5be900a Make ErrorPageSecurityFilter Servlet 3.1 compatible
Restore Servlet 3.1 compatibly by implementing `Filter` rather
than extending the 4.0 `HttpFilter` type.

Fixes gh-28790
3 years ago
Madhura Bhave f621937d3b Skip error page security filter for non-error dispatch type
Update `ErrorPageSecurityFilter` to defensively check that the
`DispatcherType` is `ERROR`. Although this check isn't necessary
for regular applications, it is needed if MockMvc is being used.

Fixes gh-28759
3 years ago
Scott Frederick 4eed637481 Merge branch '2.5.x'
Closes gh-28789
3 years ago
Scott Frederick 12244a8edd Remove use of Thymeleaf from smoke tests
Closes gh-28788
3 years ago
Andy Wilkinson 03e283a2e6 Mention WebProperties in deprecation of ResourceProperties
Closes gh-28762
3 years ago
Yanming Zhou da2dfbe0aa LettuceMetricsAutoConfiguration should not build ClientResources
See gh-28767
3 years ago
Stephane Nicoll 490ec8974d Merge branch '2.5.x'
Closes gh-28761
3 years ago
Stephane Nicoll 667bca05ec Polish "Add package info for Spring Data metrics support"
See gh-28756
3 years ago
charissathomas 42ae5114ef Create package-info.java
Closes #28731
3 years ago
Andy Wilkinson 0074d621d0 Merge branch '2.5.x'
Closes gh-28754
3 years ago
Andy Wilkinson 015cf920da Name custom task inputs
Closes gh-28753
3 years ago
Andy Wilkinson 258222781a Merge branch '2.5.x'
Closes gh-28752
3 years ago
Andy Wilkinson 96d98a0f6f Declare dir task inputs with relative path sensitivity
Closes gh-28751
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 4a0fa62d2e Polish "Replace "you're""
See gh-28710
3 years ago
Jay Bryant e629e77b29 Replace "you're"
This commit replaces "you're" with some other structure, often
simplifying the sentence in the process.

Also checked for words that end with "'ll" and "n't" but did not find
any.

See gh-28710
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
Madhura Bhave dd1d1482dc Deny unauthorized access to the error page
Fixes gh-26356

Co-authored-by Andy Wilkinson <wilkinsona@vmware.com>
3 years ago
Andy Wilkinson 29725ec68a Update links to Spring Security's reference docs
Closes gh-28618
3 years ago
Madhura Bhave 6b79d2860f Merge branch '2.5.x' into main
Closes gh-28724
3 years ago
Madhura Bhave 64270eca51 Convert environment used by SpringBootTestContextLoader
This commit aligns `SpringBootTest`s to also use `ApplicationEnvironment`
instead of `StandardEnvironment`. This prevents the side-effect of active
profiles from `@ActiveProfiles` from being added to the environment when
doGetActiveProfiles is called. In this case, calling `addActiveProfiles()`
in the environment post processor would result in `@ActiveProfiles` being
added to the environment first, resulting in the wrong order.

The additional call to `setActiveProfiles()` is also not necessary when using
ApplicationEnvironment because that call was put in place to prevent the side-effect
which `ApplicationEnvironment` does not have.

Fixes gh-28530
3 years ago
Stephane Nicoll 7fbb9d471b Polish "Upgrade to Neo4j Java Driver 4.2.8"
See gh-28717
3 years ago
Stephane Nicoll a6163f6acf Upgrade to Netty tcNative 2.0.46.Final
Closes gh-28720
3 years ago
Stephane Nicoll fc69be302a Upgrade to HttpClient5 5.1.2
Closes gh-28719
3 years ago
Stephane Nicoll f33c8f6fde Upgrade to Netty tcNative 2.0.46.Final
Closes gh-28718
3 years ago
Stephane Nicoll 9dd599c9e3 Upgrade to Neo4j Java Driver 4.2.8
Closes gh-28717
3 years ago
Stephane Nicoll ba3d0d7771 Upgrade to Spring Session 2021.1.0
Closes gh-28522
3 years ago
Andy Wilkinson ea0613c7d7 Merge branch '2.5.x'
Closes gh-28261
3 years ago
Andy Wilkinson 416a133fd1 Merge branch '2.4.x' into 2.5.x
Closes gh-28250
3 years ago
Andy Wilkinson 838533ef0e Upgrade to Spring Batch 4.3.4
Closes gh-28230
3 years ago
Stephane Nicoll afa006986b Merge branch '2.5.x'
Closes gh-28713
3 years ago
Vedran Pavic c8dd0a584b Fix "Configure Two DataSources" example
With the present example, the `secondDataSource` bean factory method
will use `firstDataSourceProperties` due to it being annotated with
`@Primary`.

This commit adds the `@Qualifier` needed to ensure `secondDataSource`
bean factory method uses `secondDataSourceProperties`.

See gh-28712
3 years ago
Stephane Nicoll d88658d47a Remove dependencies on micrometer-jersey2
Closes gh-28706
3 years ago
Stephane Nicoll 37864f6e66 Upgrade to Spring Integration 5.5.6
Closes gh-28521
3 years ago
Stephane Nicoll 6325df2055 Upgrade to Spring Integration 5.5.6
Closes gh-28513
3 years ago
Stephane Nicoll f1991d8d80 Avoid bean override with CachingMetadataReaderFactoryPostProcessor
Closes gh-28705
3 years ago
Stephane Nicoll dbcd0524a5 Upgrade to Logback 1.2.7
Closes gh-28699
3 years ago
Stephane Nicoll 8356204430 Upgrade to Flyway 8.0.4
Closes gh-28697
3 years ago
Stephane Nicoll 4b64f36356 Upgrade to Spring Security 5.6.0
Closes gh-28520
3 years ago
Stephane Nicoll 4fcb772f37 Upgrade to Logback 1.2.7
Closes gh-28695
3 years ago
Stephane Nicoll c4eea99608 Upgrade to Kafka 2.7.2
Closes gh-28694
3 years ago
Stephane Nicoll 44b644c770 Merge branch '2.5.x'
Closes gh-28693
3 years ago
Stephane Nicoll 9ed7674ab0 Polish "Fix yaml sample format"
See gh-28671
3 years ago
Weix Sun 7f1bd43c84 Fix yaml sample format
See gh-28671
3 years ago
Stephane Nicoll 6d4537b5ae Merge branch '2.5.x'
Closes gh-28692
3 years ago
Stephane Nicoll 6d79599d99 Polish "Fix yaml sample format in reference doc"
See gh-28670
3 years ago
Weix Sun 793a107d27 Fix yaml sample format in reference doc
See gh-28670
3 years ago
Stephane Nicoll cdc14250c4 Merge branch '2.5.x'
Closes gh-28691
3 years ago
izeye e56efc03f6 Update URL for GraphQL Spring Boot starter
See gh-28683
3 years ago
Stephane Nicoll 52ecc1e0dd Polish "Create EndpointWebExtension only if necessary"
See gh-28475
3 years ago
davidh44 b658013a97 Create EndpointWebExtension only if necessary
This commit updates Actuator's EndpointWebExtensions to be created only
if the related endpoint is exposed over HTTP.

See gh-28475
3 years ago
Stephane Nicoll a4c5f07391 Upgrade to Spring Kafka 2.8.0
Closes gh-28519
3 years ago
Stephane Nicoll d058af5be2 Upgrade to Spring AMQP 2.4.0
Closes gh-28518
3 years ago
Stephane Nicoll 882c58b1f1 Upgrade to Spring Kafka 2.7.9
Closes gh-28539
3 years ago
Stephane Nicoll d3c5563e60 Upgrade to Spring AMQP 2.3.12
Closes gh-28600
3 years ago
Scott Frederick 8903c69b19 Avoid exposing time-related task metrics
Fixes gh-28535
3 years ago
Scott Frederick d7f8931dd4 Make TaskExecution and TaskScheduling metrics unique
Fixes gh-28536
3 years ago
Andy Wilkinson a1e7375fc0 Polish 3 years ago
Andy Wilkinson 2d7e0314f3 Merge branch '2.5.x'
# Conflicts:
#	spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilityExtension.java
#	spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleMultiDslExtension.java
3 years ago
Andy Wilkinson 0aae9c26da Test our Gradle plugin against Gradle 7.3
Closes gh-28679
3 years ago
Andy Wilkinson b1ff60c728 Merge branch '2.5.x'
Closes gh-28681
3 years ago
Andy Wilkinson 4cfbc0db36 Merge branch '2.4.x' into 2.5.x
Closes gh-28680
3 years ago
Leo Li 9de9983e25 Fix @deprecated and @see in Archive's javadoc
See gh-28677
3 years ago
Filip Hrisafov d6bead1a2a Expose RestClientBuilder when RestHighLevelClient is not available
This commits exposes the RestClientBuilder as a bean even when the
RestHighLevelClient is not available. It allows users to create their
own RestClient beans using the Spring Boot configured RestClientBuilder
when they are not using the RestHighLevelClient.

Fixes gh-28655
3 years ago
Stephane Nicoll 6e06e69bba Merge branch '2.5.x'
Closes gh-28673
3 years ago
Stephane Nicoll 4c193a1511 Merge branch '2.4.x' into 2.5.x
Closes gh-28672
3 years ago
Stephane Nicoll d21c48e474 Update copyright year of changed file
See gh-28532
3 years ago
Josh Cummings d817029575 Harmonize @ConditionalOnMissingBean definition
See gh-28532
3 years ago
Stephane Nicoll 854d8723cc Upgrade to Spring Data 2021.1.0
Closes gh-28517
3 years ago
Stephane Nicoll 818abdc70d Upgrade to Spring HATEOAS 1.4.0
Closes gh-28610
3 years ago
Stephane Nicoll 113a7bd525 Upgrade to Neo4j Java Driver 4.3.6
Closes gh-28667
3 years ago
Stephane Nicoll 83151a3a72 Upgrade to MongoDB 4.4.0
Closes gh-28666
3 years ago
Stephane Nicoll 7f3cff062d Upgrade to Elasticsearch 7.15.2
Closes gh-28665
3 years ago
Stephane Nicoll e638ded7e9 Upgrade to Couchbase Client 3.2.3
Closes gh-28664
3 years ago
Stephane Nicoll e396aa310f Upgrade to Spring Data 2021.0.7
Closes gh-28512
3 years ago
Stephane Nicoll 52098229c0 Upgrade to Spring HATEOAS 1.3.6
Closes gh-28609
3 years ago
Stephane Nicoll e7d62ffb01 Upgrade to Spring Data 2020.0.15
Closes gh-28508
3 years ago
Stephane Nicoll f3e2a40424 Upgrade to Spring HATEOAS 1.2.11
Closes gh-28608
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 3ba8184cb1 Merge branch '2.5.x'
Closes gh-28660
3 years ago
Andy Wilkinson ef02db9ed1 Merge branch '2.4.x' into 2.5.x
Closes gh-28659
3 years ago
Andy Wilkinson 0889cdd516 Add dependency management for Glassfish JSTL
To be used in place of javax.servlet:jstl

Closes gh-28657
3 years ago
Stephane Nicoll 303dd4cfe0 Upgrade to Micrometer 1.8.0
Closes gh-28516
3 years ago
Andy Wilkinson 5f1103f381 Add missing @Deprecated annotation
Closes gh-28602
3 years ago
Andy Wilkinson 925ddd6b09 Merge branch '2.5.x' 3 years ago
Andy Wilkinson 3b180f42b7 Polish 3 years ago
Andy Wilkinson 6fa523ed6f Start building against Spring HATEOAS 1.4.0 snapshots
See gh-28610
3 years ago
Andy Wilkinson 1d1ab21ac3 Start building against Spring HATEOAS 1.3.6 snapshots
See gh-28609
3 years ago
Andy Wilkinson ede3e4e6a0 Start building against Spring HATEOAS 1.2.11 snapshots
See gh-28608
3 years ago
Andy Wilkinson 7a24ee88ae Merge branch '2.5.x'
Closes gh-28607
3 years ago
Andy Wilkinson 23197c34c7 Merge branch '2.4.x' into 2.5.x
Closes gh-28606
3 years ago
Andy Wilkinson c018788846 Test JTA auto-configured from JNDI
Closes gh-28594
3 years ago
Stephane Nicoll 74c57bbefa Upgrade to Spring Framework 5.3.13
Closes gh-28515
3 years ago
Stephane Nicoll 0b808fdd3c Upgrade to Micrometer 1.7.6
Closes gh-28511
3 years ago
Stephane Nicoll f969b60031 Upgrade to Spring Framework 5.3.13
Closes gh-28510
3 years ago
Stephane Nicoll 24c578e3ad Upgrade to Micrometer 1.6.13
Closes gh-28507
3 years ago
Stephane Nicoll c8d9f94821 Upgrade to Spring Framework 5.3.13
Closes gh-28506
3 years ago
Andy Wilkinson ceacb1533a Merge branch '2.5.x' 3 years ago
Andy Wilkinson b5653ad551 Merge branch '2.4.x' into 2.5.x 3 years ago
Andy Wilkinson f3b5e6bb3e Adapt to removal of static resource location filtering
See gh-28506
3 years ago
Stephane Nicoll 4229039ba4 Start building against Spring AMQP 2.3.12 snapshots
See gh-28600
3 years ago
Stephane Nicoll 85e06438e3 Start building against Spring AMQP 2.3.12 snapshots
See gh-28599
3 years ago
Leo Li 508841b444 Replace "e.g." by "for example"
See gh-28583
3 years ago
Stephane Nicoll 07e3c1f565 Upgrade to Reactor 2020.0.13
Closes gh-28514
3 years ago
Stephane Nicoll e5b168a227 Upgrade to Reactor 2020.0.13
Closes gh-28505
3 years ago
Stephane Nicoll ab1748f06f Upgrade to Reactor 2020.0.13
Closes gh-28505
3 years ago
Stephane Nicoll c27a77341e Upgrade to Postgresql 42.3.1
Closes gh-28581
3 years ago
Stephane Nicoll 5c86823548 Upgrade to Netty tcNative 2.0.45.Final
Closes gh-28580
3 years ago
Stephane Nicoll ac1f85011b Upgrade to Netty 4.1.70.Final
Closes gh-28579
3 years ago
Stephane Nicoll 5442b36982 Upgrade to Neo4j Java Driver 4.3.5
Closes gh-28578
3 years ago
Stephane Nicoll 653c3424f3 Upgrade to Johnzon 1.2.15
Closes gh-28576
3 years ago
Stephane Nicoll b33a99ce15 Upgrade to HttpClient5 5.1.1
Closes gh-28575
3 years ago
Stephane Nicoll e7e7158ab8 Upgrade to Hibernate 5.6.1.Final
Closes gh-28574
3 years ago
Stephane Nicoll 179b9136ad Upgrade to Gson 2.8.9
Closes gh-28573
3 years ago
Stephane Nicoll 629e1d3ac5 Upgrade to Flyway 8.0.3
Closes gh-28572
3 years ago
Stephane Nicoll bbb9a0df12 Upgrade to Byte Buddy 1.11.22
Closes gh-28571
3 years ago
Stephane Nicoll 4a88a5fb07 Upgrade to Awaitility 4.1.1
Closes gh-28570
3 years ago
Stephane Nicoll 21c5f46182 Upgrade to AppEngine SDK 1.9.92
Closes gh-28569
3 years ago
Jay Bryant 3422b1f38b Replace "refer to" with "see"
Update documentation to replace "refer to" with "see" and to drop
"please" when it is present.

See gh-28537
3 years ago
Jay Bryant 9f2c8f65ee Replace "check out" with more formal language
Update documentation to use more formal language rather than
"check out".

See gh-28503
3 years ago
Phillip Webb c7e61e448e Polish "Remove 'etc' in reference documentation"
See gh-28497
3 years ago
Jay Bryant 0d025b672e Remove 'etc' in reference documentation
Update the reference documentation to replace 'etc' with 'other'.

See gh-28497
3 years ago
Phillip Webb d8629fc63d Merge branch '2.5.x' 3 years ago
Phillip Webb ddd38a7ac3 Merge branch '2.4.x' into 2.5.x 3 years ago
Phillip Webb 75bf430eb1 Polish ImportsContextCustomizerTests
Update the test classes to include an `@Import` annotation. Without this
the tests would not fail even if the filter is missing.
3 years ago
Phillip Webb 0a6991e744 Merge branch '2.5.x'
Closes gh-28566
3 years ago
Phillip Webb 6406ee5609 Merge branch '2.4.x' into 2.5.x
Closes gh-28565
3 years ago
Phillip Webb 8a14e1e2e9 Polish 'Ignore JUnit annotations when caching test contexts'
See gh-28563
3 years ago
Loïc Ledoyen 23876d8a32 Ignore JUnit annotations when caching test contexts
Update `ImportsContextCustomizer` to ignore JUnit annotations.

See gh-28563
3 years ago
Stephane Nicoll 59151616eb Switch bomr policy to same-minor-version 3 years ago
Stephane Nicoll f37406f7b1 Upgrade to Netty tcNative 2.0.45.Final
Closes gh-28561
3 years ago
Stephane Nicoll 4c8dbd7469 Upgrade to Netty 4.1.70.Final
Closes gh-28560
3 years ago
Stephane Nicoll 92193caff6 Upgrade to Johnzon 1.2.15
Closes gh-28559
3 years ago
Stephane Nicoll 019971f375 Upgrade to Hazelcast 4.1.6
Closes gh-28558
3 years ago
Stephane Nicoll 388f8a33a5 Upgrade to Gson 2.8.9
Closes gh-28557
3 years ago
Stephane Nicoll c8a1734e0f Upgrade to AppEngine SDK 1.9.92
Closes gh-28556
3 years ago
Stephane Nicoll e802d6b102 Upgrade to Netty tcNative 2.0.45.Final
Closes gh-28555
3 years ago
Stephane Nicoll c14b07717c Upgrade to Netty 4.1.70.Final
Closes gh-28554
3 years ago
Stephane Nicoll e06bb693f8 Upgrade to Johnzon 1.2.15
Closes gh-28553
3 years ago
Stephane Nicoll 2584463fed Upgrade to Gson 2.8.9
Closes gh-28552
3 years ago
Stephane Nicoll c5830b083c Upgrade to AppEngine SDK 1.9.92
Closes gh-28551
3 years ago
Stephane Nicoll 98d3e99ac9 Merge branch '2.5.x'
Closes gh-28550
3 years ago
Stephane Nicoll 91f7ff3ba3 Merge branch '2.4.x' into 2.5.x
Closes gh-28549
3 years ago
Stephane Nicoll 188278ae4a Polish "Fix typo"
See gh-28548
3 years ago
slowjoe007 5a121197fc Fix typo
See gh-28548
3 years ago
Stephane Nicoll c05223d9c8 Merge branch '2.5.x'
Closes gh-28545
3 years ago
Stephane Nicoll 4304eea319 Polish contribution
See gh-28531
3 years ago
dreis2211 7d594aa301 Avoid duplicate AOP proxy class definition with FilteredClassLoader
See gh-28531
3 years ago
Stephane Nicoll bf88405121 Flag BeanDefinitionRegistryPostProcessor beans with role infrastructure
Closes gh-28540
3 years ago
Stephane Nicoll 11a5055b8f Merge branch '2.5.x' 3 years ago
Stephane Nicoll cd5508a679 Polish 3 years ago
Stephane Nicoll 86bb8de815 Start building against Spring Batch 4.3.4 snapshots
See gh-28261
3 years ago
Stephane Nicoll 1c68a3460d Start building against Spring Session 2021.1.0 snapshots
See gh-28522
3 years ago
Stephane Nicoll 1ae4691a98 Start building against Spring Integration 5.5.6 snapshots
See gh-28521
3 years ago