Upgrade to Spring Boot 2.5
See original GitHub issueSpring Boot 2.5 is a major version upgrade, and so cannot be done automatically.
Changes to address for 2.5:
New method in CrudRepository
: deleteAllById()
. Since we support both Spring Boot 2.4 and 2.5, this means we’ll have to omit @Overrides
annotation to maintain ability to compile against 2.4.
- [ x] Implement in
SimpleDatastoreRepository
(#565) - [ x] Implement in
SimpleFirestoreReactiveRepository
(#566) - [ x] Implement in
SimpleSpannerRepository
(#567)
Return types for previous()
and next()
were restricted from generic Pageable
to PageRequest
.
- [ x] Update
DatastorePageable
with the new return types. Slight complication that we pass some non-paged pageables intoDatastorePageable
static methods (#564).
Ref: #471
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Upgrading Spring Boot
Instructions for how to upgrade from earlier versions of Spring Boot are provided ... Upgrading instructions are always the first item in the...
Read more >Upgrade to Spring Boot 2.5 - OpenRewrite
This recipe has no required configuration options and can be activated directly after taking a dependency on org.openrewrite.recipe:rewrite-spring:4.31.0 in ...
Read more >Book's Upgrade: Migrating from Spring Boot 2.4 to 2.5
This chapter describes how to upgrade the book's source code to Spring Boot 2.5.5 and Java 17. No major changes but some parts...
Read more >Spring Boot 2.5 Release Notes - GitHub
With Spring Boot 2.5.1 and above, the new SQL initialization properties support detection of embedded datasources for JDBC and R2DBC. By default ...
Read more >Upgrading Spring Boot 1.5 to 2.5 with Rewrite - YouTube
I had a Java & Spring Boot project that was a few years old that I wanted to modernize, and became aware of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@elefeint the 3.1.x branch will only be 2.5 until 2.6 starts. 2.5 support is on the 3.0 branch but as forwards compatible. So spring cloud 2020.0.3 supports both boot 2.4 and 2.5. Spring cloud 2021.0 will support 2.6
One of the changes will be in Spring Data – crud repositories and the reactive variants added a new
deleteAllById()
method.