github gruntwork-io/boilerplate v0.13.0

latest release: v0.14.0
5 hours ago

✨ New Features

Manifest File Generation

Boilerplate can now produce a manifest file that records every file generated during a run, along with SHA256 checksums. Enable it with the new --manifest flag:

boilerplate \
    --template-url ./templates/service \
    --output-folder ./output \
    --non-interactive \
    --manifest

This creates a boilerplate-manifest.yaml in the output directory containing:

  • File inventory — every generated file with its relative path and sha256: checksum
  • Source checksum — a checksum of the template source (git commit SHA or directory hash)
  • Variables & dependencies — the resolved variable values and dependency tree used during the run
  • Schema version — a URL pointing to a published https://boilerplate.gruntwork.io/schemas/manifest/v1/schema.json for easy validation

The manifest format is auto-detected from the file extension: .json produces JSON, everything else produces YAML. To write to a custom path, use --manifest-file:

boilerplate \
    --template-url ./templates/service \
    --output-folder ./output \
    --non-interactive \
    --manifest-file ./reports/manifest.json

This is useful for auditing which files came from a template, drift detection by comparing checksums after the fact, and CI/CD pipelines that need to programmatically consume the list of generated files in downstream steps.

See https://boilerplate.gruntwork.io/advanced/manifest/ for details.

Exported validation Package

The validation package is now exported directly, so consumers of Boilerplate as a library can import validation instead of relying on the re-export through the variables package.

📖 Documentation Updates

  • Added a docs homepage, Windows support page, and terminology page
  • Fixed miscellaneous docs bugs

🧹 Chores

  • Removed CircleCI configuration
  • Fixed tests to avoid relying on the current branch existing in the remote

What's Changed

Full Changelog: v0.12.1...v0.13.0

Don't miss a new boilerplate release

NewReleases is sending notifications on new releases.