Commit Graph

7305 Commits (bd1707970a3a71265042500346ed5662c9d1f682)

Author SHA1 Message Date
Andy Wilkinson 89e050d722 Document security risks of DevTools' remote support more clearly
Previously, the security risks and our recommendations on how to
mitigate them were not documented as clearly as they could have been.
This commit makes some changes to try to address this:

1. The security risk is now noted at the beginning of the section
2. The recommendation to use SSL is now documented more prominently
   and an alternative recommendation to only use remote support on
   a trusted network has been added.
3. The example secret has been removed to prevent copy and paste
4. A recommendation to use a secret that is unique and strong has been
   added

Closes gh-18825
5 years ago
dreis2211 689e02923f Remove non-existent FailureAnalyzer from spring.factories
See gh-18864
5 years ago
Stephane Nicoll da24a66ce6 Merge branch '2.1.x'
Closes gh-18875
5 years ago
Stephane Nicoll 5863a75c3c Polish "Document Settings as jooq supported auto-configuration type"
See gh-18870
5 years ago
Jens Teglhus Møller c34516cd9e Document Settings as jooq supported auto-configuration type
See gh-18870
5 years ago
Andy Wilkinson c2e11da5ba Upgrade to Spring Integration 5.2.1.RELEASE
Closes gh-18764
5 years ago
Andy Wilkinson de0e8b87d1 Upgrade to Spring Integration 5.1.9.RELEASE
Closes gh-18763
5 years ago
Andy Wilkinson 4b25339d57 Upgrade to Spring Security 5.1.7.RELEASE
Closes gh-18874
5 years ago
Andy Wilkinson c430035450 Upgrade to Spring Security 5.2.1
Closes gh-18869
5 years ago
Andy Wilkinson afbf256955 Upgrade to Micrometer 1.3.1
Closes gh-18867
5 years ago
Andy Wilkinson 377a8ee7cc Upgrade to Spring Kafka 2.3.2.RELEASE
Closes gh-18766
5 years ago
Andy Wilkinson b772d81f3a Upgrade to Spring AMQP 2.2.1.RELEASE
Closes gh-18762
5 years ago
Andy Wilkinson 8eb2146158 Upgrade to Spring Ws 3.0.8.RELEASE
Closes gh-18866
5 years ago
Andy Wilkinson c5eaf645d5 Upgrade to Spring Kafka 2.2.11.RELEASE
Closes gh-18765
5 years ago
Andy Wilkinson 4ffd44a235 Upgrade to Spring Ws 3.0.8.RELEASE
Closes gh-18865
5 years ago
Andy Wilkinson ea5fa2ccac Upgrade to Slf4j 1.7.29
Closes gh-18863
5 years ago
Andy Wilkinson 6731ad8197 Upgrade to Jooq 3.12.3
Closes gh-18862
5 years ago
Andy Wilkinson 949e3d930f Upgrade to Rxjava2 2.2.14
Closes gh-18861
5 years ago
Andy Wilkinson d75b855852 Upgrade to Spring AMQP 2.12.RELEASE
Closes gh-18761
5 years ago
Andy Wilkinson 1dc2768198 Upgrade to Slf4j 1.7.29
Closes gh-18860
5 years ago
Andy Wilkinson bf63d66131 Upgrade to Rxjava2 2.2.14
Closes gh-18859
5 years ago
Andy Wilkinson 8cdcafa43b Upgrade to Micrometer 1.1.8
Closes gh-18858
5 years ago
Andy Wilkinson 23130e1140 Upgrade to Spring Hateoas 1.0.1.RELEASE
Closes gh-18856
5 years ago
Andy Wilkinson 20ae19f0ba Upgrade to Spring Data Moore-SR1
Closes gh-18744
5 years ago
Andy Wilkinson ae5f2d7725 Do not require aspectjweaver to enable CGLib-based proxies
Previously, AopAutoConfiguration would only enable CGLib-based
proxies if aspectjweaver was on the classpath. The intention was for
CGLib-based proxies to always be used by default so this behaviour
was incorrect.

This commit updates AopAutoConfiguration to force the use of
CGLib-based proxies even in the absence of aspectjweaver.

Closes gh-18523
5 years ago
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
5 years ago
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
5 years ago
Andy Wilkinson 8aaba58cca Upgrade to Spring Data Lovelace-SR12
Closes gh-18743
5 years ago
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
5 years ago
wycm 363399ce4a Add missing reference to HazelcastHealthContributorAutoConfiguration
See gh-18847
5 years ago
Stephane Nicoll b951e70d18 Merge branch '2.1.x'
Closes gh-18850
5 years ago
dreis2211 8955d5c1b5 Test the Gradle Plugin against Gradle 5.6.4
See gh-18845
5 years ago
Stephane Nicoll 733467ebf7 Upgrade to Spring Framework 5.2.1
Closes gh-18733
5 years ago
Stephane Nicoll 986a74f0f4 Upgrade to Spring Framework 5.1.11
Closes gh-18737
5 years ago
Stephane Nicoll 02153f36ed Upgrade to Elasticsearch 6.8.4
Closes gh-18798
5 years ago
Jaeyeon Kim 008a6fa7c1 Add reference to Armeria starter
See gh-18837
5 years ago
Johnny Lim 45d85778b8 Polish
See gh-18838
5 years ago
larrywest 82a41a3ed0 Remove unnecessary log4j exclusion
See gh-18833
5 years ago
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
5 years ago
Stephane Nicoll 2d0a235c52 Add "Deploying to Containers" dedicated section
Closes gh-18818
5 years ago
Stephane Nicoll f56b32b0c9 Upgrade to Neo4j Ogm 3.2.2
Closes gh-18824
5 years ago
Stephane Nicoll 434224aca7 Upgrade to Flyway 6.0.8
Closes gh-18823
5 years ago
Stephane Nicoll b5e08b54ac Upgrade to Lettuce 5.2.1.RELEASE
Closes gh-18822
5 years ago
Stephane Nicoll 99d0002f28 Upgrade to Hazelcast 3.12.4
Closes gh-18821
5 years ago
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
5 years ago
Phillip Webb b3e9a06476 Polish 5 years ago
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
5 years ago
Stephane Nicoll 3236dfd7d9 Upgrade to Jooq 3.12.2
Closes gh-18802
5 years ago
Stephane Nicoll b12acccc96 Upgrade to Hibernate Validator 6.0.18.Final
Closes gh-18801
5 years ago
Stephane Nicoll 906d3a122e Upgrade to Hibernate 5.4.8.Final
Closes gh-18800
5 years ago
Stephane Nicoll 241df7cebe Upgrade to Flyway 6.0.7
Closes gh-18799
5 years ago
Stephane Nicoll 40ee1a7942 Upgrade to Jetty 9.4.22.v20191022
Closes gh-18797
5 years ago
Stephane Nicoll 57dff85a46 Upgrade to Kafka 2.3.1
Closes gh-18796
5 years ago
Stephane Nicoll b7d32ee3f8 Upgrade to Byte Buddy 1.10.2
Closes gh-18795
5 years ago
Stephane Nicoll 83d2ef2c96 Upgrade to Joda Time 2.10.5
Closes gh-18794
5 years ago
Stephane Nicoll 8e66c3baad Upgrade to Dropwizard Metrics 4.1.1
Closes gh-18793
5 years ago
Stephane Nicoll 007b5708be Upgrade to Classmate 1.5.1
Closes gh-18792
5 years ago
Stephane Nicoll 436f03ec17 Upgrade to Neo4j Ogm 3.1.15
Closes gh-18791
5 years ago
Stephane Nicoll a31cda5cde Upgrade to Mimepull 1.9.12
Closes gh-18790
5 years ago
Stephane Nicoll 71d78ec9a3 Upgrade to Hibernate Validator 6.0.18.Final
Closes gh-18789
5 years ago
Stephane Nicoll cd702a59f0 Upgrade to Hibernate 5.3.13.Final
Closes gh-18788
5 years ago
Stephane Nicoll 004fd06e38 Upgrade to Jetty 9.4.22.v20191022
Closes gh-18787
5 years ago
Stephane Nicoll bddb5f3e2c Upgrade to Tomcat 9.0.27
Closes gh-18786
5 years ago
Stephane Nicoll 1ba2a491fe Upgrade to Mysql 8.0.18
Closes gh-18785
5 years ago
Stephane Nicoll a751e6540c Upgrade to Joda Time 2.10.5
Closes gh-18784
5 years ago
Stephane Nicoll dc2b610c44 Upgrade to Undertow 2.0.27.Final
Closes gh-18783
5 years ago
Stephane Nicoll 362c885557 Upgrade to Rxjava2 2.2.13
Closes gh-18782
5 years ago
Stephane Nicoll 1b32436813 Upgrade to Dropwizard Metrics 4.0.7
Closes gh-18781
5 years ago
Stephane Nicoll 4bd980868d Upgrade to Unboundid Ldapsdk 4.0.12
Closes gh-18780
5 years ago
Stephane Nicoll df0c5beb47 Upgrade to Gson 2.8.6
Closes gh-18779
5 years ago
Stephane Nicoll 97d8754730 Upgrade to Jackson 2.9.10.20191020
Closes gh-18778
5 years ago
Stephane Nicoll 2ceffcee14 Start building against Spring Data Moore-SR1 snapshots
See gh-18744
5 years ago
Stephane Nicoll a315d4229d Start building against Spring Data Lovelace-SR12 snapshots
See gh-18743
5 years ago
Stephane Nicoll a83852b7cc Consistently clean actuator endpoint ids
Closes gh-18649
5 years ago
Stephane Nicoll d6d32ec01d Polish 5 years ago
Stephane Nicoll 11e0045ec6 Polish contribution
See gh-18736
5 years ago
mattisonchao f61da8b723 Polish
See gh-18736
5 years ago
Stephane Nicoll 7827d1261e Start building against Spring Kafka 2.3.2 snapshots
See gh-18766
5 years ago
Stephane Nicoll 58e67adf46 Start building against Spring Integration 5.2.1 snapshots
See gh-18764
5 years ago
Stephane Nicoll c86655a24e Start building against Spring AMQP 2.2.1 snapshots
See gh-18762
5 years ago
Stephane Nicoll 217c07a701 Start building against Spring Kafka 2.2.11 snapshots
See gh-18765
5 years ago
Stephane Nicoll 72f63fad5c Start building against Spring Integration 5.1.9 snapshots
See gh-18763
5 years ago
Stephane Nicoll d4c4a4c584 Start building against Spring AMQP 2.1.12 snapshots
See gh-18761
5 years ago
Andy Wilkinson 0b1966d086 Upgrade to Reactor Dysprosium-SR1
Closes gh-18741
5 years ago
Andy Wilkinson b450116cce Upgrade to Reactor Californium-SR13
Closes gh-18739
5 years ago
Stephane Nicoll d7652e8f14 Make sure Reactive health indicators take precedence
This commit restores the highest precedence of reactive
HealthContributor over imperative one. Previously, both would be
registered, leading to duplicate entries in health output.

Closes gh-18748
5 years ago
Stephane Nicoll a664eadb9a Merge branch '2.1.x'
Closes gh-18756
5 years ago
wwjay9 bd77c170f2 Fix OAuth2 Client redirect-uri references
See gh-18752
5 years ago
Cosmin Humeniuc d8d24e75e3 Delete Javadoc references to removed code
See gh-18755
5 years ago
dreis2211 9ece2e277f Remove redundant explicit types
See gh-18754
5 years ago
wonwoo 3369d80f3f Polish OnBeanCondition message
See gh-18727
5 years ago
dreis2211 911b12f28d Fix JsonParser deprecation
See gh-18750
5 years ago
Madhura Bhave 4058f99383 Fix import 5 years ago
Madhura Bhave dec6ee20d4 Fix error message when constructor binding fails to create bean
The configuration property is always cleared before bean instantiation
because the problem with bean instantiation might not necessarily be the
last bound property.

Fixes gh-18704
5 years ago
Andy Wilkinson 533ca0624f Merge branch '2.1.x'
Closes gh-18749
5 years ago
Andy Wilkinson 65ef03a5bf Remove nulls from description for bean defs with no res description
Previously, if a bean definition had no resource description, the
failure analysis description would state that the been had been
defined in null which was of no use to the user.

This commit updates the failure analysis to omit information about
where the bean was definied when the definition has no resource
description.

Fixes gh-18721
5 years ago
Stephane Nicoll 3885c6a448 Start building against Reactor Dysprosium-SR1 snapshots
See gh-18741
5 years ago
Stephane Nicoll 4aa3c8d2fd Upgrade to Netty 4.1.43.Final
Closes gh-18742
5 years ago
Stephane Nicoll 8d4aeb1a55 Start building against Californium-SR13 snapshots
See gh-18739
5 years ago
Stephane Nicoll cff570f65c Upgrade to Netty 4.1.43.Final
Closes gh-18740
5 years ago