-
Notifications
You must be signed in to change notification settings - Fork 40.7k
Spring Boot 2.1.0 RC1 Release Notes
See instructions in the 2.1.0.M4 release notes for upgrading from v2.1.0.M4 and earlier.
The structure of the spring.security.oauth2.client.registration
has been reworked in a single tree rather than having an authorizationcode
and clientcredentials
sub namespace.
The description of management.metrics.distribution.sla
wrongly described that a all
meter ID could be used to set a SLA for all metrics. This feature couldn’t be implemented properly given that the unit may differ based on the meter type.
Dependency management and auto-configuration for Thymeleaf’s Spring Security Extras module has switched from thymeleaf-extras-springsecurity4
to thymeleaf-extras-springsecurity5
. If you were using the module, you should update your pom.xml
or build.gradle
to depend upon thymeleaf-extras-springsecurity5
.
The Naryana support has been removed in favour of the starter from the Naryana team.
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
The following metrics registries are now auto-configured when on the classpath:
-
AppOptics
-
Humio
-
KariosDB
Additionally, support for Prometheus push gateway has been added.
The following metrics are now available as core metrics when applicable:
-
Jetty server thread pool metrics
-
Server-side Jersey HTTP request metrics
New management.metrics.distribution.maximum-expected-value.*
and management.metrics.distribution.minimum-expected-value.*
properties can be used to control the maximum and minimum expected values on a per-meter basis.
Spring Boot now registers a BeanContainer
implementation that uses the BeanFactory
so that converters and entity listeners can use regular dependency injection.
Resource bundles can be made reloadable by enabling the spring.messages.reloadable
property.
Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:
-
A configuration property,
spring.webflux.hiddenmethod.filter.enable
, can be used to enable or disable theHiddenHttpMethodFilter
when using WebFlux. -
Flyway’s configuration can now be customized programatically using a
FlywayConfigurationCustomizer
bean. -
DevTools now sets
spring.messages.reloadable
totrue
by default. -
When using Neo4J and a Caffeine cache, a
BookmarkManager
will be auto-configured. -
Git and Build info support custom encoding.
-
Customization of InfluxDB’s HTTP client via an
OkHttpClient.Builder
bean has been deprecated. AnInfluxDbOkHttpClientBuilderProvider
bean should be used instead. -
Properties for configuring Cassandra’s retry, reconnection, and load balancing policies have been deprecated. A
ClusterBuilderCustomizer
bean should be used instead.