The Spring Blog

Engineering
Releases
News and Events

Spring Cloud Pipelines 1.0.0.M6 Released

On behalf of the Spring Cloud team it is my pleasure to announce a new milestone release of Spring Cloud Pipelines - 1.0.0.M6.

What’s new?

Pipeline descriptor

Each application can contain a file called pipeline.yml with the following structure:

lowercaseEnvironmentName1:
    services:
        - type: service1Type
          name: service1Name
          coordinates: value
        - type: service2Type
          name: service2Name
          key: value
lowercaseEnvironmentName2:
    services:
        - type: service3Type
          name: service3Name
          coordinates: value
        - type: service4Type
          name: service4Name
          key: value

For a given environment we declare a list of infrastructure services that we want to have deployed. Services have

  • type (example: eureka, mysql, rabbitmq, stubrunner) - this value gets then applied to the deployService Bash function

  • name - name of the service to get deployed

  • coordinates - coordinate that allows you to fetch the binary of the service. Examples: It can be a maven coordinate groupid:artifactid:version, docker image organization/nameOfImage, etc.

  • arbitrary key value pairs - you can customize the services as you wish

The stubrunner type can also have the useClasspath flag turned on to true or false.

Example:

test:
  services:
    - type: rabbitmq
      name: rabbitmq-github-webhook
    - type: mysql
      name: mysql-github-webhook
    - type: eureka
      name: eureka-github-webhook
      coordinates: com.example.eureka:github-eureka:0.0.1.M1
    - type: stubrunner
      name: stubrunner-github-webhook
      coordinates: com.example.eureka:github-analytics-stub-runner-boot-classpath-stubs:0.0.1.M1
      useClasspath: true
stage:
  services:
    - type: rabbitmq
      name: rabbitmq-github
    - type: mysql
      name: mysql-github
    - type: eureka
      name: github-eureka
      coordinates: com.example.eureka:github-eureka:0.0.1.M1

When the deployment to test or deployment to stage occurs, Spring Cloud Pipelines will:

  • for test environment, delete existing services and redeploy the ones from the list

  • for stage environment, if the service is not available it will get deployed. Otherwise nothing will happen

Release Notes

You can click here to see the Release Notes for more information about what’s been done for this milestone.

Read more...

This Week in Spring - August 1st, 2017

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in Nashville, TN, for a meetup presentation on Reactive Spring and then it’s off to Kansas City, KS for a replay of the same talk. Both times I’ll be joined by pal Mark Heckler. If you’re in either of those cities, don’t miss this!

I’m working on the next installments of Spring Tips: what would you like to see covered? Let me know on Twitter on @SpringTipsLive.

This week we have a truly massive good many things to look at so let’s get started!

Read more...

Spring Framework 5 Kotlin APIs, the functional way

Update: see also Spring Framework 5 Kotlin support reference documentation.

Since our original announcement (very well received by the community!) of official Kotlin support in Spring Framework 5, we have continued to work towards even stronger Kotlin support in conjunction with recent refinements in Spring WebFlux.

In order to demonstrate these features, and how they could be used together, I have created a new spring-kotlin-functional demo application which is a standalone Spring WebFlux application, developed in Kotlin, with Mustache template rendering, JSON REST webservices and Server-Sent Events streaming capabilities. Don’t hesitate to send us feedbacks and proposals before Spring Framework 5 release expected in September.

Read more...

Spring Security OAuth 2.2 Released

On behalf of the community, I’m pleased to announce the release of Spring Security OAuth 2.2.0.RELEASE.

The 2.2.0.RELEASE includes the following new features:

  • JwtClaimsSetVerifier that provides the capability of verifying the claim(s) contained in a JWT Claims Set.

  • IssuerClaimVerifier that verifies the Issuer (iss) claim contained in the JWT Claims Set.

  • DelegatingJwtClaimsSetVerifier that simply delegates claims verification to it’s internal list of JwtClaimsSetVerifier(s).

  • ProviderDiscoveryClient that is capable of discovering provider configuration information as defined by the OpenID Connect Discovery 1.0 specification.

  • JwkTokenStore now supports multiple JWK Set URL’s.

  • The ability to supply a custom AccessTokenConverter to JwkTokenStore.

Read more...

Spring Session MongoDB 2.0.0.M2 released

Dear Spring Community,

Spring Session MongoDB 2.0.0.M2 is released. It is based on:

  • Spring Session 2.0.0.M3

  • Spring Data Kay-RC2

  • Reactor Bismuth-M3

  • Spring 5.0.0.RC3

This is the first milestone with Reactor support, making it usable with Spring WebFlux.

In the meantime, you can get the bits today if you visit the project site, get the coordinates, and include the version number in your Spring Boot application.

Read more...

Spring Boot 1.5.6 available now

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

Spring Boot 1.5.6 fixes a problem with Spring Data’s dependency management that was introduced in 1.5.5. Sorry for the inconvenience.

What’s next?

After the recent release of Spring Framework 5.0 RC3 and the flurry of other releases that followed, Spring Boot 2.0 M3 has just been released. 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.M3 or 2.0.0.BUILD-SNAPSHOT.

Read more...

Spring Vault 1.1.0 M1 and 2.0.0 M2 available

On behalf of the community, I would like to announce two new Spring Vault milestones: 1.1.0 M1 and 2.0.0 M2. Release 1.1.0 M1 ships with 24 tickets completed and 2.0.0 M2 with 7 resolved tickets and are available from the milestone repository.

Since the previous releases, these features have made it into the current milestones:

  • Vault login using via AWS IAM

  • Rotation of generic secrets based on their lease duration

  • Introduction of VaultEndpointProvider to configure endpoints dynamically

additionally, 2.0.0 M2 ships with:

Read more...

Spring Session Data Geode/GemFire 2.0.0.M1 now available.

Greetings Spring Community!

It is my pleasure to announce the first milestone release of both Spring Session Data Geode for Apache Geode and Spring Session Session Data GemFire for Pivotal GemFire.

Both artifacts can be downloaded from Spring’s libs-milestone Repository using Maven …​

  <dependency>
    <groupId>org.springframework.session</groupId>
    <artifactId>spring-session-data-geode</artifactId>
    <version>2.0.0.M1</version>
  </dependency>

Or with Gradle…​

  compile 'org.springframework.session:spring-session-data-geode:2.0.0.M1'
Read more...

Spring Batch 4.0.0.M3 is now available

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

What’s new?

This milestone continues the work laid out in the previous 4.0.0 milestones. Specific updates include:

  • Dependency updates
  • Continued java configuration improvements
  • Intial updates to documentation

Dependency updates

As the dependency graph of Spring Boot 2 evolves, we have been updating our dependencies to be in line with them. This includes the updating of Spring Data Kay and Spring Integraiton 5 dependencies as well as removing support for Log4J 1.x in favor of the newer 2.x line.

Read more...

Spring Boot 2.0.0.M3 available now

The third milestone of Spring Boot 2.0 is available now from the Spring milestone repository. This milestone ensures compatibility with Spring Framework 5.0.0.RC3 and contains a number of other dependency upgrades. This release closes over 100 issues and pull requests, thanks to all that contributed!

For a complete list of changes, and upgrade instructions, see the Spring Boot 2.0.0.M3 Release Notes on the WIKI and the updated reference documentation.

If you want to get started and discover the new features, you can easily bootstrap a new project on https://start.spring.io

Read more...