The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - October 3rd, 2017 - Spring Framework 5.0 Edition!

Welcome to another installment of This Week in Spring! This last week’s been nuts! So much good stuff on offer. Spring Framework 5.0 is now available! And with Spring Framework 5.0 comes a deluge of releases, all of which you’ll see in this post. Also, this week I - and others from the Pivotal and Spring teams - are at JavaOne and I hope you’ll come find us and say hi at our booth or the various talks.

Read more...

Spring Data release train Kay goes GA

On behalf of the Spring Data engineering team I am happy to announce the general availability of Spring Data Kay. It’s the first major revision since Spring Data’s inception in 2009 and thus packed with tons of features. Here are the most significant ones:

  • Upgrade to Spring Framework 5.0, Java 8 and JavaEE 7 as baseline
  • Revised repository APIs (better method names, Optional etc.)
  • A revised repository composition model
  • Support for reactive data access for Cassandra, Couchbase, MongoDB and Redis
  • Addition of Spring Data Geode to the release train
  • Use of nullability annotations and advanced runtime checks on those
  • Kotlin support for null-safety and immutable data classes supported through Kotlin constructors
  • General Java 9 compatibility
Read more...

This Week in Spring - September 26th, 2017 (Java 9 Edition)

Hi Spring fans! What a crazy wonderful week it’s been! I’m back in San Francisco talking to customers and local partners about all things Pivotal and, also, just enjoying some fun in the San Francisco Sun while playing with Java 9 . There’s so much to like in this new release and so much to look forward to and, of course, Spring Framework 5 is Java 9 ready out of the box.

Read more...

How to get STS/Eclipse running on macOS High Sierra (10.13)

The new version of macOS called High Sierra (10.13) will soon go GA and we expect many of our STS/Eclipse users and Spring developers will upgrade their machines sooner than later. In case you have your system running with an English locale, you are fine and everything will be good.

If you are running your system with a different language configured, you will see all menu items of Eclipse or STS being disabled after the upgrade to macOS High Sierra.

The good news is: you can quickly get this fixed without waiting for an update of Eclipse or STS. Go into the Eclipse.app or STS.app package, move into the “Contents” folder, and edit the Info.plist file (with a text editor of your choice). Scroll down to the list of locales and remove everything from that list except for the “en” entry. Save the file, exit your text editor, and you are good again.

Read more...

This Week in Spring - September 19th, 2017

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’ve been visiting the Spring and Cloud Foundry teams at Microsoft (this time, in Redmond, WA) and then it’s off to San Francisco, CA and San Antonio, TX to visit some customers. So, with that, let’s get to it!

Read more...

Spring Session MongoDB 2.0.0.M3 released

Dear Spring Community,

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

In this release, several new features have been added to simplify using it with your Spring WebFlux application.

@EnableMongoWebSession
public class SpringWebFluxConfig {

}

All you must do is apply the @EnableMongoWebSession to any of your Spring configuration classes to activate session support with MongoDB. Additionally, you must provide a ReactorMongoOperations Spring bean, but if you’re using Spring Boot’s spring-boot-starter-data-mongodb-reactive starter, this is already provided.

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

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