• v0.2.0-dev.1 55fe0ea6d7

    v0.2.0-dev.1 Pre-release

    john released this 2026-11-17 04:35:16 +00:00 | 174 commits to main since this release

    Changed

    • Breaking: cdk is now a Go library (code.yawn.dev/john/cdk) in the style of the AWS CDK. Programs build an App of Stacks and synthesize plain OpenTofu configuration to .yawn/, which is built in CI and never committed. The HCL modules from 0.1.0-dev.1 are removed from main; the v0.1.0-dev.1 tag keeps them.

    Added

    • core: App/Stack/Resource construct model; deterministic, atomic Synth to .yawn/; data-only manifest.json (schema version 1); exact provider pins with SHA-256 and OpenTofu h1 hashes, written as .terraform.lock.hcl; enforced client-side encryption of state and plans; refusal of literal secrets, missing backends and undeclared variables.
    • gitea: NewRepository and Protect for tofu-provider-gitea 0.9.0-dev.1, writing every setting explicitly; repositories cannot be destroyed (and archive if forced); branch protection requires at least one status check; StateBackend for Gitea's built-in OpenTofu state registry with locking.
    • cmd/yawn providers: installs pinned provider zips into a filesystem mirror after checking both hashes, and writes the OpenTofu CLI config.
    • Tests: construct coverage against the provider schema, golden synth output, atomic and symlink-safe synth, tampered zip refusal, and an h1 check against OpenTofu's own lock output. CI synthesizes the example and validates it with OpenTofu 1.13.9 against the real provider release.

    Source commit 55fe0ea6d7ef88943b0b1fb25b7ed1062264f92d.

    Downloads