[PR #6936] [MERGED] chore(deps): consolidate October dependency updates #7394

Closed
opened 2026-10-23 04:19:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6936
Author: @SpicyMarinara
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @SpicyMarinara

Base: staging ← Head: chore/deps-2026-10-01


📝 Commits (3)

  • 43825e9 chore(deps): bump Sharp, dotenv, nanoid, DOMPurify, Gradle and CI actions
  • 771589d fix(deps): move the hono override to 4.13.11
  • b9624b9 fix(android): build CI APKs with the Gradle 9.8.0 wrapper

📊 Changes

11 files changed (+176 additions, -174 deletions)

View changed files

📝 .github/workflows/build-apk.yml (+3 -3)
📝 .github/workflows/codeql.yml (+2 -2)
📝 .github/workflows/platform-artifacts.yml (+3 -3)
📝 CHANGELOG.md (+1 -0)
📝 android/README.md (+1 -1)
📝 android/gradle/wrapper/gradle-wrapper.properties (+2 -2)
📝 package.json (+2 -2)
📝 packages/client/package.json (+1 -1)
📝 packages/server/package.json (+5 -5)
📝 pnpm-lock.yaml (+155 -154)
📝 scripts/regressions/android-local-auth.regression.ts (+1 -1)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #6935. Supersedes #6925, #6926, #6927, #6928, #6929, #6930, #6931, #6932 and #6933.

Why this change

The maintainer asked to clear the open Dependabot PRs and take every update that works. Some of them can't land alone:

  • @img/sharp-wasm32 (#6932) must stay on the same version as sharp and the root sharp@0.34.5 override, or Termux loses its matching WebAssembly fallback for image processing. Dependabot bumped only the fallback.
  • CodeQL init and analyze (#6931, #6933) must move together.

The audit check also started failing on a new advisory, GHSA-hxh3-vqpv-xpqv (hono/jsx XSS, fixed in 4.13.7). It affects hono, which the MCP SDK pulls in, and current staging has the same problem.

Landing all nine at once needs one review, one CI run and one lockfile update, instead of nine rebases through the up-to-date gate.

What changed

Dependency Update Original PR
sharp (libvips 8.18.7), @img/sharp-wasm32 and the sharp@0.34.5 override 0.35.4 → 0.35.5 #6932
dotenv 17.4.2 → 18.0.4 #6930
nanoid 5.1.16 → 6.0.1 #6927
@fastify/static 10.1.4 → 10.1.5 #6929
dompurify 3.4.15 → 3.4.16 #6928
Gradle wrapper 9.7.1 → 9.8.0 #6925
gradle/actions/setup-gradle 6.3.0 → 6.4.0 #6926
CodeQL init and analyze 4.38.1 → 4.38.2 #6931, #6933
hono override (MCP SDK dependency) 4.13.5 → 4.13.11 audit failure
  • Majors:
    • dotenv 18 removes .env.vault, preloading and log tips. Marinara uses none of them; runtime-config.ts only calls config({ path, quiet: true }) and parse().
    • nanoid 6 drops Node 18 and 20, and Marinara needs Node 24+. nanoid() and nanoid(7) behave the same. Its engines field skips Node 25, which reached end of life in June 2026. pnpm only warns there, because the workspace doesn't set engine-strict.
  • hono: 4.13.11 is the newest release past the age limit (4.13.12 is younger than a day), and it clears every published hono advisory. No Marinara code imports hono directly. tools/dev-mcp already has a patched 4.13.8, and its npm audit is clean.
  • dotenv version: 18.0.5 exists but is younger than the workspace's one-day minimumReleaseAge, so this stays on 18.0.4, the version Dependabot proposed.
  • Gradle in CI: the repo ships no gradlew, so both Android workflows install Gradle and generate the wrapper themselves. Dependabot's #6925 only changed gradle-wrapper.properties, which left CI building with 9.7.1 (local CodeRabbit flagged this). Both workflows, the checksum guard in android-local-auth.regression.ts and android/README.md now say 9.8.0.
  • Pins: action SHAs keep the immutable-pin style and match the upstream release tags. The Gradle checksum matches services.gradle.org.
  • Lockfile: only these packages and Sharp's platform binaries moved.
  • Changelog: entry added.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Agent-run results on macOS arm64, Node 24.16.0 (not substitutes for the checklist above):

  • Build and smoke: pnpm check and pnpm audit --audit-level low pass. pnpm smoke:ui passes 7/7, and pnpm smoke:production passes 3/3 on desktop Chromium, mobile Chromium and mobile WebKit.
  • Regressions: these pass: termux-sharp, env-watcher, launcher/env, static-cache-headers, profile-import-asset-security, sprite-background, pixelize, gallery-previews, chat-message-css-security, theme-css-security, timezone and request-timeouts.
  • dotenv check: dotenv 17.4.2 and 18.0.4 return identical parse() output for 31 edge cases, as strings and as Buffers. The cases cover quotes, comments, export, multiline, CRLF, escapes and command-substitution text. config() still leaves variables that are already set alone.
  • Sharp: loads 0.35.5 with libvips 8.18.7.
  • Gradle guard: android-local-auth passes with the new checksum and fails with the old one.
  • Local CodeRabbit: the first run had 1 finding, the Gradle fallback in both workflows still on 9.7.1. It is fixed above, and the rerun on all 11 files had 0 findings.

To check by hand:

  • Start the app from a fresh pnpm install and confirm the server starts with your existing .env settings applied.
  • Generate or import a character sprite or gallery image and confirm image processing works.
  • On Termux, run the updater and confirm sprite generation still works through the WebAssembly fallback.
  • Build the Android APK (Gradle 9.8.0) through the platform checks.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

The CHANGELOG entry is added, and android/README.md now names Gradle 9.8.0. No docs under docs/ change, and no translation on docs-i18n mentions the Gradle version.

UI evidence (if applicable)

No UI changes.

Summary by CodeRabbit

  • Maintenance
    • Updated the Android build environment to Gradle 9.8.
    • Updated image processing, security, server, and utility dependencies.
    • Updated CodeQL analysis tooling.
  • Documentation
    • Updated the Android setup documentation to reflect the Gradle version used in CI.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6936 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/1/2026 **Status:** ✅ Merged **Merged:** 10/1/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `chore/deps-2026-10-01` --- ### 📝 Commits (3) - [`43825e9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/43825e98080f7c8ece0d3d2f4648f93766c5ad9e) chore(deps): bump Sharp, dotenv, nanoid, DOMPurify, Gradle and CI actions - [`771589d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/771589d83a35ba80986e1b1a07a74e2c05aa3f4a) fix(deps): move the hono override to 4.13.11 - [`b9624b9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b9624b91f92c3bf7de416ed8d1bfca99dc62fbcb) fix(android): build CI APKs with the Gradle 9.8.0 wrapper ### 📊 Changes **11 files changed** (+176 additions, -174 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-apk.yml` (+3 -3) 📝 `.github/workflows/codeql.yml` (+2 -2) 📝 `.github/workflows/platform-artifacts.yml` (+3 -3) 📝 `CHANGELOG.md` (+1 -0) 📝 `android/README.md` (+1 -1) 📝 `android/gradle/wrapper/gradle-wrapper.properties` (+2 -2) 📝 `package.json` (+2 -2) 📝 `packages/client/package.json` (+1 -1) 📝 `packages/server/package.json` (+5 -5) 📝 `pnpm-lock.yaml` (+155 -154) 📝 `scripts/regressions/android-local-auth.regression.ts` (+1 -1) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #6935. Supersedes #6925, #6926, #6927, #6928, #6929, #6930, #6931, #6932 and #6933. ## Why this change The maintainer asked to clear the open Dependabot PRs and take every update that works. Some of them can't land alone: - `@img/sharp-wasm32` (#6932) must stay on the same version as `sharp` and the root `sharp@0.34.5` override, or Termux loses its matching WebAssembly fallback for image processing. Dependabot bumped only the fallback. - CodeQL `init` and `analyze` (#6931, #6933) must move together. The `audit` check also started failing on a new advisory, GHSA-hxh3-vqpv-xpqv (`hono/jsx` XSS, fixed in 4.13.7). It affects `hono`, which the MCP SDK pulls in, and current `staging` has the same problem. Landing all nine at once needs one review, one CI run and one lockfile update, instead of nine rebases through the up-to-date gate. ## What changed | Dependency | Update | Original PR | | --- | --- | --- | | `sharp` (libvips 8.18.7), `@img/sharp-wasm32` and the `sharp@0.34.5` override | 0.35.4 → 0.35.5 | #6932 | | `dotenv` | 17.4.2 → 18.0.4 | #6930 | | `nanoid` | 5.1.16 → 6.0.1 | #6927 | | `@fastify/static` | 10.1.4 → 10.1.5 | #6929 | | `dompurify` | 3.4.15 → 3.4.16 | #6928 | | Gradle wrapper | 9.7.1 → 9.8.0 | #6925 | | `gradle/actions/setup-gradle` | 6.3.0 → 6.4.0 | #6926 | | CodeQL init and analyze | 4.38.1 → 4.38.2 | #6931, #6933 | | `hono` override (MCP SDK dependency) | 4.13.5 → 4.13.11 | `audit` failure | - **Majors:** - **dotenv 18** removes `.env.vault`, preloading and log tips. Marinara uses none of them; `runtime-config.ts` only calls `config({ path, quiet: true })` and `parse()`. - **nanoid 6** drops Node 18 and 20, and Marinara needs Node 24+. `nanoid()` and `nanoid(7)` behave the same. Its engines field skips Node 25, which reached end of life in June 2026. pnpm only warns there, because the workspace doesn't set `engine-strict`. - **hono:** 4.13.11 is the newest release past the age limit (4.13.12 is younger than a day), and it clears every published `hono` advisory. No Marinara code imports `hono` directly. `tools/dev-mcp` already has a patched 4.13.8, and its `npm audit` is clean. - **dotenv version:** 18.0.5 exists but is younger than the workspace's one-day `minimumReleaseAge`, so this stays on 18.0.4, the version Dependabot proposed. - **Gradle in CI:** the repo ships no `gradlew`, so both Android workflows install Gradle and generate the wrapper themselves. Dependabot's #6925 only changed `gradle-wrapper.properties`, which left CI building with 9.7.1 (local CodeRabbit flagged this). Both workflows, the checksum guard in `android-local-auth.regression.ts` and `android/README.md` now say 9.8.0. - **Pins:** action SHAs keep the immutable-pin style and match the upstream release tags. The Gradle checksum matches services.gradle.org. - **Lockfile:** only these packages and Sharp's platform binaries moved. - **Changelog:** entry added. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Agent-run results on macOS arm64, Node 24.16.0 (not substitutes for the checklist above): - **Build and smoke:** `pnpm check` and `pnpm audit --audit-level low` pass. `pnpm smoke:ui` passes 7/7, and `pnpm smoke:production` passes 3/3 on desktop Chromium, mobile Chromium and mobile WebKit. - **Regressions:** these pass: termux-sharp, env-watcher, launcher/env, static-cache-headers, profile-import-asset-security, sprite-background, pixelize, gallery-previews, chat-message-css-security, theme-css-security, timezone and request-timeouts. - **dotenv check:** dotenv 17.4.2 and 18.0.4 return identical `parse()` output for 31 edge cases, as strings and as Buffers. The cases cover quotes, comments, `export`, multiline, CRLF, escapes and command-substitution text. `config()` still leaves variables that are already set alone. - **Sharp:** loads 0.35.5 with libvips 8.18.7. - **Gradle guard:** `android-local-auth` passes with the new checksum and fails with the old one. - **Local CodeRabbit:** the first run had 1 finding, the Gradle fallback in both workflows still on 9.7.1. It is fixed above, and the rerun on all 11 files had 0 findings. To check by hand: - Start the app from a fresh `pnpm install` and confirm the server starts with your existing `.env` settings applied. - Generate or import a character sprite or gallery image and confirm image processing works. - On Termux, run the updater and confirm sprite generation still works through the WebAssembly fallback. - Build the Android APK (Gradle 9.8.0) through the platform checks. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) The CHANGELOG entry is added, and `android/README.md` now names Gradle 9.8.0. No docs under `docs/` change, and no translation on `docs-i18n` mentions the Gradle version. ## UI evidence (if applicable) No UI changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Maintenance** * Updated the Android build environment to Gradle 9.8. * Updated image processing, security, server, and utility dependencies. * Updated CodeQL analysis tooling. * **Documentation** * Updated the Android setup documentation to reflect the Gradle version used in CI. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:19:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7394
No description provided.