Skip to content

Commit 4fc08ec

Browse files
committed
Merge develop into main
2 parents be98293 + 3008842 commit 4fc08ec

12 files changed

Lines changed: 77 additions & 40 deletions

File tree

‎.github/workflows/docker-api-publish.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ jobs:
1717
docker-api-publish:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v7
2121

2222
- name: Download build artifacts
23-
uses: actions/download-artifact@v4
23+
uses: actions/download-artifact@v8
2424
with:
2525
name: jar-artifact
2626
path: wise-api/target/
2727

2828
- name: Set up QEMU
29-
uses: docker/setup-qemu-action@v3
29+
uses: docker/setup-qemu-action@v4
3030

3131
- name: Set up Docker Buildx
32-
uses: docker/setup-buildx-action@v3
32+
uses: docker/setup-buildx-action@v4
3333

3434
- name: Log in to DigitalOcean Container Registry
35-
uses: docker/login-action@v3
35+
uses: docker/login-action@v4
3636
with:
3737
registry: registry.digitalocean.com
3838
username: doctl

‎.github/workflows/docker-app-publish.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
runner: ubuntu-24.04-arm
3131
runs-on: ${{ matrix.runner }}
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v7
3434

3535
- name: Download build artifacts
36-
uses: actions/download-artifact@v4
36+
uses: actions/download-artifact@v8
3737
with:
3838
name: jar-artifact
3939
path: wise-api/target/
@@ -44,10 +44,10 @@ jobs:
4444
run: echo "PLATFORM_SLUG=${PLATFORM//\//-}" >> $GITHUB_ENV
4545

4646
- name: Set up Docker Buildx
47-
uses: docker/setup-buildx-action@v3
47+
uses: docker/setup-buildx-action@v4
4848

4949
- name: Log in to Docker Hub
50-
uses: docker/login-action@v3
50+
uses: docker/login-action@v4
5151
with:
5252
username: ${{ secrets.DOCKERHUB_USERNAME }}
5353
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -71,7 +71,7 @@ jobs:
7171
touch "/tmp/digests/${digest#sha256:}"
7272
7373
- name: Upload digest
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@v7
7575
with:
7676
name: digest-app-${{ env.PLATFORM_SLUG }}
7777
path: /tmp/digests/*
@@ -83,17 +83,17 @@ jobs:
8383
runs-on: ubuntu-latest
8484
steps:
8585
- name: Download digests
86-
uses: actions/download-artifact@v4
86+
uses: actions/download-artifact@v8
8787
with:
8888
path: /tmp/digests
8989
pattern: digest-app-*
9090
merge-multiple: true
9191

9292
- name: Set up Docker Buildx
93-
uses: docker/setup-buildx-action@v3
93+
uses: docker/setup-buildx-action@v4
9494

9595
- name: Log in to Docker Hub
96-
uses: docker/login-action@v3
96+
uses: docker/login-action@v4
9797
with:
9898
username: ${{ secrets.DOCKERHUB_USERNAME }}
9999
password: ${{ secrets.DOCKERHUB_TOKEN }}

‎.github/workflows/maven.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
build:
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v7
3131

32-
- name: Set up JDK 24
33-
uses: actions/setup-java@v4
32+
- name: Set up JDK 25
33+
uses: actions/setup-java@v6
3434
with:
35-
java-version: '24'
35+
java-version: '25'
3636
distribution: 'zulu'
3737
cache: 'maven'
3838

@@ -48,7 +48,7 @@ jobs:
4848
fi
4949
5050
- name: Upload build artifacts
51-
uses: actions/upload-artifact@v4
51+
uses: actions/upload-artifact@v7
5252
with:
5353
name: jar-artifact
5454
path: wise-api/target/*.jar
@@ -85,7 +85,7 @@ jobs:
8585
permissions:
8686
contents: write
8787
steps:
88-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v7
8989

9090
- name: Tag API repository with release version
9191
run: |
@@ -95,7 +95,7 @@ jobs:
9595
git push origin ${{ github.event.inputs.tag }}
9696
9797
- name: Checkout frontend repository
98-
uses: actions/checkout@v4
98+
uses: actions/checkout@v7
9999
with:
100100
repository: wisemapping/wisemapping-frontend
101101
ref: ${{ github.event.inputs.frontend_branch || 'main' }}

‎CHANGELOG.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ All notable changes to the Wisemapping Frontend project are documented in this f
77
### 🔧 Backend (wisemapping-open-source)
88

99
#### Security & Privacy
10+
- **CVE-2026-45292 (OpenTelemetry)**: Aligned the whole `io.opentelemetry` family on 1.62.0 via an imported BOM. `opentelemetry-api` and `opentelemetry-extension-trace-propagators` were resolving to 1.55.0 — managed by the Spring Boot parent — which is vulnerable to unbounded memory allocation when parsing oversized W3C baggage headers. The existing version on `opentelemetry-exporter-otlp` alone did not govern the rest of the family
11+
- **CVE-2026-71497 (jsoup)**: Updated jsoup 1.22.2 → 1.23.2. `Cleaner` could emit active markup when a custom `Safelist` permits raw-text elements. The safelist in `MindmapParser.sanitizeHtmlContent` permits no raw-text elements and flattens its result to text, so exposure was low, but the fix is a one-line pin
1012
- **OAuth Token Encryption**: Added encryption for OAuth tokens to prevent token leakage
1113
- **PII Removal from Logs**: Stripped personally identifiable information (email addresses, names) from server logs across the authentication and user management stack
1214
- **Email → User ID in Logs**: Replaced email addresses in log statements with internal user IDs to prevent PII exposure in log aggregation systems
@@ -25,8 +27,10 @@ All notable changes to the Wisemapping Frontend project are documented in this f
2527
- **[#70](https://github.com/wisemapping/wisemapping-open-source/issues/70)**: Fixed the 6.0.8 Docker image failing at startup with `ModuleNotFoundError: No module named 'xmlrpclib'`; the container now uses `tini` as PID 1 with a small shell launcher instead of the broken Alpine supervisor + Python combination, removing Python from the runtime image entirely
2628

2729
#### Maintenance
30+
- **Java 25 (LTS)**: Moved the build and both runtime images from Java 24 to Java 25. Java 24 is a non-LTS release that stopped receiving updates in September 2025 — its `eclipse-temurin:24-jre-alpine` base image had not been rebuilt since August 2025, so neither JVM nor Alpine security patches were reaching the published containers. Building from source now requires JDK 25 or higher
2831
- **ARM64 Docker Images**: Restored multi-architecture publishing — both `wisemapping/wisemapping` and the API image are now built for `linux/amd64` and `linux/arm64`, so 6.x runs natively on Apple Silicon, AWS Graviton and Raspberry Pi again. ARM64 had been dropped when the release pipeline moved to GitHub Actions, leaving 5.x as the last multi-arch release. The full-stack image builds each architecture on a native runner and merges them into a single manifest list; the API image cross-builds both under QEMU
29-
- **Dependency Bump**: Updated backend dependencies to latest stable versions (PostgreSQL JDBC, HSQLDB, Jackson, EHCache, OpenTelemetry exporter, commons-io)
32+
- **Dependency Bump**: Moved every dependency to its latest stable release — Spring Boot 4.0.6 → 4.1.1 (the 4.0 line reaches end of support in December 2026), PostgreSQL JDBC 42.7.13, jsoup 1.23.2, commons-validator 1.11.0, OpenTelemetry 1.65.0 and Jackson 2.22.2. The OpenTelemetry and Jackson families are now governed by imported BOMs rather than single-artifact pins, which is what let their transitive members drift onto older, vulnerable releases
33+
- **Toolchain & Base Images**: MySQL 8.0 → 8.4 LTS in the reference compose (8.0 reached end of life in April 2026), Qodana linter 2025.2 → 2026.2, and every GitHub Action moved to its current major (checkout v7, setup-java v6, upload-artifact v7, download-artifact v8, docker/* v4)
3034
- **Dead Code Removal**: Cleaned up unused code paths and legacy tracking utilities
3135

3236
### 🎨 Frontend (wisemapping-frontend)

‎CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## What this repo is
66

7-
The Spring Boot backend for WiseMapping — a REST API + persistence + auth layer that the separately-versioned frontend (`wisemapping-frontend`) consumes. Single-module Maven project under `wise-api/`. Java 24, Spring Boot 4.0.x, JPA/Hibernate.
7+
The Spring Boot backend for WiseMapping — a REST API + persistence + auth layer that the separately-versioned frontend (`wisemapping-frontend`) consumes. Single-module Maven project under `wise-api/`. Java 25, Spring Boot 4.0.x, JPA/Hibernate.
88

99
The frontend is **not** in this repo. Local dev requires checking out `https://github.com/wisemapping/wisemapping-frontend` separately and pointing it at this API (see README "Option 2").
1010

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The following steps are intended for local development only (not production). Fo
3434

3535
## Prerequisites
3636

37-
* JDK 24 or higher
37+
* JDK 25 or higher
3838
* Maven v3.x or higher ([http://maven.apache.org/])
3939
* Yarn v12 or higher
4040
* Node v24 or higher

‎distribution/api/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:24-jre-alpine
1+
FROM eclipse-temurin:25-jre-alpine
22
LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>"
33

44
# Build argument to optionally download New Relic

‎distribution/app-mysql/docker-compose.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
services:
2525
mysql:
26-
image: mysql:8.0
26+
image: mysql:8.4
2727
container_name: wisemapping-mysql
2828
command: --lower_case_table_names=1 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
2929
environment:

‎distribution/app/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
################################################################################
77
# Stage 1: Build Backend (Spring Boot API)
88
################################################################################
9-
FROM eclipse-temurin:24-jdk-alpine AS backend-builder
9+
FROM eclipse-temurin:25-jdk-alpine AS backend-builder
1010
LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>"
1111

1212
WORKDIR /build
@@ -65,7 +65,7 @@ RUN sed -i 's|<base[^>]*>||g' /build/wisemapping-frontend/packages/webapp/dist/i
6565
################################################################################
6666
# Stage 3: Final Runtime Image (Backend + Frontend + Nginx)
6767
################################################################################
68-
FROM eclipse-temurin:24-jre-alpine
68+
FROM eclipse-temurin:25-jre-alpine
6969
LABEL maintainer="Paulo Gustavo Veiga <pveiga@wisemapping.com>"
7070

7171
# Install Nginx, tini (PID 1 init) and su-exec (privilege drop).

‎doc/api-documentation/backend/telemetry/Telemetry.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,25 @@ The following dependencies have been added to `pom.xml`:
100100
<artifactId>micrometer-registry-prometheus</artifactId>
101101
</dependency>
102102

103+
<!-- Versions come from the OpenTelemetry BOM imported in
104+
<dependencyManagement>, so the whole io.opentelemetry family stays in
105+
step. Pinning a single artifact does not govern its siblings: the Spring
106+
Boot parent manages the rest, which is how CVE-2026-45292 stayed live in
107+
opentelemetry-api long after the exporter had been pinned to a fixed
108+
release. -->
103109
<dependency>
104110
<groupId>io.opentelemetry</groupId>
105111
<artifactId>opentelemetry-api</artifactId>
106-
<version>1.40.0</version>
107112
</dependency>
108113

109114
<dependency>
110115
<groupId>io.opentelemetry</groupId>
111116
<artifactId>opentelemetry-sdk</artifactId>
112-
<version>1.40.0</version>
113117
</dependency>
114118

115119
<dependency>
116120
<groupId>io.opentelemetry</groupId>
117-
<artifactId>opentelemetry-exporter-prometheus</artifactId>
118-
<version>1.40.0-alpha</version>
121+
<artifactId>opentelemetry-exporter-otlp</artifactId>
119122
</dependency>
120123
```
121124

0 commit comments

Comments
 (0)