SpringBoot 3.0.3 & Spring Cloud 2021.0.6: Key Fixes, Docs, and Upgrades
This release note details SpringBoot 3.0.3 bug fixes, documentation updates, and dependency upgrades, and introduces Spring Cloud 2021.0.6 with its new features, module improvements, and a concise Maven dependencyManagement snippet, providing developers with a comprehensive overview of the latest stable versions.
🐞 Bug Fixes
Fixed ClassNotFoundException during AOT processing of Logback XML when component class reference variables are defined.
Fixed missing Logback configuration error reporting when running native images.
Removed obsolete spring-ldap-core-tiger from Spring LDAP dependency management.
Fixed Kotlin ConfigurationProperties default value recognition issue with nativeRun.
Corrected Maven plugin PropertiesMergingResourceTransformer closing InputStream improperly.
Resolved Actuator health endpoint failure when using Gson with Java 17.
Added Implementation entry to the manifest of jars built with Gradle.
Ensured @SpyBean resets spies after test execution.
Improved devtools restart speed for Reactive applications.
Fixed slow restart caused by devtools in Reactive apps.
Updated mysql‑connector‑java reference as the original artifact no longer exists.
Completed dependency management for Mongo Java Driver.
Fixed jOOQ DefaultConfiguration not using TransactionProvider.
Registered ObservationFilter bean automatically.
Properties Migrator now detects deprecated Map‑type properties.
Corrected Angus Mail modules using wrong artifact IDs.
Fixed ElasticsearchClientAutoConfiguration overriding the global ObjectMapper.
📔 Documentation
Updated documentation for @ConfigurationProperties bean naming rules.
Added extra configuration details for spring.mvc.throw-exception-if-no-handler-found=true.
Revised custom data‑masking documentation as built‑in key‑based masking is removed.
Added Redis application property examples.
Restored guide for using Jedis instead of Lettuce.
Included missing Actuator section in the overview.
Added Javadoc for OperationParameter.getAnnotation() since version 33919.
🔨 Dependency Upgrades
Byte Buddy 1.12.23
Caffeine 3.1.4
Dropwizard Metrics 4.2.16
Glassfish JAXB 4.0.2
Groovy 4.0.9
Hibernate 6.1.7.Final
Jackson Bom 2.14.2
Jaybird 4.0.9.java11
Jersey 3.1.1
Spring Cloud 2021.0.6
Spring Cloud 2021 is built on Spring Framework 5.x and Spring Boot 2.7, requiring at least Java 8. The most stable version, 2021.0.6, is now available on Maven Central.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>Module Highlights
Spring Cloud Commons : Added utility method for region‑aware load‑balancing based on user‑provided configuration.
Spring Cloud Netflix : Added configurable timeout for instance retrieval.
Spring Cloud Gateway : Fixed memory leak in CacheRequestBodyGatewayFilter.
Spring Cloud Kubernetes : Uses SSL when the secured annotation is true.
Spring Cloud OpenFeign : Allows request timeout configuration for Apache HttpClient.
Spring Cloud Stream : Enhanced custom Routing Functions to avoid creating output bindings and improved bean propagation across parent/child contexts.
Spring Cloud Function : Multiple improvements and bug fixes for AWS Lambda support.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
