v0.0.13
This release introduces two changes that may break existing configurations. One is really a bug fix relative to the spec. These changes were not included in v0.0.12 to allow some of the bug fixes of the latter release to be available before introducing these changes.
Top-level “emit” structs are embedded
Previously, a top-level embedded struct had different semantics from embedded structs within structs itself. For instance, this configuration
{
a: 3
}
b: 3would previously yield { a: 3 }, but will now yield { a: 3, b: 3 }.
This semantics was a leftover from before CUE supported embedding.
But keeping this around was just too confusing.
Other values, like lists or strings retain their original semantics. However, for consistency sake, these may only be accompanied by definitions.
So previously this was allowed
"Hello \(who)!"
who: "World"but must now be
"Hello \(who)!"
who :: "World"Failing Definitions are an error
Previously a definition was, unlike a normal field, not an error. This was not according to the spec and this has now been rectified. To allow a definition to fail, make it optional (using a `?).
All changes
3 changesby area
Other3
cuechange emit value semanticscuefail if non-optional definitions are bottomdoc/ref/spec.mdadd newline before comments
Downloads
Every file this release published on GitHub, with its SHA-256. Most people install CUE as Installing CUE describes, which also shows how to check a download.
Archives
| Platform | File and SHA-256 |
|---|---|
| macOS, Intel | cue_623a1db676039a9604a3566f5f29bfba5344e141e3b8f754b4d1b9322b673aeb |
| Linux, Arm64 | cue_3810ea85be26377e24648de435fc9a0d6471fb7880e3207b16ce6f1117d189b6 |
| Linux, x86-64 | cue_5288f8204896f0c6e1791182618f1e9208dad9f3169a9da3c3acf8643b8a9df8 |
| Windows, x86-64 | cue_5ae3ac62f81219fe1e3a3d6dc9bbc26ac0bb20d53de2afcbcbc6df7fa20f513c |
SHA-256 checksums for all of these: checksums.txt