发布

  • [OPIK-6668] [BE] build: upgrade Java 21 -> 25 LTS (#6862)

    frostbyte_neo 发布于 2026-06-11 10:52:41 +00:00

    • [OPIK-6668] [BE] build: upgrade Java 21 -> 25 LTS

    Bump the opik-backend toolchain to the current Java LTS to stay on a
    supported runtime and pick up CLDR/perf/security improvements. No
    functional code changes - source/target plus the matching base images
    and CI setup-java distributions.

    Includes Lombok 1.18.38 -> 1.18.46 (first stable release with full
    JDK 25 annotation-processor support per projectlombok changelog).

    Files:

    • apps/opik-backend/pom.xml: source/target 21 -> 25, lombok 1.18.38 -> 1.18.46
    • apps/opik-backend/Dockerfile: build maven:*-amazoncorretto-21-al2023 ->
      maven:3.9.16-amazoncorretto-25-al2023; runtime amazoncorretto:21.0.11-al2023
      -> amazoncorretto:25.0.3-al2023
    • .github/workflows/backend_tests.yml: java-version 21 -> 25
    • .github/workflows/backend_formatting_check.yml: java-version 21 -> 25
    • .github/workflows/sdks_generate_openapi_spec_and_fern_code.yml: java-version 21 -> 25
    • .java-version: 21 -> 25 (functional - picked up by SDKMAN/IDEs)
    • .github/copilot-instructions.md: docs consistency
    • docs(copilot-instructions): sync backend tech-stack versions to actual

    Bring the Backend (Java) Technology Stack blocks in line with pom.xml
    versions that have drifted since they were last touched.

    • Dropwizard 4.0.14 -> 5.0.0
    • MySQL 9.3.0 -> 9.7.0
    • Spotless 2.46.0 -> 3.5.1
    • OpenTelemetry 2.18.0 -> 2.28.1

    Frontend/Python/TypeScript blocks left untouched - out of scope for
    the Java 25 upgrade PR; can be cleaned up separately.

    • docs(contributing): update Java 21 -> 25 references in self-host and contributing guides
    下载附件