Upgrade/spring boot3 jdk25 - #160
Open
GSAlex wants to merge 3 commits into
Open
Conversation
- Spring Boot 2.6.14 → 3.5.11, Java 11 → 25 - javax.persistence/servlet/validation → jakarta.* - Springfox → Springdoc OpenAPI - Custom SQLiteDialect → hibernate-community-dialects - Spring Security 6.x lambda DSL (requestMatchers) - Logback: fix springProfile nesting + %M() pattern - Restore ant_path_matcher for SPA routing - Dockerfiles updated to eclipse-temurin:25 - Lombok 1.18.44, SQLite-JDBC 3.51.3.0
Rename the legacy DocketConfig class to OpenApiConfig after migrating from Springfox to springdoc. The OpenAPI bean behavior remains unchanged.
Permit ASYNC and ERROR dispatcher types in the Spring Security chain so SSE requests are not re-authorized after the response has already been committed. Regular API requests remain protected by the existing /api/** rules.
🤖 Augment PR SummarySummary: Upgrades the Huntly server stack to Spring Boot 3.5.11 and JDK 25, modernizing the framework baseline and aligning the codebase with Jakarta EE APIs. Changes:
Technical Notes: This is a large baseline upgrade; dialect and security matcher behavior changes are the primary areas to re-validate during rollout. 🤖 Was this summary useful? React with 👍 or 👎 |
| .requestMatchers("/api/health").permitAll() | ||
| .requestMatchers("/swagger-ui/**").permitAll() | ||
| .requestMatchers("/v3/api-docs/**").permitAll() | ||
| .requestMatchers("/api/**").authenticated() |
There was a problem hiding this comment.
.anyRequest().permitAll() makes every non-/api/** endpoint publicly accessible; please double-check there aren’t any sensitive or state-changing controllers mounted outside the /api namespace (e.g., management endpoints) that should remain authenticated.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
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.
upgrade to Spring Boot 3.5.11 + JDK 25
Verified the server build, tests, package output, Docker image startup and normal usage.
已验证服务端构建、测试、打包产物以、 Docker 镜像启动及正常使用。