The Spring Blog

Engineering
Releases
News and Events

Spring Boot for Apache Geode & Pivotal GemFire 1.2.0.M3 Released

On behalf of the Spring and Apache Geode communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.2.0.M3.

SBDG 1.2.0.M3 continues to be based on the same bits as the 1.2.0.M2 release: primarily:

  • Spring Framework 5.2.0.RC2

  • Spring Boot 2.2.0.M6

  • Spring Data Moore-RC3

  • Spring Session Corn-M4

  • Spring Test for Apache Geode & Pivotal GemFire (STDG) 0.0.8.RELEASE

The SBDG 1.2.0.M3 bits may be acquired from the Spring Milestone Repository as well as Spring Initializer.

Read more...

This Week in Spring - September 24th, 2019

Hi Spring fans! Welcome to another installment of This Week in Spring, a weekly roundup where I get to swim through the great content in the ecosystem and learn things and hopefully share interesting tidbits with you all. I mark my calendar by the number of This Week in Springs, so imagine my elation to realize looking at the calendar that we’re really close to the epic SpringOne Platform 2019! I can’t believe it!

The event takes place soon - October 7–10, 2019 - in Austin, Texas. That’s just around the corner, but I’ve still got a few places to get to. I’m in Madrid, Spain, for the epic CodeMotion Madrid show. Then it’s off to Guadalajara, Mexico for the Java day Mexico show; and then it’s off to Taipei, Taiwan for the JCConf lead by the Taiwan JUG. Then, finally, it’s off to the land of BBQ and Spring, SpringOne Platform! I can’t wait to see you all there.

Read more...

Spring Tools 4.4.0 released

Dear Spring Community,

I am happy to announce the 4.4.0 release of the Spring Tools 4 for Eclipse, Visual Studio Code, and Theia.

Highlights from this release include:

  • (Eclipse) major change: quick text search contributed to the Eclipse platform and ships to millions of Eclipse users now
  • (Eclipse) improvement: updated to Eclipse 2019-09 release
  • (Eclipse) improvement: various improvements to support the dark theme
  • (Eclipse) fixed: deadlock during startuo fixed
  • (Concourse) improvement: updated to latest changes in Concourse YAML elements and attributes
  • various additional bug fixes
Read more...

Spring Session Corn-M4 Released

This post was authored by Vedran Pavić

On behalf of the community I’m pleased to announce the releases of Spring Session Corn-M4. This release is picked up by Spring Boot 2.2.0.M6.

Spring Session Corn-M4

The Corn-M4 release is based on:

  • Spring Session core modules 2.2.0.M4

  • Spring Session Data Geode 2.2.0.M4

  • Spring Session Data MongoDB 2.2.0.RC2

Some of the highlights of Spring Session 2.2.0.M4 are:

  • support for customizing configuration of session repositories using new SessionRepositoryCustomizer/ReactiveSessionRepositoryCustomizer

  • support for configuring transactional behavior for JdbcOperationsSessionRepository

  • support for Spring Security’s AuthenticatedPrincipal in SpringSessionBackedSessionRegistry

Complete details of these releases can be found in the changelog.

Read more...

Spring Batch 4.2.0.RC1 is released!

On behalf of the Spring Batch team, I am pleased to announce the release of Spring Batch 4.2.0.RC1. We have been working on some performance improvements in the core framework, and this post highlights the major changes.

Major Performance Improvements

We have made some performance improvements, including:

Enhanced Step Partitioning

Starting a partitioned step is an area where the framework wasn’t well optimized. In this version, we have dug deep into the partitioning process to figure out the root cause of this performance issue. One of the main steps of the partitioning process is to find the last step execution (to see if the current execution is a restart). We found that looking up the last step execution involved loading all step executions from all job executions for a given job instance in-memory, which is obviously inefficient!

Read more...

This Week in Spring - Sept 17, 2019

Hi, Spring fans! Welcome to another installment of This Week in Spring - and what a week it is! I’m at the epic annual eventapalooza that is Oracle CodeOne (formerly JavaOne). I just finished a talk today on reactive programming and I’ll have another talk on Kotlin on Wednesday. Don’t miss it!

Meanwhile, we’ve got a ton of things to get to this week so let’s get to it!

Read more...

Goodbye http://repo.spring (use https)

In response to our nohttp announcement, Maven Central’s announcement, and JFrog’s announcement, beginning January 15 2020, Spring’s Maven Repository will no longer support HTTP. More concretely, http://repo.spring.io will not respond to requests. Users will need to ensure that they are using https://repo.spring.io

We are not going to redirect from http to https because it perpetuates the vulnerability. When the first request is made over http, a man in the middle (MITM) can prevent the redirect and replace the response with a malicious payload. Users that continue to use http will continue to be vulnerable to MITM attacks.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.1.1.RELEASE & 1.2.0.M2 Available!

On behalf of the Spring and Apache Geode communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.1.1.RELEASE as well as 1.2.0.M2.

Bits for 1.1.1.RELEASE are available in Maven Central.

Bits for the 1.2.0.M2 release are available in the Spring Milestone Repository.

What’s New

SBDG 1.1.1.RELEASE has been upgraded to Spring Boot 2.1.8.RELEASE while SBDG 1.2.0.M2 has been upgraded to Spring Boot 2.2.0.M6.

Additionally, both 1.2.0.M2 and 1.1.1.RELEASE now support running your Spring Boot, Apache Geode ClientCache applications in Pivotal Platform using Pivotal Cloud Cache (PCC) as a specific user.

See Issue-44 for more details.

This is useful if you are deploying Spring Boot applications to Platform using PCC and the app needs read-only access.

In the words of the PCC product director, Pulkit Chandra, "With v1.9.0 we are introducing the concept of "shared service instances", which means an app in Space A can access a Cloud Cache cluster in Space B, but will only be able to "read" the data. This ensures for a healthy pattern of isolation for each domain cluster, where one space has the "read/write" access while others only have "read" access."

This capability and 1.9 are still in development, so this feature is tentatively planned for 1.9. However, in anticipation for this UC in Pivotal Platform, SBDG has you covered.

This feature is not limited to only being used when deploying your Spring Boot apps to Pivotal Platform. SBDG’s support for a specific runtime user works equally well when running your Spring Boot apps off Platform, connected to an externally managed Apache Geode cluster.

See the documentation for more details.

For a complete list of changes in the 1.1.1.RELEASE see the changelog.

For a complete list of changes in the 1.2.0.M2 release, see the changelog.

Read more...