v2.4.7
Post-release supply-chain hardening. No functional change; upgrade is
recommended for anyone installing brainctl in CI or multi-tenant
contexts.
Changed
- Dependency floors tightened.
sqlite-vec>=0.1.3(up from 0.1.0)
to clear CVE-2024-46488 / GHSA-vrcx-gx3g-j3h8 (heap buffer overflow).
torch>=2.4in the[rerank]extra (up from 2.0) so the default
torch.load(weights_only=True)protection is always in effect for
HuggingFace cross-encoder checkpoints.
Changed — CI/release supply-chain
- PyPI publish now gated behind a GitHub Environment (
pypi) with
required-reviewer approval. Maintainer must create the environment
and re-bind the PyPI trusted publisher before the next tag push. - All GitHub Actions SHA-pinned (
actions/*,dorny/paths-filter,
pypa/gh-action-pypi-publish). Tags preserved as trailing comments. ci.ymlnow declares a workflow-level defaultpermissions: contents: read.- Added
.github/dependabot.yml(pip + github-actions, weekly). - Added
.github/CODEOWNERSfor supply-chain-sensitive paths. SECURITY.mdnow namessecurity@brainctl.organd the GitHub
private-advisory URL explicitly.- Removed empty
brain.dbplaceholder from the repo root.