The Spring Blog

Engineering
Releases
News and Events

Spring Session 2.0.0 M4

On behalf of the community I’m pleased to announce the release of Spring Session 2.0.0.M4. This release is focused primarily on refining WebFlux support. The highlights are:

Simplified WebFlux Configuration

Configuring Spring Session for WebFlux is simplified to be:

@Configuration
@EnableSpringWebSession
public class HelloWebfluxSessionConfig {

  @Bean
  public MapReactorSessionRepository reactorSessionRepository() {
    return new MapReactorSessionRepository(new ConcurrentHashMap<>());
  }
}

You can also switch the strategy for resolving session id’s by simply adding a WebSessionIdResolver Bean. For example, to switch from using cookies to resolve the session id to using headers, you can use Spring Framework’s new HeaderWebSessionIdResolver:

@Bean
public HeaderWebSessionIdResolver webSessionIdResolver() {
  return new HeaderWebSessionIdResolver();
}
Read more...

Spring Boot 2.0.0 M4 Available Now

Hot on the heels of the latest Spring Framework 5 release candidate, Spring Boot 2.0 M4 is now available from our milestone repository. This release closes 150 issues and pull requests and is a major step towards 2.0 GA. Thanks to all that contributed!

This milestone provides a host of minor tweaks and enhancements along with three major changes:

For a complete list of changes, and upgrade instructions, see the Spring Boot 2.0.0.M4 Release Notes on the WIKI. We are a bit behind with regards to updating the reference documentation, so please consider using the snapshot version which we’ll continue to update.

Read more...

Security changes in Spring Boot 2.0 M4

Milestone 4 of Spring Boot 2.0 brings important changes to the security auto-configuration provided by Spring Boot.

Problem Statement

Until Spring Boot 1.x, the default auto-configuration secured all of the application endpoints using basic authentication. If actuator was on the classpath, there was a separate security configuration that applied to the actuator endpoints. The way these two auto-configurations would turn on and off was completely independent. Because of this, users wanting to provide custom security found themselves fighting ordering issues with WebSecurityConfigurerAdapters.

Read more...

Spring Cloud Stream Ditmars/1.3 Release Candidate Announcement

We are pleased to announce that the release candidate Spring Cloud Stream Ditmars.RC1 is available for use in the Spring Milestone repository. The release notes include relevant information about version compatibility with Spring Boot, Spring Cloud, Spring AMQP, and Spring for Apache Kafka.

Kafka Streams for Apache Kafka

This release targets the promotion of Kafka Streams for Apache Kafka support as a top-level project in the Apache Kafka binder implementation. With Kafka Streams for Apache Kafka positioned as a first-class citizen, developers can now build Spring Cloud Stream applications by taking advantage of the Kafka Streams API at the binding level, so that it is much simpler to implement real-time data-processing business functions. The developers can focus on the functionality as opposed to the infrastructure and the messaging middleware configuration specifics, which Spring Cloud Stream tackles head-on by addressing it out-of-the-box. In addition to writing standard stream processing applications, Spring Cloud Stream binder for Kafka Streams enables developers to write applications that leverage on the interactive query features of Kafka Streams. Check out the samples for more details.

Read more...

Spring Integration 5.0 Milestone 7 and 4.3.12 Available

On behalf of the Spring Integration team I am pleased to announce that the Milestone 7 for the Spring Integration 5.0 version (5.0.0.M7) is now available.

It is available for download from the Milestone Repository:

repositories {
    maven { url 'http://repo.spring.io/libs-milestone' }
}
compile "org.springframework.integration:spring-integration-core:5.0.0.M7"

21 JIRAs (and some GitHub issues) made into this release, including bug fixes and a number of new features. Some highlights of features in the M7, since the previously announced Milestone 6:

Read more...

Spring For Apache Kafka 2.0 and 1.3 Release Candidates Available

We are pleased to announce the availability of the 2.0.0.RC1 release candidate of the Spring for Apache Kafka 2.0 version.

As discussed in the 1.3.0.M2 announcement, we are concurrently releasing 1.3 with 2.0, where 1.3 contains a subset of the 2.0 features, supporting the Kafka 0.11.x.x client, while still supporting Spring Framework 4.3. As such, the 1.3.0.RC1 release candidate is also available.

They are available for download from the Milestone Repository:

repositories {
    maven { url 'http://repo.spring.io/libs-milestone' }
}
compile "org.springframework.kafka:spring-kafka:2.0.0.RC1"
Read more...

Spring AMQP 2.0 Release Candidate, 1.7.4 and 1.6.11 Are Available

I am pleased to announce that the 2.0.0.RC1 release candidate of Spring AMQP is now available in the Spring milestone repository.

This release adds some minor fixes/improvements since the final milestone Milestone 5.

Thanks to all the community member for their feedback and contributions!

The GA release will follow shortly after the Spring Framework 5.0 GA release in September.

For a complete list of changes in 2.0, see What’s New in the reference manual.

Maintenance releases 1.7.4 and 1.6.11 are also available now.

Read more...

Spring Boot 1.5.7 available now

On behalf of the team, I am pleased to announce that Spring Boot 1.5.7 has been released and is available now from repo.spring.io and Maven Central.

Spring Boot 1.5.7 includes 51 fixes, improvements and dependency updates. Thanks to all that have contributed with issue reports and pull requests.

What’s next?

Spring Framework 5.0 RC4 has just been released and other Spring projects should follow. Spring Boot 2.0 M4 is just around the corner and this will be a nice way to test the last release candidate of Spring Framework before GA. If you want to take an early look at Spring Boot 2, and we’d love to hear your feedback if you do, please go to start.spring.io and select Spring Boot 2.0.0.BUILD-SNAPSHOT.

Read more...

This Week in Spring - September 12th, 2017

Hi Spring fans! This week I’m in Singapore for the amazing YOW! Singapore event and talking to customers.

Also, I’ll be doing a meetup on testing - don’t miss it!

Read more...

Spring Data Ingalls SR7 and Kay RC3 released

On behalf of the Spring Data team, I’d like to announce the availability of Ingalls SR7 and Kay RC3 releases. Ingalls SR7 ships with over 40 issues fixed and Kay RC3 with exactly 90 issues fixed. Both are recommended upgrades for all users. Kay RC3 is the final release candidate before our GA at the end of September, i.e. in case you haven’t already, it’s the perfect time to give the new major version a test run.

For your convenience the service release is going to be picked up in the upcoming Spring Boot 1.5.7 release and Kay RC3 will be part of Spring Boot 2.0 M4.

Read more...