The Spring Blog

News and Events

Spring Framework 4.2 goes GA

Dear Spring community,

It’s my pleasure to announce that Spring Framework 4.2 is now generally available from as well as Maven Central! This is a feature release in the 4.x line, compatible with Java 6 and 7 as well as Java 8, with a focus on core refinements and modern web capabilities:

  • 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 binding
  • Data binding and conversion for JSR-354 Money & Currency
  • Integration with Hibernate ORM 5.0 (natively and via JPA)
  • Standards-based bean scripting via JSR-223 (JRuby, JavaScript)
  • JSR-223 based web views (with a focus on JavaScript on Nashorn)
  • Rich support for CORS and declarative HTTP caching
  • First-class support for HTTP Streaming and Server-Sent Events
  • CompletableFuture 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
  • And, as always, many further refinements in the details.

Spring Cloud Connectors 1.2.0 released

I’m pleased to announce the availability of Spring Cloud Connectors 1.2.0.

Applications that use Spring Cloud Connectors, and libraries that extend the core Connectors libraries, should be re-compiled against version 1.2.0. There were no backward-incompatible API changes between version 1.1.1 and 1.2.0, but some internal implementation changes prevent 1.2.0 from being a drop-in replacement for 1.1.1 without re-compiling.

Here’s an overview of what’s new in 1.2.0:

Additional Databases Supported

The Cloud Foundry Connector and Spring Connector now support IBM DB2 and Microsoft SQL Server relational databases.


This Week in Spring - July 28, 2015

Welcome to another installment of This Week in Spring! We’ve got a lot to cover so let’s get to it!


Spring XD 1.2.1 Released

On behalf of the Spring XD team, I am very pleased to announce the general availability of Spring XD 1.2.1!

This release includes bug fixes and some small enhancements:

  • Support for registering custom Kryo Serializers
  • Configuration options to fine tune Kryo performance
  • Update several dependencies to latest versions - Spring Integration, Boot, reactor, Groovy
  • Add jars for Avro and Snappy compression to Sqoop job submission
  • Fix admin UI access when security is enabled
  • Improved pagination for containers and jobs

Spring Data Fowler SR2 released

On behalf of the Spring Data team I’d like to announce the availability of the second service release of Spring Data release train Fowler. The release ships 40 tickets fixed and is a recommended upgrade for all users due to an important bugfix in the support for JTA 1.2’s @Transactional.

Spring Boot users can upgrade to the new version by setting the spring-data-releasetrain.version property in their Maven POMs to Fowler-SR2, Non-Spring Boot users are recommended to use the Spring Data release train BOM as described in our example repository and configure it to the very same version.


Spring Security 3.2.8 Released

I’m pleased to announce the release of Spring Security 3.2.8.RELEASE. This release focusses on fixing major issues. For complete details on the release, refer to the Change Log.

While we will continue to support the 3.2.x line for some time, we encourage everyone to update to 4.x. To make this transition easy, we have a very detailed migration guide complete with sample migrations and a diff. If you have any problems migrating, create a StackOverflow question with the spring-security tag. If you don’t get a response within a reasonable amount of time feel free to ping me at @rob_winch or in the comments below.


Spring Security 4.0.2 Released

I’m pleased to announce the release of Spring Security 4.0.2.RELEASE. This release is the second maintenance release of the 4.0 line and focusses on fixing any major issues that were found in the new release. For complete details on the release, refer to the Change Log.

Along with lots of bug fixes, the highlights of this release include:

Support for Spring Framework 4.2

Spring Framework 4.2 GA is just around the corner. Spring Security 4.0.2 fixes some issues when running with Spring Framework 4.2. We are also rerunning our entire test suite using Spring Framework 4.2.


This Week in Spring - July 21, 2015

Welcome to another installment of This Week in Spring! This week I’m in Denver, CO, at the amazing UberConf conference! As usual, we’ve got a lot to cover so let’s get to it.

  • Spring framework lead Juergen Hoeller just announced Spring framework 4.2 RC3 and a (slightly delayed!) timeline for Spring 4.2 RELEASE: July 30
  • Disid corporation just announced Spring Roo 2.0.0.M1
  • my pal Kenny Bastani gives a very comprehensive look at building microservices with Spring Boot and Spring Cloud. Read this first!
  • the VP of the cloud platform group, James Watters, put out a very nice blog on the cloud-native journey
  • check out Bozhidar Bozhanov’s great post on Tomcat’s connectors.
  • Voxxed did a great interview with Spring Boot and Spring Cloud co-founder Dr. Dave Syer on the power of choice in Spring Cloud
  • Michael Nygard, who wrote one of my favorite books, Release It!, put together a great post on the fear cycle.
  • I loved this keynote from the CF Summit 2015 conference by Andy Zitney of Allstate Infrastructure Services: Developing the Freedom to Disrupt. In it, he walks through Allstate’s need to be able to react, faster, and their embrace of Pivotal Cloud Foundry. It’s only ~20 minutes, so I won’t spoil it.
  • I’m working on a talk and a blog called The Operationalized Application that demonstrates some of the amazing operations-centric features in Spring Boot 1.3 and I wanted to - in advance of the finished blog - share the example. There’s so much good stuff in Spring Boot 1.3, and this example only demonstrates a fraction of it, along with some other existing operations benefits: HATEOAS and the HAL browser; OpenTSDB metrics views, declarative HTTPS; executable .jars; Docker; Spring REST Docs-powered documentation for the Actuator endpoints; the remote shell; Git commit information in the Actuator /info endpoint, and more.
  • Check out this succinct interview with Randy Shoup for a good discussion of the challenges of embracing microservices at scale. Randy draws from his previous experiences at Google and eBay.

Spring Roo 2.0.0.M1 refactors addons, structures for collaboration

On behalf on the Spring Roo team at DISID Corporation, I am pleased to announce that Spring Roo 2.0.0.M1 has been released!

This first release of Spring Roo 2.0 is a large refactoring of Spring Roo project. We have moved Roo to be a smaller and easier to maintain project:

  • The OSGi container has been upgraded to OSGi R5.
  • Spring Roo has defined its runtime. The Roo runtime contains everything that is needed to execute addons and it doesn’t contain any addon. By not containing any addons it is easier to keep the Roo runtime more stable and backward compatible.
  • Today, Spring Roo is centered in Spring technologies - so addons like GWT and JSF have been moved to their own projects in order to be maintained by the Roo community.
  • The user guide has been migrated to ASCIIdoc.