-
Notifications
You must be signed in to change notification settings - Fork 40.5k
Spring Boot 2.7.0 RC1 Release Notes
The spring-boot:run
and spring-boot:start
goals of the Maven Plugin run your application in a forked processed by default.
It is possible to disable this behavior using the fork
attribute of the plugin.
This attribute is now deprecated with no replacement.
ExitCodeGenerator
s are now ordered based on their Ordered
implementation and @Order
annotation.
The first non-zero exit code that is generated is used.
Metric tag keys that were in camelCase
have been renamed to comply with Micrometer’s recommendation to use all lower-case and a .
separator.
The following metrics and tag keys are affected:
Metric | Old Tag Key | New Tag Key |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
If you need to restore the previous names, define a MeterFilter
bean that implements the map(Id)
method to modify the tag keys.
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
Auto-configuration for Jackson will now scan your application’s packages for classes annotated with @JsonMixin
.
Any class that are found are automatically registered as mixins with the auto-configured ObjectMapper
.
As required by the GraphQL HTTP spec, our GraphQL support selects by default the "application/graphql+json"
media type for all supported transports. "application/json"
is still supported, if explicitly requested by the client.
Spring Boot 2.7.0-M3 moves to new versions of several Spring projects:
-
TBD
Numerous third-party dependencies have also been updated, some of the more noteworthy of which are the following:
-
TBD
Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:
-
Elasticsearch
RestClientBuilder
andRestClient
beans are now auto-configured whenelasticsearch-rest-client
is on the classpath. Ifelasticsearch-rest-high-level-client
is on the classpath, aRestHighLevelClient
bean will also be auto-configured.