Repository navigation
build: update the 2.0.0 release prep - #191
Merged
Merged
Conversation
The release commit moves to the head of dev, which now includes the move to Spring Boot 4 (#185). Its own changes to the release and upgrade notes stay; this adds the update to the "Release preparation" bullet and says when the deprecated /v2/api-docs alias goes away: in the next minor or major release (#188), in the notes, the upgrade notes, the API docs and the alias controller's Javadoc. The version (2.0.0) and date-released (2026-11-16) in CITATION.cff, the pom.xml version and service-info.yaml are unchanged. Closes #190 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideAPIDocument in the alias controller’s Javadoc that
DocumentationUpdate API and upgrade documentation to state when the deprecated
Update the 2.0.0 release notes with the alias removal timeline and the latest release-preparation references.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #191 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 53 53
Lines 2260 2260
Branches 255 255
=========================================
Hits 2260 2260 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
springdoc takes the server URL of the API description from the request. Springfox read X-Forwarded-Host itself; now only Spring Boot's forwarded-headers support does, which Spring Boot turns on by itself in Kubernetes only. Tell deployments behind a reverse proxy elsewhere to set SERVER_FORWARD_HEADERS_STRATEGY. Found in the pre-release review of 9007fe8..dev. Co-Authored-By: Claude Opus 5.5 <[email protected]>
uniqueg
marked this pull request as ready for review
November 16, 2026 00:45
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the 2.0.0 release prep (#156, #155, merged as 9007fe8) for the new release commit:
devnow also has #185 (Spring Boot 4), which goes into 2.0.0. #185 already added its own bullets todocs/releases/2.0.0.mdand its items todocs/upgrading.md. This PR:#156, #155, #190, #191);/v2/api-docsalias goes away (the next minor or major release, build: remove the /v2/api-docs alias #188) in the release notes, the upgrade notes,docs/api.mdand the Javadoc ofApiDocsAliasController;X-Forwarded-Hostitself. Outside Kubernetes, behind a reverse proxy, deployments setSERVER_FORWARD_HEADERS_STRATEGY(finding of the range review).Unchanged and still correct for
Prepare release:pom.xml2.0.0,CITATION.cffversion: "2.0.0"anddate-released: "2026-11-16"(planned tag day),service-info.yaml2.0.0.Light lane: docs and one Javadoc comment only. The pre-release review of the new release range (9007fe8..dev) is reported below.
Closes #190
Verification
./mvnw clean verify(JDK 21.0.13): BUILD SUCCESS, 18561 unit and 121 integration tests pass, "All coverage checks have been met"../mvnw spotless:check checkstyle:checkon Java 8, as the CI jobLint: passes.mkdocs build --strict: passes.publish.py check docs/releases/2.0.0.mdofelixir-cloud-aai/.github/actions/publish-releaseat the pinned SHA (the check thatPrepare releaseruns): no findings.CI passed, CodeQL, Codecov patch and project).Pre-release review of 9007fe8..dev
The adversarial and quality reviewers looked at the release range, i.e. #185 only. Everything up to 9007fe8 was reviewed for #155. The adversarial reviewer also ran the built jar under
auth,noauthandauthwith the Swagger UI on, and sent about 40 probes to each. It found no release blocker:/v3/api-docs,.yaml, the/v2/api-docsalias), the Swagger UI's static files when it is on,/and service info are reachable. A trailing slash is checked before it is stripped:/service-info/and/v2/api-docs/need a token. Tokens in the URL, Basic auth and empty Bearer tokens get 401. Path tricks (//,;,%2e%2e) are rejected.auth, as the upgrade notes say.Fixed here:
/v2/api-docsremoval had no tracking; the docs now name build: remove the /v2/api-docs alias #188.The dead property
server.use-forward-headers=trueitself (a no-op since Spring Boot 2.2) is left for a follow-up issue (drafted). It is a configuration change that isn't needed for 2.0.0.The image scan with the now empty
.trivyignore.yamlpasses in CI (Scan image).Code scanning
Open alerts (2026-11-16): category
imageon thedevhead f8eed81 has 25 medium findings and 1 note, and no critical or high ones. The release image scan (fixable critical and high only) would therefore pass. The 426 alerts in categoryrelease-image(commit d432100) come from the weekly scan of the oldlatestimage (1.1, Alpine, OpenJDK 8). They don't affect the release build.Declined review findings
TrailingSlashConfigurationhas no behavioural test": it has two.AuthIT.serviceInfo_withTrailingSlash_needsTokenexpects 401 for/service-info/with service info public.NoAuthIT.trailingSlash_isIgnoredcovers thenoauthprofile. The adversarial probes confirmed both against the running jar./swagger-resourcesunderauth: the adversarial run confirmed the behaviour, and the paths are gone in any case.requiredMode,WRITE_ONLY, schema names) by a test:NoAuthITalready checkswriteOnlyofdocker_login/docker_pass. Anything more belongs with a regeneration, not the release.SpringRunnerdeprecations: tracked in test: move the tests to JUnit 5 #167.Open questions
None.
🤖 Generated with Claude Code