Spring Framework 5.1.13 & Spring Boot 2.2.3: New Features and Bug Fixes Explained

The Spring Framework 5.1.13 release introduces header support in ResponseStatusException, deprecates PathResource, enhances ClientCodecConfigurer, optimizes UriUtils, adds wildcard variable resolution, and fixes ContentDisposition parsing, while Spring Boot 2.2.3 upgrades to Framework 5.2.3 with security patches, new error handling, metric improvements, and numerous bug fixes.

Programmer DD
Programmer DD
Programmer DD
Spring Framework 5.1.13 & Spring Boot 2.2.3: New Features and Bug Fixes Explained

Spring Framework 5.1.13 Released

Update details are as follows:

New Features

Support for multi-value headers in ResponseStatusException (issue #24284).

Deprecation of PathResource used for createRelative path resolution (issue #24217).

Improved configuration API for ClientCodecConfigurer.CustomCodecs (issue #24201).

Optimization of UriUtils.encode…() to avoid unnecessary encoding (issue #24154).

Support for wildcard type variable resolution (issue #24150).

Fix for ContentDisposition parsing of encoded filenames with leading spaces (issue #24148).

Bug Fixes

StringDecoder buffer leak related to maxInMemorySize limit (issue #24346).

Cloned WebClient.Builder instances no longer copy strategies (issue #24330).

Unsafe double-checked locking in SpelExpression#compileExpression (issue #24306).

Ensured CORS handling does not add duplicate Vary headers in async requests (issue #24229).

Escaping of quotes in filenames when charset is unspecified in ContentDisposition.Builder (issue #24224).

Reduced overhead in ClassUtils.getInterfaceMethodIfPossible used by SpEL cache (issue #24209).

Correct handling of multipart writer removal in ClientCodecConfigurer during mutation (issue #24202).

For full release notes see: https://github.com/spring-projects/spring-framework/releases/tag/v5.1.13.RELEASE

Spring Boot 2.2.3 Released

This version upgrades the Spring Framework dependency to 5.2.3, including fixes for CVE-2020-5398 and CVE-2020-5397.

New features:

Avoids 406 response for error pages.

When recording web metrics, trailing slashes are ignored by default.

The release also contains 75 bug fixes, various improvements, and dependency upgrades. Details can be found at:

https://spring.io/blog/2020/01/16/spring-boot-2-2-3-released

https://github.com/spring-projects/spring-boot/releases/tag/v2.2.3.RELEASE

References

https://www.oschina.net/news/112849/spring-framework-5-1-13-released

https://www.oschina.net/news/112862/spring-boot-2-2-3-released

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaBackend DevelopmentSpring BootSpring FrameworkRelease Notes
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.