Never miss a release that matters
AI-powered summaries of every GitHub release.
AI Summaries
Changelogs condensed into clear, actionable insights.
Always Free
Track up to 5 packages at no cost, forever.
Weekly Digest
A curated summary of every release, delivered weekly.
TL;DR
This release updates core Spring libraries – AMQP, Data, and Integration – improving stability and incorporating the latest features and bug fixes from those projects.
Fixes Worth Knowing
Updated Spring AMQP, Data, and Integration libraries resolve various issues and enhance performance within those specific areas (message queuing, data access, enterprise integration).
Before You Upgrade
Review the release notes for Spring AMQP, Spring Data, and Spring Integration to understand changes impacting your specific use cases.
TL;DR
Spring Boot 4.1.0 improves security and stability with fixes for SSL/TLS configuration, particularly around certificate handling, and adds a public constructor to InvalidConfigurationPropertyValueException for more flexible error handling.
Breaking
SpringJtaPlatformis deprecated. (Transaction management - consider alternative JTA platforms.)
New
- Added a public constructor to
InvalidConfigurationPropertyValueExceptionallowing a cause to be specified. (Exception handling - provides more context for configuration errors.) - Reduced memory consumption of
WritableJson.toByteArray. (JSON processing - improves performance in scenarios with frequent JSON serialization.)
Fixes Worth Knowing
- Resolved multiple issues related to SSL/TLS configuration, including hostname verification, empty SSL bundles, and certificate handling with Reactor Netty and Artemis. (Security - ensures correct SSL/TLS behavior.)
- Fixed issues with CORS configuration and Actuator endpoints. (Application exposure - ensures endpoints are accessible as intended.)
- Corrected problems with Docker Compose and thread interruption handling. (Containerization - improves reliability when using Docker Compose.)
- Fixed issues with property metadata and endpoint reporting. (Development experience - provides more accurate information in development tools.)
Before You Upgrade
- If you are using
SpringJtaPlatform, plan to migrate to an alternative JTA platform.
TL;DR
Spring Boot now supports Elasticsearch via docker.elastic.co/elasticsearch/elasticsearch, adding flexibility for containerized deployments.
New
- Elasticsearch Support: Added support for the official Elasticsearch Docker image.
- Kafka Configuration: New options for controlling KafkaTemplate behavior (
allowNonTransactional,closeTimeout). - Redis Listeners: Support for annotation-driven Redis message listeners has been added.
Fixes Worth Knowing
- Actuator Security: Corrected a security misconfiguration when using
spring-boot-actuator-autoconfigurewithoutspring-boot-health. - Elasticsearch Client: Fixed misconfiguration of the underlying HTTP client in Elasticsearch auto-configuration.
- Symlink Handling: Improved handling of symbolic links for application PID and temporary files.
- RabbitMQ SSL: Consistent application of the
spring.rabbitmq.ssl.verify-hostnameproperty.
TL;DR
Spring Boot now supports Docker’s credential stores and helpers, enhancing security for containerized applications. Numerous dependency upgrades improve stability and bring the latest features from those ecosystems.
Breaking
spring.codecproperties have been renamed tospring.http.codecs.spring.http.clientproperties have been renamed tospring.http.client.settings.spring.mvc.converters.preferred-json-mapperhas been renamed tospring.http.converters.preferred-json-mapper.
New
- Docker Credential Store Support: Enables secure access to Docker registries using established credential management practices.
- OtlpMetricsSender Auto-Configuration: Automatically configures OpenTelemetry Protocol (Otlp) metrics exporting if available, simplifying observability setup.
Fixes Worth Knowing
- Resolved a
StackOverflowErrorwhen logging deeply nested objects using structured logging. - Fixed an issue preventing correct SSL configuration in reactive web applications when using file-based stores.
- Corrected an
NPEin Hikari when building aDataSourcewith an unknown JDBC driver.
Before You Upgrade
- Update your application configuration to reflect the renamed properties:
spring.codec,spring.http.client, andspring.mvc.converters.preferred-json-mapper.
TL;DR
The default container image builder for bootBuildImage and spring-boot:build-image has been updated to Paketo Jammy (container building tool) due to security concerns with the previous builder.
Breaking
- The default container image builder has changed to Paketo Jammy. (Container image creation)
New
None
Fixes Worth Knowing
- Resolved a
NoSuchMethodErrorwhen using Flyway 10.0.0. (Database migration tool) - Corrected behavior for
spring.webflux.multipart.max-disk-usage-per-partwhen values exceed integer limits. (File uploads) - Fixed an issue preventing the mail health indicator from starting when a host isn’t configured. (Application health checks)
Before You Upgrade
- If you explicitly configured the Bionic builder, update your configuration to use Jammy.
TL;DR
Spring Boot 2.0 introduces a major upgrade to Spring Framework 6, requiring Java 17 and offering improved performance and observability features.
Breaking
- Java 8 is no longer supported (minimum Java 17).
- Dependencies have been updated to Spring Framework 6 (major version change).
- Removed support for several deprecated features.
New
- Improved observability with Micrometer Tracing (distributed tracing).
- Native image support via GraalVM (compiles to standalone executables).
Fixes Worth Knowing
- Resolved several issues related to configuration property binding.
- Addressed edge cases in auto-configuration logic.
- Fixed inconsistencies in error handling for web applications.
Before You Upgrade
- Ensure your application is running on Java 17 or later.
- Review your dependencies for compatibility with Spring Framework 6.
TL;DR
Spring Boot now supports Prometheus Exemplars and GraphQL RSocket, enhancing observability and expanding GraphQL capabilities.
Breaking
DatabaseDriver.GAEis deprecated and will be removed in a future release. (Database connection method)Elasticsearch RestHighLevelClientis deprecated; useRestClientBuilderinstead. (Elasticsearch client)- Running applications in the Maven process is deprecated. (Build process)
New
- Prometheus Exemplars: Adds support for linking metrics to traces for improved debugging.
- GraphQL RSocket: Enables RSocket protocol support for GraphQL, allowing for bi-directional communication.
- TLS with PEM: Auto-configuration now supports TLS using PEM files instead of keystores. (Security certificates)
Fixes Worth Knowing
- Fixed
NullPointerExceptionissues inbootBuildInfoand with@ConfigurationPropertiesbeans. (Application startup) - Corrected web environment handling in tests to respect
WebApplicationType.REACTIVE. (Testing) - Resolved issues with DataSource metrics not being auto-configured with lazy initialization. (Monitoring)
Before You Upgrade
- If using Elasticsearch, migrate from
RestHighLevelClienttoRestClientBuilder. - Review and update any code relying on the deprecated
DatabaseDriver.GAE.