The Spring Blog

Engineering
Releases
News and Events

First Release Candidate of Spring Data Release Train Gosling Available

On behalf of the Spring Data team, I am pleased to announce the availability of the first and final release candidate of Spring Data release train Gosling. The release ships 121 fixes and enhancements, most notably the following ones:

  • Querydsl integration for Spring MVC and Spring Data REST (see the example for details).
  • Improved compatibility with Spring Framework 4.2 and Spring Boot dev tools.
  • Spring Data JPA now exposes a JpaContext to easily obtain an EntityManager per domain type.
  • RepositoryRestConfigurer for less invasive configuration in Spring Data REST.
  • Spring Data Redis uses Lettuce for maintained by Mark Paluch.
  • Support for ReadPreference in Spring Data MongoDB aggregations.
  • Support for range facets in Spring Data Solr.
  • Dependency upgrades to Spring Framework 4.1.7, Guava 18 and Jackson 2.6.
Read more...

Spring Statemachine 1.0.0.M3 Released

We’re pleased to announce a third milestone release of Spring Statemachine 1.0.0.M3.

A lot has happened since a previous milestone and getting here took a bit more time we originally estimated. Now that we’re here, let’s crack it and see what new features we have in this release.

Beyond usual bug fixes here is a list of main new features:

  • Distributed state machine
  • Persisting state machine context
  • Relax use of enums as states and events
  • Programmatic instantiation of state machines
  • New recipe modules
  • New samples (persist, zookeeper, web)
Read more...

Spring Session 1.0.2 Released

I’m pleased to announce the release of Spring Session 1.0.2.RELEASE. You can find the release in Maven Central.

This release fixes 20+ tickets. The general goal was to close out bugs before we start working on Spring Session 1.1. You can find the highlights below:

Highlights

The highlights of Spring Session 1.0.2 are available below:

  • ERROR dispatch can cause two sessions to be created (#229)
  • CookieHttpSessionStrategy can write the same Session id twice (#251)
  • Updates to previous HttpSession references are not reflected after changeSessionId() invoked (#227)
  • Official support for Spring Framework 4.2 (#120)
  • Our samples remove Embedded Redis (#248)
  • Documentation improvements and fixes
Read more...

Coming up in 2016: Spring Framework 4.3 & 5.0

As a follow-up to the Spring Framework 4.2 GA announcement and also to my earlier post on Spring Framework 5 system requirements, I’d like to take the opportunity to summarize our core framework plans for next year:

Spring Framework 4.3

First up will be Spring Framework 4.3 in Q2 2016, as a final feature release in the 4.x series.
As mentioned, this will still be designed for the general Spring 4 system requirements (Java 6+, Servlet 2.5+) and getting prepared for an extended 4.3.x support life until 2019, in particular for users on JDK 6 and 7 but also for applications deployed to older app servers on JDK 8.

Read more...

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 repo.spring.io 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.
Read more...

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.

Read more...

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!

Read more...

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
Read more...

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.

Read more...