question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to Spring Boot 2.5

See original GitHub issue

Spring 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 into DatastorePageable static methods (#564).

Ref: #471

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
spencergibbcommented, Jun 7, 2021

@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

0reactions
elefeintcommented, Jun 17, 2021

One of the changes will be in Spring Data – crud repositories and the reactive variants added a new deleteAllById() method.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found