The Spring Blog

Engineering
Releases
News and Events

Spring Cloud Contract 1.0.0.RELEASE is available

On behalf of the team, I am happy to announce the general availability of the Spring Cloud Contract in version 1.0.0.RELEASE. You can download it from Spring Release or Maven Central. The reference documentation is available here. The release notes are available here.

What is Spring Cloud Contract for? What you always need is confidence in pushing new features into a new application or service in a distributed system. Spring Cloud Contract project provides support for Consumer Driven Contracts and service schemas in Spring applications, covering a range of options for writing tests, publishing them as assets, asserting that a contract is kept by producers and consumers, for HTTP and message-based interactions.

Read more...

Spring Security 4.2 M1

On behalf of the community, I am pleased to announce the release of Spring Security 4.2.0.M1.

What’s New in Spring Security 4.2

You can find highlights of what’s new in the What’s New in Spring Security 4.2 section of the reference. This release closes out 50+ issues which can be found in the changelog.

Contributions

Without the community we couldn’t be the successful project we are today. I’d like to thank everyone that created issues & provided feedback.

Feedback Please

If you have feedback on this release, I encourage you to reach out via StackOverflow, GitHub Issues, or via the comments section. You can also ping me @rob_winch or Joe @joe_grandja on Twitter.

Read more...

Spring Cloud Stream Brooklyn.RELEASE is available

On behalf of the team, I am happy to announce the general availability of the Spring Cloud Stream Brooklyn release train. Spring Cloud Stream Brooklyn.RELEASE is available for use in the Spring Release repository and in Maven Central. A detailed description of the features and new capabilities as discussed below can be found in the reference documentation. The release notes are available here and include important information on the migration path.

At a high level, Brooklyn.RELEASE introduces the following new features:

Read more...

Spring Cloud Data Flow for Apache YARN 1.0.2 released

We are pleased to announce the release of Spring Cloud Data Flow for Apache YARN 1.0.2.RELEASE.

Spring Cloud Data Flow for Apache YARN provides support for orchestrating long-running (streaming) and short-lived (task/batch) data microservices on Apache YARN.

Apart from usual minor fixes, we have worked on the following themes.

  • Builds upon Spring Cloud Data Flow’s 1.0.1.RELEASE
  • Support for Apache Ambari 2.4
  • Adds Apache Ambari installation of Spring Cloud Data Flow for HDP 2.5 stack
  • UX improvements around Apache Ambari configuration settings and quicklinks
  • Adds support to interact with kerberized Apache Kafka cluster
  • Yarn deployer APIs and the auto-configuration improvements
  • Certification of partitioned batch-jobs running as short-lived Tasks in YARN
  • Improved documentation
Read more...

Spring IO Platform Athens-RELEASE

I am pleased to announce that Spring IO Platform Athens-RELEASE is now available from both repo.spring.io and Maven Central.

This release adopts a new alphabetical versioning scheme similar to those already used by Spring Cloud and Spring Data. The theme for the Platform’s versions is world cities.

The Athens release upgrades the versions of several projects:

  • Spring AMQP 1.6
  • Spring Boot 1.4
  • Spring Data Hopper
  • Spring Framework 4.3
  • Spring Integration 4.3
  • Spring LDAP 2.1
  • Spring REST Docs 1.1
  • Spring Security 4.1
  • Spring Session 1.2
  • Spring Web Services 2.3
Read more...

Spring IO Platform 2.0.8.RELEASE

I am pleased to announce that Spring IO Platform 2.0.8.RELEASE is now available from both repo.spring.io and Maven Central.

This maintenance release upgrades the versions of a number of the projects in the Platform:

  • Spring Boot 1.3.8.RELEASE
  • Spring Framework 4.2.8.RELEASE
  • Spring Data Gosling SR5
  • Spring Security JWT 1.0.5.RELEASE
  • Spring Security OAuth 2.0.11.RELEASE

The versions of a number of third-party dependencies have also been updated.

Project Page | GitHub | Issues | Documentation

Read more...

New in Spring 5: Functional Web Framework

As mentioned yesterday in Juergen’s blog post, the second milestone of Spring Framework 5.0 introduced a new functional web framework. In this post, I will give more information about the framework.

Keep in mind the functional web framework is built on the same reactive foundation that we provided in M1 and on which we also support annotation-based (i.e. @Controller, @RequestMapping) request handling, see the M1 blog post for more on that.

Example

We start with some excerpts from our sample application. Below is a reactive repository that exposes Person objects. It is quite similar to a traditional, non-reactive repository, except that it returns Flux<Person> where you would return a List<Person> traditionally, and Mono<Person> where you would return a Person. Mono<Void> is used as a completion signal: to indicate when the save has been completed. For more information on these Reactor types, refer to Dave’s blog post.

Read more...

Spring Framework 5.0 M2 released

Dear Spring community,

It is my pleasure to announce that the second Spring Framework 5.0 milestone is available now: Check http://projects.spring.io/spring-framework/ for how to obtain it from our milestone repository, and keep your feedback coming!

This release introduces a functional web endpoint variant, based on the same foundation as our reactive @Controller model (introduced in 5.0 M1). Stay tuned for Arjen’s dedicated blog post, coming up tomorrow! Here’s a teaser…

RouterFunction<String> route =
    route(GET("/hello-world"),
        request -> Response.ok().body(fromObject("Hello World")));
Read more...

Spring Boot 1.4.1 and 1.3.8 Available Now

It is my pleasure to announce that Spring Boot 1.4.1 and 1.3.8 haven been released and are available now from repo.spring.io and Maven Central.

Spring Boot 1.3.8 includes 35 fixes and a selection of improvements and dependency upgrades. The first maintenance release of the 1.4 line contains over 150 fixes, improvements and 3rd party dependency updates! Thanks to all that have contributed!

What’s new?

We snuck in a few major improvements such as a new FailureAnalyzer for NoSuchBeanDefinitionException. If your code expects a bean to be present (typically via auto-configuration), you should now get a nice error message if it isn’t:

Read more...

This Week in Spring - September 20, 2016

Hello world! Since we last talked, I’ve been in multiple cities in China, including Hangzhou, Shanghai, Beijing, Guangzhou, Shenzhen and Hong Kong, talking to customers and community members alike. It’s fascinating to see what our amazing customers in China do with our technologies in the hypercompetitive Chinese market. And, tasty!

Read more...