Hi, Spring fans! Welcome to another installment of This Month in Spring! It's time for a great roundup! I write this on the cusp of the inertia and elation of today's Spring for GraphQL 1.0 GA release and Spring Boot 2.7 release! I'm working on a miniseries for Spring Tips introducing Spring for GraphQL and I'm working on a roundup video for Spring Boot 2.7, as well. So be sure to check out the Spring Tips playlist for notifications on when those videos drop hopefully very soon.
What's new in Spring Boot 2.7
Spring Boot 2.7 adds a significant number of new features and improvements. For full upgrade instructions and new and noteworthy features please see the release notes.
The highlights of the 2.7 release include:
- Auto-configuration and metrics for Spring for GraphQL
- New
@DataCoubaseTest
and@DataElasticsearchTest
support - Podman can now be used when building images using Cloud Native Buildpacks
- Support for Cache2k
- Simplified registration of Jackson Mixins
- Web server SSL configuration using PEM-encoded certs
Spring Boot 2.7 moves to new versions of several Spring projects:
We’ve also upgraded to the latest stable releases of other third-party libraries wherever possible. Please see the release notes for details.
There's a whole host of other changes and improvements that are documented in the release notes. You can also find a list of deprecated classes and methods that we plan to remove in the next version.
Additionally, Spring Boot 2.5 has now reached the end of its OSS support period. More information on Spring Boot's support dates can be found here.
Spring for GraphQL 1.0
I've been eagerly awaiting Spring for GraphQL 1.0, which shipped literally hours before the Spring Boot 2.7 release. It's now available in genreally available fashion, ready for you to use. Check it out! This project makes it trivial to build a new GraphQL service and features integration with either reactive or imperative IO style applications, Spring Data, Spring Security, and RSocket, among other things. It's also, as I just mentioned, supported out of the box in Spring Boot 2.7 so go to the Spring Initializr and build a new project and kick the bits now 🙂
This Month's Roundup
It's been a heckuva month since we last spoke, not least of all because of one thign I haven't been able to say in more than two years: I am on the road! When last we talked I think I had probabyl already done the amazing Devnexus show in Atlanta, GA, which was my first in-person show, ever, and now I'm in Barcelona, Spain, for the amazing Spring IO event. Spring IO is the defacto SpringOne for Europe show, at this point, and a ton of us will be there next week. I can't wait to see y'all as we learn, live, and laugh under the Spanish sun. And just last week, I was in London, UK, for the Devoxx UK show, where I was so pleased to be able to do a show and record an episode of the podcast, which just went out today.
- https://spring.io/blog/2022/05/19/spring-boot-2-7-0-available-now
- I wrote an article for InfoQ on Spring Native and Spring Boot – check it out!
- Spring Boot 2.6.8 available now
- Spring Boot 2.5.14 available now
- Spring Security 5.7.1, 5.6.5, 5.5.8 Released
- Spring Security 6.0.0-M5 available now
- CVE-2022-22976: BCrypt skips salt rounds for work factor of 31
- I loved this: new, declarative interfaces for consuming HTTP services in Spring Framework 6
- A Bootiful Podcast: Devoxx UK organizer and VoxxedDays cofounder Mark Hazell on running great conferences
- Spring for GraphQL 1.0 Release
- CVE-2022-22975: Authorization Bypass in RegexRequestMatcher
- A Bootiful Podcast: EasyMock contributor, Java Champion, and Java luminary Henri Tremblay
- Example of Spring Cloud Function with AWS Lambda
- I love this – the Activiti 7 developer's guide – showcases some cool patterns and principles for building service-centric workflow solutions with Spring Boot and Activiti
- a handy tip from Maciej Walkowiak on Twitter that Spring Boot 2.7 (due – :checks notes: – this week!) adds native support for Jackson Mixins with
@JsonMixin
annotation - Speed time to developer productivity with v0.12 release of VMware Tanzu Community Edition
- Spring Boot — Serverless AWS Lambda With API Gateway | by Apurv Sheth | May, 2022 | Medium
- Spring Data 2021.2 and 2022.0 M4 released.
- Spring Framework 5.3.20 and 5.2.22 available now
- Spring Framework 6.0.0-M4 available now
- Spring Transaction Debugging in Production with Lightrun
- this article by our own dr. Mark Pollack was written in 1999 and laid the groundwork for what would become EJBDoclet and XDoclet
- ? New in Spring Framework 6: HTTP Interfaces
- Blog: Kubernetes 1.24: Volume Populators Graduate to Beta
- Blog: Kubernetes 1.24: gRPC container probes in beta
- A Bootiful Podcast: Java Champion and Spring Katas legend Chandra Guntur
- Apr 28 – What's New in Spring Cloud Gateway Commercial?
- Blog: Kubernetes 1.24: Volume Expansion Now A Stable Feature
- Blog: Storage Capacity Tracking reaches GA in Kubernetes 1.24
- Build a Goodreads Clone with Spring Boot and Astra DB — Part 1
- How to enable mutual TLS in a Spring Boot Application | by Salar Ahmadi | Mar, 2022 | Medium
- Schedule a task in Spring Boot. Spring Boot is the most popular… | by Aleksandar Grujic | Mar, 2022 | Medium
- RSocket Broker HTTP Bridge 0.3.0 has been released. Check out this SpringOne presentation and an updated sample
- they updated the tutorial showing how to create your first application in IntellIJ IDEA and it's even nicer!
- Last week I talked to fellow Java Champion, Sun veteran, and industry legend Simon Ritter on A Bootiful Podcast: Simon Ritter, Java Champion, and deputy CTO at Azul
- I love this thread from our own Ben Hale on why Loom serves reactive programming but doesn't moot it: "I think this confuses the problems with the Servlet API (connection-per-thread) and the overhead of threads. The fact that Netty can do what it does without Loom (because it serves multiple connections)…
- Ever wanted to rewrite a query in Spring Data JPA?
- Functional Kafka with Spring Cloud – Part 1 – DEV Community
- Functional Kafka with Spring Cloud – Part 2 – DEV Community
- Functional Kafka with Spring Cloud – Part 3 – DEV Community
- Inspired by Spring Cloud AWS, #AssertJ also offers a @gitpod button to spin up a browser-based VSCode or an @intellijidea instance already configured with the AssertJ codebase. We hope this will make contributing a little easier…
- JobRunr 5.0.0 Delivers Improved Framework Support – the new release also includes the Spring Native integration that I helped contribute
- Serverless with Spring. 1. Introduction: In this article, we… | by Apurv Sheth | Mar, 2022 | Medium
- Spring Tools 4.14.1 released
- To simplify contributing to Spring Cloud AWS, we've added the @gitpod button that launches a VSCode based @gitpod environment configured to work with Java and Spring.
- Ready? Microsoft JDConf – Java dev conference is happening May 4/5! Virtual, free, and open to all. An amazing lineup of speakers and topics from around the world. Mark your calendars. – I'll be speaking there, too!
- Blog: Dockershim: The Historical Context
- A Bootiful Podcast: Spring Cloud legend Glenn Renfro about batch processing, tasks, stream processing, data flow, and t-shirts
- Add Prefix to All Spring Boot Controllers
- CVE report published for Spring Security OAuth
- JobRunr 5.0 is out now and it supports Spring Native!
- GraalVM 22.1: Developer experience improvements, Apple Silicon builds, and more
- I love Spring GraphQL, but its not the only option out there. GraphQL Using Netflix’s DGS Framework & Spring-Boot (Schema-First Approach)
- Kafka With Java, Spring, and Docker — Asynchronous Communication Between Microservices
- Mayunk Jain on Twitter
- Serverless with Spring. 1. Introduction: In this article, we… | by Apurv Sheth | Mar, 2022 | Medium
- Spring Boot 2.5.13 available now
- Spring Boot 2.6.7 available now
- Spring Boot 2.7.0-RC1 is now available
- Spring Boot Tutorial – Nice & Easy
- Spring Session 2021.2.0-RC1, 2021.1.3 and 2021.0.6 released
- Spring Tools 4.14.1 released
- Spring for GraphQL 1.0 RC1 Released
- A Bootiful Podcast: Cloud guru Tiffany Jernigan
- Jacky Chan on Twitter: "My new open source tool httpx, CLI and IDE plugins to test REST API, GraphQL, gRPC, RSocket, Kafka etc services with HTTP DSL https://t.co/jkvJG2syff JetBrains/Neovim plugins are all ready. Support by @java and @graalvm" / Twitter
- Ngrok Spring Boot Starter – Tunneling The Easy Way
- Spring Boot with Drools Engine. In this blog we would see how Spring integrates with Drools Engine. | CodeX
- Spring Data 2021.2.0-RC1, 2021.1.4, and 2021.0.11 released
- Spring Framework 5.3.19 and 5.2.21 available now
- Spring Framework Data Binding Rules Vulnerability (CVE-2022-22968)
- Spring Security 5.6.3 and 5.5.6 available now
- Spring Security 5.7.0-RC1 released
- Build or migrate great applications that deliver great value to your customers. Register now