Spring IO community has announced its release of Spring Framework 4.2. There is no great or major features added as part of this release. This release is mainly for refining the existing features and minor new features. The following are the list of new features added as part of this release.
In our earlier articles we have written about the Spring 5 and roadmap for the future releases. We can consider that this release will be the final change in the 4.x release cycle.
We have a cover story of Spring 4 and any features released under Spring 4 Tutorials. This would be helpful to understand the road map of Spring 4 related changes.
This post is just a summary of the features introduced in the release. Stay tuned for more details about this release features.
- Annotation detection on Java 8 default methods (e.g. @Bean)
- Annotation-based application events (@EventListener)
- First-class support for annotation attribute aliases (@AliasFor)
- Full nested path processing for direct field bindingData binding and conversion for JSR-354 Money & Currency
- Integration with Hibernate ORM 5.0 (natively and via JPA)
- Rich support for CORS and declarative HTTP caching
- First-class support for HTTP Streaming and Server-Sent EventsCompletableFuture for handler methods and @Async methods
- Support for Jackson’s @JsonView on STOMP endpoint methods
- A STOMP client for use over TCP and WebSocket channels
- MockMvc HtmlUnit integration for easy local testing of web pages
- Integration tests can alternatively be executed with JUnit rules
They are going to release the Spring 4.2 based Spring Boot version. The next feature release of Spring 4.3 will be released on March 2016. These are just incremental features to the Spring 4.x version and there wont be any major / drastic changes to the Spring Framework.
Are you looking for Spring Tutorials, please read our collection of Spring Framework Tutorials.