Skip to content

Spring Boot 4.1.0 M2 Release Notes

Stéphane Nicoll edited this page Feb 5, 2026 · 24 revisions

Spring Boot 4.1.0-M2 Release Notes

Upgrading from Spring Boot 4.0

New and Noteworthy

Tip
Check the configuration changelog for a complete overview of the changes in configuration.

Specify the Encoding When Importing Configuration Files

When spring.config.import is used, it’s now possible to specify the encoding. In the past, property files always have been loaded with the ISO-8859-1 encoding (which is still the default). To load them using a different encoding, you can use this syntax:

spring.config.import=classpath:import.properties[encoding=utf-8]

Dependency Upgrades

Spring Boot 4.0.0-M2 moves to new versions of several Spring projects:

Numerous third-party dependencies have also been updated, some of the more noteworthy of which are the following:

Miscellaneous

Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:

  • Customizers for OtlpHttpLogRecordExporterBuilder and OtlpGrpcLogRecordExporterBuilder have been added.

  • Additional mime types that should be compressed when sending HTTP responses can be configured using server.compression.additional-mime-types

  • Kotlin extensions for TestEntityManager have been added.

Deprecations in Spring Boot 4.1.0-M2

Clone this wiki locally