Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When 2.7.0 is going to be released? #2785

Closed
bay73 opened this issue Nov 22, 2024 · 9 comments
Closed

When 2.7.0 is going to be released? #2785

bay73 opened this issue Nov 22, 2024 · 9 comments
Labels
question Further information is requested

Comments

@bay73
Copy link

bay73 commented Nov 22, 2024

Describe the bug

Due to #2687 version 2.6.0 is not working with Spring Boot 3.4.0 which is released now.
What is expected release date for the next version of SpingDoc-OpenAPI?

@codesorcery
Copy link

You may use 2.7.0-RC1 released 2 weeks ago. I guess there won't be many changes between this version and the 2.7.0 release.

@petergphillips
Copy link

I think you'll need to include the spring milestone repository in your build.gradle.kts in order to build with 2.7.0-RC1, so

repositories {
  maven("https://repo.spring.io/milestone")
}

This is because 2.7.0-RC1 depends on org.springframework.boot:spring-boot-starter-parent:3.4.0-RC1 which is only available in the spring milestone repository.

@Kagenui-yozuru
Copy link

Spring Boot 3.4.0 has been released and looking forward to the quick release of version 2.7.0

@tleipzig
Copy link

A quick release is very much appreciated!

@codesorcery
Copy link

codesorcery commented Nov 22, 2024

I think you'll need to include the spring milestone repository in your build.gradle.kts in order to build with 2.7.0-RC1, so

repositories {
  maven("https://repo.spring.io/milestone")
}

This is because 2.7.0-RC1 depends on org.springframework.boot:spring-boot-starter-parent:3.4.0-RC1 which is only available in the spring milestone repository.

Only necessary, if you don't have the Spring Boot version managed elsewhere (e.g. Spring Boot parent POM, Spring Boot BOM, other Spring Boot starter libraries included before this). And I don't see a reason why you would be using this library without any of this (and if you are, it makes more sense to explicitly link to org.springframework.boot:spring-boot-starter-parent:3.4.0).

@khaledham10
Copy link

Hi, we are upgrading spring boot to 3.4.0, the /swagger-ui/index.html no longer works with the last version of spring-doc
2.6.0 ..

Any solutions?

Thanks a lot.

@petergphillips
Copy link

as mentioned previously you need to upgrade to 2.7.0-RC1 (as 2.7.0 isn't out yet). So (assuming kotlin build file) replace:

implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.6.0")

with

implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0-RC1")

and also (didn't work for me without this) add in the milestone repository so that it can find the spring boot starter parent

repositories {
  maven("https://repo.spring.io/milestone")
}

@bnasslahsen
Copy link
Collaborator

I'm still amazed that just a day after the Spring Boot release, people are already anticipating version 2.7.0.
Hopefully, it will be available on Maven Central today, in just a few hours!

@bay73
Copy link
Author

bay73 commented Nov 25, 2024

Thank you for a quick reaction.

I'm still amazed that just a day after the Spring Boot release, people are already anticipating version 2.7.0.

Renovate bot are pretty fast - it updated Spring Boot in couple of hours after the release and immediately caught the failure with doc generation. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants