Repository navigation
Releases
v0.1.1
v0.1.1 Release Notes
Summary
Maintenance release. canondocs now builds against
github.com/3leaps/yamlprims v0.2.1. Command-line behavior and canonical
output are unchanged from v0.1.0. The maintainer release tooling binds the
CI-artifact download more tightly to the signed tag.
Changes
github.com/3leaps/yamlprimsv0.1.1 to v0.2.1. The YAML loading path
canondocsuses behaves the same: canonical bytes, digests, vectors,
refusals and exit codes are unchanged.- Release tooling (maintainers only; nothing in the published binaries):
- The CI-artifact download requires the ceremony anchor recorded when the
tag was published. The anchor must sit at an absolute path outside the
repository with no symlink, and must match the verified tag, object and
commit byte for byte. - Without a named run, the download selects the single successful
push-triggered release workflow run for the tag at the tagged commit. It
refuses ambiguous or incomplete run listings. Only the
CANONDOCS_RELEASE_RUN_IDandCANONDOCS_RELEASE_RUN_ATTEMPTselectors
are read; unprefixedRELEASE_RUN_IDorRELEASE_RUN_ATTEMPTis refused. - The release checklist describes the accepted Homebrew formula shape, and
the tag-protection check documents its three tag patterns.
- The CI-artifact download requires the ceremony anchor recorded when the
Release provenance
- Before importing a downloaded public key, establish the expected GPG signing
key and minisign public-key fingerprint through an independently trusted
maintainer channel. Follow the complete
release-verification guide. - Release tags are GPG-signed. After validating the public material against
the committed anchors, verify withgit tag -v v0.1.1. - Checksum manifests are signed with minisign and PGP; the published assets are
byte-identical to the signed set.
Install
brew install 3leaps/tap/canondocs # macOS Apple Silicon, Linux
go install github.com/3leaps/canondocs/cmd/canondocs@v0.1.1scoop bucket add 3leaps https://github.com/3leaps/scoop-bucket
scoop install canondocsVerification
canondocs canonicalizes and digests; it verifies no signatures, so it embeds
no key. To verify this release, check the signed tag v0.1.1 and the signed
checksum manifests (SHA256SUMS, SHA512SUMS) against the public pins
committed in the tagged commit (docs/security/, keys/); see the
release-verification guide above.
See CHANGELOG.md for the full list.
v0.1.0
v0.1.0 Release Notes
Summary
First release of canondocs, a small command-line tool that writes RFC 8785
(JCS) canonical JSON bytes, sha256: digests and golden vector records from
JSON, YAML 1.2 Core or NDJSON input. It is a single Go executable with no
separately installed runtime; it makes no network calls and keeps no state.
Highlights
canondocs jcs [file|-]writes canonical bytes with no trailing newline;
--checkexits 0 only if JSON input is already canonical,--digestwrites
sha256:<hex>, and--vectorwrites a canonical vector record.- Input format from the file suffix or
--from auto|json|yaml|ndjson. YAML is
projected to I-JSON by six fail-closed rules (yaml/jcs-rfc8785-v0); unknown
tags are refused, and<<merge keys are refused unless
--allow-merge-keysis given. --ndjson-array [--head N]canonicalizes a strict LF-terminated NDJSON
prefix as one array;--sort-settreats an array as a set, sorted by
element canonical bytes, with duplicates refused.- Input limits:
--max-bytes,--max-depth,--max-object-membersand
--max-string-bytes, with fixed defaults. canondocs infodescribes the scheme as canonical JSON,canondocs version [--json]prints the version, andcanondocs doctorruns a built-in
self-check.- Binaries for darwin-arm64, linux-amd64, linux-arm64, windows-amd64 and
windows-arm64.
Release provenance
- Before importing a downloaded public key, establish the expected GPG signing
key and minisign public-key fingerprint through an independently trusted
maintainer channel. Follow the complete
release-verification guide. - Release tags are GPG-signed. After validating the public material against
the committed anchors, verify withgit tag -v v0.1.0. - Checksum manifests are signed with minisign and PGP; the published assets are
byte-identical to the signed set.
Install
brew install 3leaps/tap/canondocs # macOS Apple Silicon, Linux
go install github.com/3leaps/canondocs/cmd/canondocs@v0.1.0scoop bucket add 3leaps https://github.com/3leaps/scoop-bucket
scoop install canondocsVerification
canondocs canonicalizes and digests; it verifies no signatures, so it embeds
no key. To verify this release, check the signed tag v0.1.0 and the signed
checksum manifests (SHA256SUMS, SHA512SUMS) against the public pins
committed in the tagged commit (docs/security/, keys/); see the
release-verification guide above.
See CHANGELOG.md for the full list.