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.

Unable to upgrade to `Spring Boot` version `2.7.x`

See original GitHub issue

Would it be possible to get a new release some time this year? Currently I’m unable to upgrade to Spring Boot version 2.7.x 😬

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:11
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

michael-simonscommented, Nov 29, 2022

I see the following issues

  • The GraphQL library that is referenced by Boot 2.7 is newer than the one supported with the current product. To align both, you’ll have to bump the spqr.version first
  • There are some deprecation warnings, that are easily fixed as far as I can tell

A necessary change is to adapt how the auto configuration is loaded. Spring Boot 2.7 supports the old way (with spring.factories) and the new way (with org.springframework.boot.autoconfigure.AutoConfiguration.imports plus using now @AutoConfiguration, with the latter not allowing to proxy @Bean methods anymore, but you are doing that anyway).

I’ll send a PR in a sec addressing these things. Feel free to edit whatever you want, especially my changes unrelated to auto config (I don’t have a clue honestly how the SPQR / GraphQL system works, I’m just here with my dear colleague @SaschaPeukert). The remaining changes to auto config are sane and will allow proper usage in at least Boot 2.7 and most likely with Boot 3 (given that the GraphQL version is compatible).

kaqqaocommented, Nov 28, 2022

With GraphQL SPQR v0.12.0 out the door, I will have a look at the state of this project. But, fair warning, there’s a good chance that maintaining it in the current shape in light of the official starter is nonsensical. The easiest way forward may be to build a smaller extension on top of the official starter. But that’s currently just a theory. Either way, it will take time to explore the options and see what to do,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade to Java Spring Boot Version 2.7.x on BTP - SAP Blogs
In this blog post i would like to share my experience on upgrading Java projects , BTP CAP Java projects migration to Spring...
Read more >
Spring Boot 2.7.0 available now
Dependency upgrades​​ Spring Boot 2.7 moves to new versions of several Spring projects: Spring Data 2021.2. Spring HATEOAS 1.5.
Read more >
Can't update Spring boot to version 2.7.0, maven can't find it
As topic describes, I can't update Spring boot from version 2.6.6 to 2.7.0. It will not find 2.7.0 and I get stuck with...
Read more >
Book's Upgrade: Migrating from Spring Boot 2.6 to 2.7
This is a practical approach to migrating a Spring Boot project from version 2.6 to version 2.7. It uses the codebase from the...
Read more >
Spring Boot 2.7 Release Notes - GitHub
Spring Boot 2.7 has upgraded to H2 2.1.120. H2 2.x is backwards incompatible and fixes a number of security vulnerabilities.
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 Post

No results found

github_iconTop Related Hashnode Post

No results found