Skip to content

Release v2.5.4 - #246

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.4

Important

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

What this changes

Ships #244 and #245 as version 2.5.4:

Release notes

Testify v2.5.4

A security release for development machines. It updates cross-spawn, which the bot's development tools use to start other programs, past a critical advisory affecting Windows. The bot itself and the published image are unchanged.

⚠️ Before you upgrade

  • A server running the Docker image was never affected. cross-spawn is a development dependency, reached only through cross-env, ESLint and Jest. The image installs without development dependencies, so neither 2.5.3 nor this release contains it. Pulling ghcr.io/kkkermit/testify:2.5.4 changes nothing about how the bot runs.
  • If you develop on Windows, run npm ci after pulling, so your node_modules gets the fixed cross-spawn.
  • Nothing needs setting up. There are no new variables, commands, intents or collections, and no database migration.

🔒 Security

  • cross-spawn 7.0.6 → 7.1.2 fixes GHSA-ghv9-86vm-4v8m.
    • The advisory: on Windows, a batch file run with untrusted arguments could be made to run other commands. Every version from 7.0.0 up to (not including) 7.1.0 is affected.
    • Your exposure: the only script that runs through it here is npm run dev, with fixed arguments.
  • The new release was checked before it was taken.
    • It comes from the package's only maintainer, who published 7.0.6.
    • It has the same dependencies and no install-time script.
    • Its code changes are only the Windows cmd.exe escaping the advisory describes.
    • The lockfile records the registry's hash of the exact tarball that was reviewed.
  • The change is three lines of package-lock.json. No overrides pin was needed, since every package that brings it in accepts any 7.x.
  • One moderate advisory is still reported, GHSA-g3hv-75wg-m249 for minimatch, through ESLint's import plugin and Jest's coverage.
    • It's below the level that fails the audit, and is also development-only.
    • Its only fix is minimatch 11, a major version those packages don't accept yet.

🧪 Tests

  • A clean npm ci installs cross-spawn 7.1.2 and leaves the lockfile unchanged.
  • npm run audit passes. It was failing on main after 2.5.3 merged, once the advisory was published.
  • npm run check passes locally with 4,142 tests. On Update cross-spawn to 7.1.2 for its critical Windows advisory #244's push, CI ran all five jobs, the database suites and the audit included, and passed.
  • Not verified: npm run dev on Windows, which neither this sandbox nor CI runs. Its arguments are plain words, which the new escaping leaves as they are.

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

Why

  • main's CI went red on the dependency audit when the 2.5.3 release merged. Tonight's nightly audit would fail the same way.
  • Shipping the fix in a release of its own puts main back to green.

How to verify

Before merging:

  • Bump the version to 2.5.4 #245 is merged.
  • develop reads 2.5.4 in all three package manifests, and cross-spawn is 7.1.2 in its lockfile.
  • CI, the dependency audit included, and the Docker image check finish green on this pull request.

After merging:

  • Actions → CI on main is green again.
  • Actions → Release is green, and Releases shows v2.5.4 Testify with the notes above.
  • ghcr.io/kkkermit/testify has 2.5.4 and latest.

Checklist

  • This is the release pull request from develop into main.
  • cross-spawn updated to 7.1.2 (Update cross-spawn to 7.1.2 for its critical Windows advisory #244, merged).
  • Version updated to 2.5.4 in all three package manifests, the lockfile and the bug report template (Bump the version to 2.5.4 #245, merged).
  • npm ci accepts both lockfile changes, and a trial merge of the two is clean.
  • npm run check and npm run audit pass locally. CI ran the database suites on Update cross-spawn to 7.1.2 for its critical Windows advisory #244, where they passed.
  • 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 ca0b1d4 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