v0.0.15
This release focusses on bug fixes and stability improvements.
There is one language change, and that is to allow the $ character in identifiers. The main reasons for this is that it is a commonly used character in identifiers in JSON. The single $ is currently reserved.
All changes
48 changesby area
cmd4
cmd/cue/cmdalso make field optional if it is a pointercmd/cue/cmdconvert package block comments in cue get gocmd/cue/cmdsmall help command fixescmd/cue/cmdtrack use of indexing op for dependencies
cue22
cue/formatimprove indentation of in comprehensionscue/loadcleanup and made code more defensivecue/parserimprove error message for misused keywordscue/scannerallow $ as a letter in identifierscueReference handles concrete values for index operationscuealways check for errors before calling builtin functionscuedetect errors in struct when comparing to bottomcuedisallow references to string labels (per spec)cuedon't turn of manifesting in normalizationcuedon't validate optional fieldscuefix bug related to non-structural direct self-referencescuefix compilation bug using $foo identifierscuefix crash on alias use in listscuefix exporting of label aliasescuefix lookupcuefix lookup for cue APIcuefix lookup for cue APIcuefix optional handling in subsumptioncueignore optional fields for Equalscueno quotes needed for identifiers with $cueprevent regression to bug in older versioncueremove uses of log.Panicf
doc9
doc/ref/spec.mdclarify newline behavior for multiline stringsdoc/ref/spec.mdfix typodoc/ref/spec.mdsimplify attributesdoc/tutorial/kubernetesupdate to latestdoc/tutorial/kubernetesupdate to use new syntax consistentlydoc/tutorial/kubernetesupdate to v1 versionsdoc/tutorialfixing bad link in string literalsdoc/tutorialremoving duplicate word in boundsdocfix typos in language spec
Other13
- Add YAML support to export command
- Decode null as NULL token in yaml decoder
- Revert "cue: fix lookup for cue API"
- Use baseValue from source in binOp to make gc working
- Use cache during walk
- describe the
go getstep beforecue get goin the tutorial - fix typos in docs
internal/difffirst stab add diffing functionalityinternal/yamlimport null value properlypkg/math/bitscomplete operationspkg/mathuse higher precision implementationstools/trimfix spurious removal of top-level declarationstools/trimmove trim logic to package
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_1cb485df6842258b07fb73587c4b10ae1759328ac08feffd264b7d6bee70c7c4 |
| Linux, Arm64 | cue_9b81cc41adab5e2c46ac2b005e9edf570e08add06a6702eb182393b68c9b619e |
| Linux, x86-64 | cue_5a6706a698a87fdce68aae4778b7218d8814a3dc5957223441db7165b52eab4f |
| Windows, x86-64 | cue_7d968a2a7006182a182c9b83c182352490dab867762ddc5895d90ab6859ce946 |
SHA-256 checksums for all of these: checksums.txt