The Spring Blog

Engineering
Releases
News and Events

Spring Boot 1.5.0 RC1 Available Now

Spring Boot v1.5.0.RC1 is available now from the Spring milestone repository. This release closes over 220 issues and pull requests! Thanks to everyone that has contributed!

Highlights of the new release include:

  • Out of the box security for actuators
  • Auto-configured @IntegrationComponentScan
  • Auto-detection of spring.jpa.database
  • Support for Apache Kafka
  • Support for Cloud Foundry and actuator integration
  • Support for embedded in-memory LDAP server and auto-configuration for any compliant LDAP server
  • Upgrades to Spring Data Ingalls, Jetty 9.4, JooQ 3.9, AssertJ 2.6.0, Hikari 2.5 and Neo4J 2.1 and more
  • Upgrades to several Maven plugins
Read more...

Spring Integration 5.0 Milestone 2 Available

On behalf of the Spring Integration team I’d like to announce the Second Milestone of Spring Integration 5.0, which is available in the Milestone Repository.

Some highlights of this release since the previous Milestone.

Of course, first of all, big thanks to you, the community, for your contributions!

MongoDb Improvements

  • MongoDbOutboundGateway - for performing queries or any arbitrary operation on the collection

  • An initial Java DSL support for MongoDB components

  • The MongoDb component now can use org.springframework.data.mongodb.core.query.Query API in their expressions

@Bean
public IntegrationFlow mongoDbGatewayFlow() {
    return f -> f
        .handle(MongoDb.outboundGateway(this.mongoTemplate)
                            .collectionCallback(MongoCollection::count)
                            .collectionNameFunction(m ->
                                           m.getHeaders().get("collection")));
}
Read more...

Spring Batch 4.0.0.M1 is now available

We are pleased to announce that Spring Batch 4.0.0.M1 is now available via Github and the Pivotal download repository. This release represents the first milestone for the Spring Batch 4.0 release. Many thanks to all of those who contributed to this release.

What’s new?

We have taken this opportunity to look at Spring Batch from a new light in a few areas. Specifically:
* Java baseline
* Dependency baseline
* Java configuration

Java Baseline

Spring Batch has historically followed the baseline of Spring Framework with the intent of providing the best interoperability between Spring Batch and Spring Framework versions as possible. Spring Batch 4.0 is taking this opportunity to upgrade to Spring Framework 5 as the minimum required version. With this, Java 8 will be required for Spring Batch 4. If you’ve been using Spring Batch with Java 8 already, this should be a pretty transparent as Spring Batch has had a solid Java 8 story for years now. Doing things like the following has been supported as long as Java 8 has been around:

Read more...

Spring IO Platform Athens-SR2

I am pleased to announce that Spring IO Platform Athens-SR2 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 AMQP 1.6.6.RELEASE
  • Spring Boot 1.4.3.RELEASE
  • Spring Data Hopper SR6
  • Spring Framework 4.3.5.RELEASE
  • Spring Integration 4.3.6.RELEASE
  • Spring Retry 1.1.5.RELEASE
  • Spring Security 4.1.4.RELEASE

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

Project Page | GitHub | Issues | Documentation

Read more...

Spring Framework 5.0 M4 released

Dear Spring community,

It is my pleasure to announce that the fourth Spring Framework 5.0 milestone is available now, right in time to wrap up 2016! Once again, please check the project page for how to obtain it from our milestone repository and the updated “Reactive Web Applications” documentation.

This milestone brings our reactive efforts close to completion and introduces a functional bean registration facility as well as comprehensive support for the Kotlin language. Stay tuned for a dedicated blog post on Kotlin…

Read more...

Spring AMQP 1.7 RC1 available now

On behalf of the Spring Integration team I’d like to announce the first (and final) Release Candidate of Spring AMQP 1.7, which is available in the Milestone Repository.

This release is mainly an intermediate between version 1.6.x and 2.0 for Spring Boot 1.5 and IO Platform Brussels compatibility.

Anyway there are several improvements and new features to explain here:

  • Upgrade to Amqp Client 4.0 with appropriate RabbitConnectionFactoryBean changes

  • Upgrade to Log4j 2.7 and required braking change fix for the log4j2.AmqpAppender

  • Upgrade to Spring Retry 1.2 with important StatefulRetryOperationsInterceptor.setUseRawKey(true) for backward compatibility

  • a new spring-rabbit-junit artifact is provided with several utilities (like BrokerRunning @Rule) which can be useful for testing Spring AMQP applications

  • The SimpleMessageListenerContainer can now be started without queues to listen to at all. They can be provided later at runtime via addQueues()

  • a ConnectionNameStrategy is provided for the ConnectionFactory to allow to identify application connections in the Broker or other monitoring and tracing tools

Read more...

Spring Data Release Train Ingalls RC1 Released

On behalf of the Spring Data team I’d like to announce the first (and final) release candidate of Spring Data train Ingalls. The release ships over 310 issues fixed (some of them previously released with Hopper service releases). The most important new features are:

  • Upgrade to Spring 4.3(.5) as baseline - #294.
  • Support to easily expose domain events as Spring application events from aggregate roots - DATACMNS-928.
  • Support for exists projection from derived query methods - DATACMNS-875.
  • Support for Javaslang’s Option, collection and map types on repository query methods - DATACMNS-937, DATACMNS-940.
  • Added Spring Data LDAP module taking over the repository implementation of Spring LDAP.
  • Support for MongoDB aggregation operators added in latest releases - DATAMONGO-1536.
  • Stream execution now rejects invocation without surrounding transaction in JPA - DATAJPA-1023.
  • Support for annotation based indexing and expirations in Gemfire - SGF-106, SGF-516.
  • Support for CORS configuration in Spring Data REST - DATAREST-573.
Read more...

Spring Boot 1.4.3 Available Now

It is my pleasure to announce that Spring Boot 1.4.3 has been released and is available now from repo.spring.io and Maven Central.

Spring Boot 1.4.3 includes over 70 fixes, improvements and 3rd party dependency updates! Thanks to all that have contributed!

If you’re interested in helping out, check out the “ideal for contribution” tag in the issue repository. If you have general questions, please ask at stackoverflow.com using the spring-boot tag.

Project Page | GitHub | Issues | Documentation

Read more...

CVE-2016-9879: Spring Security 3.2.10, 4.1.4, 4.2.1 Released

On behalf of the community, I’m pleased to announce the release of Spring Security 3.2.10, 4.1.4, and 4.2.1 which fix CVE-2016-9879. Users are encouraged to update immediately.

It is important to note that Spring Framework 3.2.x has reached EOL. As with Spring Framework, we expect all users to upgrade to 4.2.1+ for further support. Detailed instructions (including samples) on migrating both XML and Java Config based projects can be found in the reference appendix

Read more...

Spring LDAP 2.2.1 & 2.3 RC1 Released

On behalf of the community, I’m pleased to announce the release of Spring LDAP 2.2.1 and 2.3 RC1.

A special thanks to Mark Paluch for getting spring-data-ldap aligned on the Spring Data side!

Spring LDAP 2.3 RC1

This release brings in a new era for Spring Data compatibility. Integration for Spring LDAP and Spring Data has been moved to spring-data-ldap so that it can partake in the Spring Data release train and ensure compatibility with the latest and greatest Spring Data code base. For additional details refer to the changelog

Read more...