Hi, Spring fans! In this installment I'm joined by my friend, fellow Java Champion, and Developer Advocate at HiveMQ, Mary Grygleski (@mgrygles), and we look at easy Internet of Things (IOT) integration with HiveMQ, Spring Integration MQTT, Spring Boot, and Spring Native
Releases | Eleftheria Stein-Kousathana | February 23, 2022 | ...
On behalf of the team, I’m pleased to announce the release of Spring Session 2021.0.5 and 2021.1.2. These releases deliver bug fixes and dependency upgrades.
For your convenience, Spring Boot will pick up these artifacts with its upcoming releases.
The following modules were updated as part of 2021.0.5:
On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Batch 4.3.5 has been released to Maven Central repository. This patch release comes with a number of bug fixes, enhancements and dependency updates. You can find the complete change logs here: 4.3.5.
I would like to thank all contributors who had a role in this release!
The Spring Data CrudRepository has various methods that return multiple instances of the entity managed by the repository. It does so by using Iterable and not List, as one might expect. In many cases, that is of no consequence, since you typically want to iterate over the result anyway. However, you might occasionally prefer a List. In these cases, Iterable is annoying.
I will write more about why that choice was made in the first place and how you can deal with it as long as you are on Spring Data 2.x. However, let me get the good news out first:
Repositories returning Lists
Spring Data 3.0.0 now offers a ListCrudRepository in the latest snapshot releases, which returns a List where CrudRepository returns an Iterable…
Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you? I'm doing alright, thank you! I'm really excited about this week, too, because it features a ton of cool stuff. Also, it's 22/2/22! And I posted this at 22:22! :D
I worked with the folks behind the Flowable BPMN workflow engine and helped them get their Spring Boot integration working in Spring Native. They wrote about the whole thing in this wonderful blog, Running Flowable with Spring Native
Engineering | Eleftheria Stein-Kousathana | February 21, 2022 | ...
In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter, as we encourage users to move towards a component-based security configuration.
To assist with the transition to this new style of configuration, we have compiled a list of common use-cases and the suggested alternatives going forward.
In the examples below we follow best practice by using the Spring Security lambda DSL and the method HttpSecurity#authorizeHttpRequests to define our authorization rules. If you are new to the lambda DSL you can read about it in this blog post. If you would like to learn more about why we choose to use HttpSecurity#authorizeHttpRequests you can check out the reference documentation…
Releases | Eleftheria Stein-Kousathana | February 21, 2022 | ...
On behalf of the community, I’m pleased to announce the release of Spring Security 5.5.5 (release notes) and Spring Security 5.6.2 (release notes). These releases deliver bug fixes along with some minor improvements. Users are encouraged to update to the latest patch release.
On behalf of the community, I am pleased to announce that the Service Release 1 of the Spring Cloud 2021.0 Release Train is available today. This was primarily a bug fix release. The release can be found in Maven Central. You can check out the 2021.0.1 release notes for more information.
Notable Changes in the 2021.0.1 Release Train
See the project page for all issues included in the release.
Spring Cloud Config
Fix pattern matching bug with JSON, YAML, and properties files (2020)
A new route predicate that checks for allowed values for the X-Forwarded-For header, similar to the RemoteAddr predicate. (783)
Allows setting of the order of the Gateway HandlerMapping. By default, the Gateway HandlerMapping has precedence, but it can be changed if require. (2469)
On behalf of the team, I’m pleased to announce Spring Data service releases 2021.1.2 and 2020.0.9.
Both releases ship with mostly bug fixes and dependency upgrades.
For your convenience, Spring Boot 2.6.4 respective 2.5.10 are going to pick up these releases in the upcoming days.
Along with the service releases, we released the next milestone 2021.2.0-M3 of the 2021.2 release train. We have summarized the new and noteworthy changes in our release notes.
To round things off, here are the links to the individual modules, changelogs, and documentation: