• version-0.3.3 5b1a3996f8

    version-0.3.3
    All checks were successful
    Release / release (push) Successful in 16s
    Stable

    eric released this 2026-12-01 14:36:50 +01:00 | 0 commits to main since this release

    Release Notes for crate-kit (common tooling for a multi-crate Rust project), version 0.3.3

    Features

    • Hierarchical Forge Token Resolution: Refactored extension kit setup to support hierarchical forge token files based on host, owner, and repository.
      • Tokens are now resolved from secrets/<host>/<owner>/<repo>.token before falling back to $FORGE_TOKEN_FILE.
      • Added forge_secrets_dir and forge_parse_url helper functions in kit/scripts/common.sh for path construction and URL parsing.
      • Updated adopt-kit.sh to generate extension kits with the new secret directory structure.

    Fixes

    • Build Configuration: Modified kit/dev-patch.mk to remove the include of org.mk and add a CARGO_TOML default, clarifying that organization-specific values are provided by the extension.
    • Git Ignore Rules: Updated template-kit/.gitignore to remove the blanket secrets/* ignore and add /dist/, allowing specific secret files to be tracked if needed.

    Internal

    • Documentation: Updated README.md and template-kit/README.md to document the new token file structure, precedence rules, and security requirements (mode 0600, first line only). Removed deprecated template-kit/secrets/README.md.
    • Testing: Added tests/forge-token.sh to verify token precedence rules, including handling of FORGETOKEN, FORGE_TOKEN_FILE, and hierarchical files. Updated Makefile to export FORGE_SECRETS_DIR for tests and include the new test case. Updated tests/adopt-kit.sh to exclude secrets/README.md and overlay/kit/VERSION from kit assembly checks.
    • Versioning: Bumped kit version in kit/VERSION from 0.3.2 to 0.3.3.
    Downloads