Skip to content

Release v2.5.5 - #250

Merged
Kkkermit merged 6 commits into
mainfrom
develop
Dec 1, 2026
Merged

Kkkermit merged 6 commits into
mainfrom
develop

Conversation

@Kkkermit

@Kkkermit Kkkermit commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Testify v2.5.5

Important

Merge #249 (the version bump) into develop first. #248 is already in. Until #249 merges, this pull request still reads 2.5.4, which is already tagged, so merging it would release nothing.

What this changes

Ships #248 and #249 as version 2.5.5:

Release notes

Testify v2.5.5

A security release. Three libraries the bot ships with get fixes for advisories published on 1 December: the WebSocket library discord.js connects through, the MySQL driver the analytics collector carries, and the pattern matcher behind glob. The bot behaves as before.

⚠️ Before you upgrade

  • Pull ghcr.io/kkkermit/testify:2.5.5, rebuild the image, or run npm ci and npm run build. Unlike 2.5.4's fix, these packages are in the image.
  • Your exposure was low:
    • mysql2 only runs when the analytics collector stores its data in MySQL, and the bot's own collector uses MongoDB.
    • ws is only ever a client to Discord, never a server.
    • minimatch only ever sees file patterns from the bot's own code, never anything a user types.
  • Nothing needs setting up. There are no new variables, commands, intents or collections, and no database migration.

🔒 Security

Package Comes in through Advisory Change
mysql2 @shardlens/collector critical: SQL injection (SNYK-JS-MYSQL2-23188839) 3.24.6 → 3.25.0
ws discord.js and @discordjs/voice high: memory exhaustion through unbounded automatic pongs (GHSA-37g9-w4hg-h9qr) 8.21.1 → 8.23.1
minimatch glob high: quadratic compile time for long patterns (GHSA-cf2h-pxjq-68xw), and two more found by Snyk 11.0.5 → 11.0.9
  • sql-escaper moves from 1.9.1 to 1.10.0, which mysql2 3.25.0 needs. named-placeholders is no longer installed, because mysql2 stopped using it.
  • Every new version was checked before it was taken.
    • Each comes from the same maintainer as the version it replaces.
    • mysql2, minimatch and sql-escaper carry npm build provenance from their own repositories.
    • None runs a script at install time.
    • Their code changes are what the advisories describe, with no new network, file, process or eval calls.
    • The lockfile records the registry's hash of the exact tarballs that were reviewed.
  • Each update is the smallest release that carries the fix, not the newest. No overrides pin was needed, because every package that brings these in already accepts the new versions.
  • One moderate advisory is still reported, GHSA-g3hv-75wg-m249 for the root minimatch, which only ESLint's import plugin and Jest's coverage use. It's development-only and below the level either scan fails on. Its fix is minimatch 11, which those packages don't accept yet.

🧪 Tests

  • A clean npm ci installs the new versions and leaves the lockfile unchanged. npm ls --all reports no invalid, missing or extraneous packages.
  • npm run check passes with 4,142 tests, and npm run build passes. The loader smoke test registers every command, button and menu, with ws and the collector's MongoDB entry loading.
  • The nightly workflow, run by hand on Update ws, mysql2 and minimatch past their new advisories #248's branch, passes every job: Snyk, the dependency audit, and the tests on Windows, Linux and macOS.
  • Not verified: ws now uses Node's own WebSocket masking where Node provides it, which the image's Node 24 may. Local testing ran on Node 22, which keeps the JavaScript masking.

Full changelog: release/v2.5.4...release/v2.5.5

Why

  • main's nightly failed on Snyk (one critical, three high) and on the dependency audit (two high), all from these packages.
  • These ship in the image, so the fix needs a release of its own.

How to verify

Before merging:

  • Bump the version to 2.5.5 #249 is merged.
  • develop reads 2.5.5, with ws 8.23.1, mysql2 3.25.0 and minimatch 11.0.9 under glob in its lockfile.
  • CI, the dependency audit included, and the Docker image check finish green on this pull request.

After merging:

  • Actions → Release is green, and Releases shows v2.5.5 Testify with the notes above.
  • ghcr.io/kkkermit/testify has 2.5.5 and latest.
  • The next nightly on main passes Snyk and the dependency audit.

Checklist

  • This is the release pull request from develop into main.
  • ws, mysql2 and minimatch updated (Update ws, mysql2 and minimatch past their new advisories #248, merged).
  • Version updated to 2.5.5 in all three package manifests, the lockfile and the bug report template (Bump the version to 2.5.5 #249, merged).
  • npm ci accepts the lockfile, and a trial merge of the two is clean.
  • npm run check, npm run build and npm run audit pass locally. The nightly, Snyk included, passed on Update ws, mysql2 and minimatch past their new advisories #248's branch.
  • No read-modify-save operations on numeric fields: no bot code changed.
  • Embeds come from the embed() factory.
  • No raw console.* calls.
  • Every promise is awaited or otherwise handled.
  • No new timers registered with the bot.
  • No new environment variables.
  • No command's options or names changed, so docs/commands.md is unchanged.
  • No documentation change needed.
  • No database migration is needed.
  • Release notes reflect the final merged changes.

https://claude.ai/code/session_01JrFnSipitEXUhVySPKfrMR


Generated by Claude Code

@Kkkermit
Kkkermit merged commit 0b3dcb1 into main Dec 1, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant