Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .template/CHANGELOG-TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.4.3] - 2026-11-24

### Added

- `actions.lock` pins every GitHub Actions dependency the workflows reference, following the same reviewable-lockfile pattern as `Cargo.lock`. `.github/actionlint.yaml` declares the annotations the self-repository action references carry, and the template lockfile refresh checklist plus a workflow contract test pin `actions.lock` reviewability so the diff is meant to be reviewed, not silently regenerated.
- Cargo's three-day publication cooldown is enabled in `.cargo/config.toml`, so freshly republished dependency versions cannot be picked up for three days.
- Workflow contract tests enforce the Dependabot auto-merge contract on `dependabot-auto-merge.yml`, and the contract suite now also pins `actions.lock` reviewability.

### Changed

- Dependency resolution and toolchain policy are hardened: `rust-toolchain.toml` tracks current `stable` for development while `Cargo.toml` still declares the Rust 1.88 MSRV as the compatibility target under audit, GitHub Actions dependencies are locked in `actions.lock`, and self-repository action references are annotated with `nosemgrep` so Opengrep does not misclassify GitHub's `$/` interpolation as an unpinned third-party action (`#514`, `#515`, `#516`).
- The native Dependabot auto-merge workflow is hardened against untrusted branch and head-repository inputs before enabling auto-merge.
- The merge-policy ruleset migration is complete: the live `main` ruleset requires the `PR Merge Policy Gate` context and no longer carries the direct Codacy context, and the seven-day shadow-window evidence is recorded in the required-checks runbook.
- `taiki-e/install-action` is bumped from 2.90.1 to 2.90.6 and `peter-evans/create-pull-request` from 8.1.1 to 8.1.3 (`#513`, `#525`).

### Fixed

- The security scanner no longer falls back to a mutable image reference, and deprecated release runner labels are gone while the release target matrix is unchanged (`#517`, `#518`).
- The fuzz license exception in `deny.toml` is scoped to the actual fuzz targets, the intended overlap between the lint policy and Syn's own lints is documented, and the release workflow's shell lint findings are cleared.
- The Dependabot workflow contract test no longer shadows its loop variable, which made one assertion assert against the wrong workflow.

## [0.4.2] - 2026-11-13

### Added
Expand Down Expand Up @@ -639,7 +660,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Rust 2024 edition formatting (rustfmt.toml)
- Clippy configuration (.clippy.toml)

[Unreleased]: https://github.com/d-oit/rust-2026-template/compare/v0.4.2...HEAD
[Unreleased]: https://github.com/d-oit/rust-2026-template/compare/v0.4.3...HEAD
[0.4.3]: https://github.com/d-oit/rust-2026-template/compare/v0.4.2...v0.4.3
[0.4.2]: https://github.com/d-oit/rust-2026-template/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/d-oit/rust-2026-template/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/d-oit/rust-2026-template/compare/v0.3.11...v0.4.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[![codecov](https://codecov.io/gh/d-oit/rust-2026-template/graph/badge.svg)](https://codecov.io/gh/d-oit/rust-2026-template)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![MSRV](https://img.shields.io/badge/MSRV-1.88-blue.svg)](https://www.rust-lang.org)
[![Template Version](https://img.shields.io/badge/version-0.4.2-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.2)
[![Template Version](https://img.shields.io/badge/version-0.4.3-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.3)

**Latest release: v0.4.2** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog.
**Latest release: v0.4.3** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog.

A production-ready Rust workspace template with modern tooling, CI/CD and AI agent integration.

Expand Down
4 changes: 2 additions & 2 deletions llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ rust-2026-template/
[![codecov](https://codecov.io/gh/d-oit/rust-2026-template/graph/badge.svg)](https://codecov.io/gh/d-oit/rust-2026-template)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![MSRV](https://img.shields.io/badge/MSRV-1.88-blue.svg)](https://www.rust-lang.org)
[![Template Version](https://img.shields.io/badge/version-0.4.2-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.2)
[![Template Version](https://img.shields.io/badge/version-0.4.3-blue)](.template/CHANGELOG-TEMPLATE.md#0.4.3)

**Latest release: v0.4.2** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog.
**Latest release: v0.4.3** — see [`.template/CHANGELOG-TEMPLATE.md`](.template/CHANGELOG-TEMPLATE.md) for the full changelog.

A production-ready Rust workspace template with modern tooling, CI/CD and AI agent integration.

Expand Down
16 changes: 16 additions & 0 deletions scripts/bump-template-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,22 @@ if grep -qF "[${NEXT_VERSION}]:" "$CHANGELOG"; then
die "Link footer already contains [${NEXT_VERSION}]: — refusing to duplicate"
fi

# A release promotes the entries that accumulated under [Unreleased]; promoting
# a skeleton-only section publishes a version with an empty changelog. Reject
# the bump until the release is documented in .template/CHANGELOG-TEMPLATE.md.
unreleased_entries="$(awk '/^## \\[Unreleased\\]$/{flag=1; next} /^## /{flag=0} flag' "$CHANGELOG" \
| grep -E '^- ' \
| grep -vF \
-e '- for new features.' \
-e '- for changes in existing functionality.' \
-e '- for soon-to-be removed features.' \
-e '- for now removed features.' \
-e '- for any bug fixes.' \
-e '- in case of vulnerabilities.' || true)"
if [[ -z "${unreleased_entries}" ]]; then
die "No changes recorded under [Unreleased] in $CHANGELOG — document the release there before promoting"
fi

# ── 1. Update `.template/CHANGELOG-TEMPLATE.md` ─────────────────────────────
if $EXECUTE; then
# a) Rename ## [Unreleased] → ## [NEXT] - DATE
Expand Down
Loading