name: updating-libdeflate
description: Updates libdeflate compression library submodule to latest stable version, bumps binject and node-smol caches. Use for compression performance improvements, bug fixes, or periodic maintenance.
user-invocable: true
allowed-tools: Bash(pnpm:), Bash(npm:), Bash(git:), Bash(node:), Bash(rg:), Bash(grep:), Bash(find:), Bash(ls:), Bash(cat:), Bash(head:), Bash(tail:), Bash(wc:), Bash(diff:*), Read, Edit, Glob, Grep---
updating-libdeflate
Update the libdeflate library submodule to latest stable release.
- Submodule:
packages/binject/upstream/libdeflate (ebiggers/libdeflate)
- Tag format:
vX.Y or vX.Y.Z
- Cache bumps:
binject, node-smol
Process
- Validate: Clean working directory, detect CI mode
- Fetch latest:
git fetch origin --tags in submodule, find latest stable v* tag
- Check: If already at latest, report and exit
- Update submodule:
git checkout $TAG
- Update .gitmodules: Edit version comment to
# libdeflate-X.Y (strip v prefix)
- Build/test (skip in CI):
pnpm run clean && pnpm run build && pnpm test in packages/binject
- Bump caches: Increment
binject and node-smol in .github/cache-versions.json
- Commit and report