The Spring Blog

Engineering
Releases
News and Events

SpringOne Platform 2016 Replay: Sneek Peek at Spring Data Cassandra

Recorded at SpringOne Platform 2016.
Speakers: Mark Paluch, John Blum
Slides: http://www.slideshare.net/SpringCentral/sneak-peek-at-spring-data-cassandra

Spring Data Cassandra was a community-maintained module for several years. The Spring Data team promotes the Cassandra module with the Ingalls release train to a core module. Project leads John Blum and Mark Paluch will guide you through the upcoming changes in Spring Data Cassandra and give you an impression what to expect from the upcoming version.

Read more...

Spring Cloud Task 1.1.1.RELEASE is now available

We are pleased to announce that Spring Cloud Task 1.1.1.RELEASE is now available via Github, Pivotal download repository, and Maven Central.

The main driver for this Spring Cloud Task release is to replace the MYISAM engine that is used to create TASK_SEQ table for the MySQL database with the InnoDB engine.

For more information please look at the following Github issue.

What do you think?

We look forward to your feedback on these new features in Github, StackOverflow, or to me directly via Twitter @michaelminella!

Read more...

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

Introducing Kotlin support in Spring Framework 5.0

Following the Kotlin support on start.spring.io we introduced a few months ago, we have continued to work to ensure that Spring and Kotlin play well together. One of the key strengths of Kotlin is that it provides a very good interoperability with libraries written in Java. But there are ways to go even further and allow writing fully idiomatic Kotlin code when developing your next Spring application. In addition to Spring Framework support for Java 8 that Kotlin applications can leverage like functional web or bean registration APIs, there are additional Kotlin dedicated features that should allow you to reach a new level of productivity.

Read more...

This Week in Spring - January 3rd, 2017

Welcome to another installment of This Week in Spring! We’re now squarely in 2017, and 0 as always - there is much to cover!

This is also the first week of the year. I note it with some pride because it also marks the 6th anniversary of the first installment of This Week in Spring, in January 2011, which I’ve since continued every Tuesday without fail come sickness, holiday, travel or otherwise. It’s been a heckuva run and I’m excited to see what will grace This Week in Spring in the next 6+ years! I’m eternally grateful for all the people (from the community and internal to VMWare and now Pivotal) that have contributed to This Week in Spring over the years! For the last 3+ years my friend and Pivotal’s own Pieter Humphrey has been an amazing help in making this happen, so thanks Pieter!

Read more...

SpringOne Platform 2016 Replay: Introduction to Spring Data

Recorded at SpringOne Platform 2016.
Speaker: Greg Turnquist
Slides: http://www.slideshare.net/SpringCentral/introduction-to-spring-data

Are you still writing data queries by hand? Learn how Spring Data gives you the tools to leap over that hurdle and dive into solving problems. Feeling locked into your relational database due to having written gobs of SQL operations? In this live coding session, see how Spring Data provides the means to reduce that risk and give you the means to branch into other data stores. With a couple extra lines of code, you can even have a RESTful interface in no time flat.

Read more...

SpringOne Platform 2016 Replay: Managing secrets at scale

Recorded at SpringOne Platform 2016.
Speaker: Mark Paluch
Slides: http://www.slideshare.net/SpringCentral/managing-secrets-at-scale-64889986

Running multiple instances of microservices, deploying Docker images to Kubernetes is the current trend. But what about security? Are you encrypting passwords? Where do you store the key? How often do you rotate secrets? A modern system requires access to a multitude of secrets: database credentials, API keys for external services, credentials for service-oriented architecture communication and often much more. Traditional, manual patterns cannot keep the security bar high with dynamic deployment scenarios. Secrets should stay secret and not get distributed amongst the landscape. Come to this session to learn how to keep the security bar high while running services that require secrets. You’ll see how to securely share and manage secrets (certificates, passwords, keys) for your services using Vault and how to use it with Spring Boot.

Read more...