Commit Graph

23829 Commits

Author SHA1 Message Date
Andy Wilkinson
07ca7747fa Clarify what an endpoint needs to be auto-configured
Previously, the endpoint tables in the documentation include an
"Enabled by default" column that listed whether or not an endpoint
was enabled by default. This resulted in some confusion as an endpoint
could be listed as being enabled by default but not actually be
enabled as the requirements for it being auto-configured has not been
met.

This commit removes the "Enabled by default" column and replaces it,
where needed, with some extra information in the "Description"
column that describes what is needed for the endpoint to be
auto-configured.

Closes gh-18633
2019-11-04 14:39:45 +00:00
Andy Wilkinson
e26d5d95a8 Do not enable @ConfigurationPropertiesScan be default
In 2.2.0, @ConfigurationPropertiesScan was enabled by default.
Unfortunately, this had the unexpected side-effect of breaking
conditional enablement of a @ConfigurationProperties class via
@EnableConfigurationProperties if the @ConfigurationProperties class
was in a package covered by scanning.

This commit remove @ConfigurationPropertiesScan from
@SpringBootApplication so that it is no longer enabled by default.
2.1.x users who rely upon such conditional enablement of
@ConfigurationProperties classes can now upgrade to 2.2.x without
having to make any changes. Users who do not have such a need and are
in a position to use configuration properties scanning can now opt-in
by adding @ConfigurationPropertiesScan to their main application class
alongside @SpringBootApplication.

Closes gh-18674
2019-11-04 14:09:33 +00:00
Andy Wilkinson
e9f231e8df Merge branch '2.1.x' 2019-11-04 12:32:21 +00:00
Andy Wilkinson
8aaba58cca Upgrade to Spring Data Lovelace-SR12
Closes gh-18743
2019-11-04 12:31:49 +00:00
Andy Wilkinson
9ed4207f0c Make TypeExcludeFilters public so they can be composed with user's own
Previously, all of the type exclude filters in
spring-boot-test-autoconfigure were package-private. This prevent a
user who was creating their own test slice from composing their own
TypeExcludeFilter with one of Boot's.

This commit updates all of the TypeExcludeFilters in the
test-autoconfigure module to make them public. The intention is only
to allow them to be composed with other type exclude filters when
referenced in a @TypeExcludeFilters annotation. Therefore, each
filter class is declared final and their constructors remain
package-private.

Closes gh-18746
2019-11-04 12:12:56 +00:00
Stephane Nicoll
1c25b584bd Merge pull request #18847 from wycm
* pr/18847:
  Add missing reference to HazelcastHealthContributorAutoConfiguration

Closes gh-18847
2019-11-04 10:15:33 +01:00
wycm
363399ce4a Add missing reference to HazelcastHealthContributorAutoConfiguration
See gh-18847
2019-11-04 10:14:54 +01:00
Stephane Nicoll
8e3459fe4f Merge branch '2.1.x'
Closes gh-18851
2019-11-04 10:05:39 +01:00
Stephane Nicoll
cdfefa15da Merge pull request #18848 from dreis2211
* pr/18848:
  Drop JDK 12-based CI

Closes gh-18848
2019-11-04 10:01:01 +01:00
dreis2211
f9cb7c6220 Drop JDK 12-based CI
See gh-18848
2019-11-04 10:00:42 +01:00
Stephane Nicoll
b951e70d18 Merge branch '2.1.x'
Closes gh-18850
2019-11-04 09:57:48 +01:00
Stephane Nicoll
6fbac04ef3 Merge pull request #18845 from dreis2211
* pr/18845:
  Test the Gradle Plugin against Gradle 5.6.4

Closes gh-18845
2019-11-04 09:56:40 +01:00
dreis2211
8955d5c1b5 Test the Gradle Plugin against Gradle 5.6.4
See gh-18845
2019-11-04 09:56:12 +01:00
Stephane Nicoll
733467ebf7 Upgrade to Spring Framework 5.2.1
Closes gh-18733
2019-11-02 11:02:28 +02:00
Stephane Nicoll
fd62c1647e Merge branch '2.1.x' 2019-11-02 11:02:02 +02:00
Stephane Nicoll
986a74f0f4 Upgrade to Spring Framework 5.1.11
Closes gh-18737
2019-11-02 11:01:09 +02:00
Madhura Bhave
2369639b4b Merge branch '2.1.x'
Closes gh-18840
2019-11-01 16:15:42 -07:00
Madhura Bhave
2d604beb47 Migrate release scripts to java
Closes gh-17261
2019-11-01 16:14:28 -07:00
Stephane Nicoll
02153f36ed Upgrade to Elasticsearch 6.8.4
Closes gh-18798
2019-11-01 15:26:47 +02:00
Stephane Nicoll
f1c70622cf Merge pull request #18837 from jaeyeonling
* pr/18837:
  Add reference to Armeria starter

Closes gh-18837
2019-11-01 15:24:45 +02:00
Jaeyeon Kim
008a6fa7c1 Add reference to Armeria starter
See gh-18837
2019-11-01 15:24:18 +02:00
Stephane Nicoll
0d1cfb520c Merge pull request #18838 from izeye
* pr/18838:
  Polish

Closes gh-18838
2019-11-01 09:02:09 +02:00
Johnny Lim
45d85778b8 Polish
See gh-18838
2019-11-01 09:01:24 +02:00
Stephane Nicoll
7d5c468ebb Merge pull request #18833 from larrywest
* pr/18833:
  Remove unnecessary log4j exclusion

Closes gh-18833
2019-11-01 08:59:56 +02:00
larrywest
82a41a3ed0 Remove unnecessary log4j exclusion
See gh-18833
2019-11-01 08:55:55 +02:00
Brian Clozel
b7f59eb7cb Add config property for webflux codec maxInMemorySize
This commit creates a new configuration property
`spring.codec.max-in-memory-size` which configures the maximum
amount of data to be buffered in memory by codecs (both client and
server).

This property has no default value - it will let Spring Framework handle
the default behavior, currently enforcing a 256KB for provided codecs.

Fixes gh-18828
2019-10-31 20:01:43 +01:00
Stephane Nicoll
2d0a235c52 Add "Deploying to Containers" dedicated section
Closes gh-18818
2019-10-31 10:50:12 +01:00
Stephane Nicoll
f56b32b0c9 Upgrade to Neo4j Ogm 3.2.2
Closes gh-18824
2019-10-31 08:12:01 +01:00
Stephane Nicoll
434224aca7 Upgrade to Flyway 6.0.8
Closes gh-18823
2019-10-31 08:12:00 +01:00
Stephane Nicoll
b5e08b54ac Upgrade to Lettuce 5.2.1.RELEASE
Closes gh-18822
2019-10-31 08:11:59 +01:00
Stephane Nicoll
99d0002f28 Upgrade to Hazelcast 3.12.4
Closes gh-18821
2019-10-31 08:11:58 +01:00
Stephane Nicoll
5e1a6b6785 Upgrade Java 13 version in CI image
Closes gh-18820
2019-10-31 08:09:59 +01:00
Phillip Webb
ae5ae72889 Add and adapt reactive health contributors
Update `HealthEndpointConfiguration` to also include adapted reactive
health contributors when project reactor is on the classpath. Prior to
this commit, reactive contributors were only exposed in WebFlux
applications. This was a regression from Spring Boot 2.1 that we didn't
catch because all our own reactive contributors all have non-reactive
equivalents.

Closes gh-18805
2019-10-30 15:12:28 -07:00
Phillip Webb
b3e9a06476 Polish 2019-10-30 15:02:14 -07:00
Stephane Nicoll
7f509bf84e Make sure Web infrastructure uses qualified beans
This commit is a follow-up of a change in Spring Framework[1] to make
sure injection points that are expecting a specific bean by name use
a qualifier.

As a result of this change, MVC uses the dedicated MVC validator again
rather than the general one auto-configured by Spring Boot.

[1] https://github.com/spring-projects/spring-framework/issues/23887

Closes gh-18672
2019-10-30 15:47:02 +01:00
Stephane Nicoll
3236dfd7d9 Upgrade to Jooq 3.12.2
Closes gh-18802
2019-10-29 14:19:46 +01:00
Stephane Nicoll
b12acccc96 Upgrade to Hibernate Validator 6.0.18.Final
Closes gh-18801
2019-10-29 14:19:46 +01:00
Stephane Nicoll
906d3a122e Upgrade to Hibernate 5.4.8.Final
Closes gh-18800
2019-10-29 14:19:46 +01:00
Stephane Nicoll
241df7cebe Upgrade to Flyway 6.0.7
Closes gh-18799
2019-10-29 14:19:46 +01:00
Stephane Nicoll
40ee1a7942 Upgrade to Jetty 9.4.22.v20191022
Closes gh-18797
2019-10-29 14:09:51 +01:00
Stephane Nicoll
57dff85a46 Upgrade to Kafka 2.3.1
Closes gh-18796
2019-10-29 14:09:50 +01:00
Stephane Nicoll
b7d32ee3f8 Upgrade to Byte Buddy 1.10.2
Closes gh-18795
2019-10-29 14:09:49 +01:00
Stephane Nicoll
83d2ef2c96 Upgrade to Joda Time 2.10.5
Closes gh-18794
2019-10-29 14:09:48 +01:00
Stephane Nicoll
8e66c3baad Upgrade to Dropwizard Metrics 4.1.1
Closes gh-18793
2019-10-29 14:09:47 +01:00
Stephane Nicoll
007b5708be Upgrade to Classmate 1.5.1
Closes gh-18792
2019-10-29 14:09:45 +01:00
Stephane Nicoll
3fcd594149 Merge branch '2.1.x' 2019-10-29 14:01:54 +01:00
Stephane Nicoll
436f03ec17 Upgrade to Neo4j Ogm 3.1.15
Closes gh-18791
2019-10-29 12:01:47 +01:00
Stephane Nicoll
a31cda5cde Upgrade to Mimepull 1.9.12
Closes gh-18790
2019-10-29 12:01:46 +01:00
Stephane Nicoll
71d78ec9a3 Upgrade to Hibernate Validator 6.0.18.Final
Closes gh-18789
2019-10-29 12:01:45 +01:00
Stephane Nicoll
cd702a59f0 Upgrade to Hibernate 5.3.13.Final
Closes gh-18788
2019-10-29 12:01:44 +01:00