v0.6.0

cue-lang/cue Released

A release of CUE OSS · its page on GitHub

The main focus of this release is the introduction of required fields, as well as fixing a number of issues and regressions introduced in the v0.5.0 release.

As a reminder: users can register their projects with unity, our regression and performance testing setup. unity is used to ensure that a project’s CUE evaluations do not unexpectedly stop working, or regress in terms of performance. unity continues to catch multiple issues with each release. Adding your project to unity not only guarantees that we will not break your tests (if we do, we will work with you to fix your CUE code), but it also helps to improve the quality of each CUE release. Follow this link to learn more about Unity, install it, or get in touch with any questions.

Thank you to @4ad, @Abirdcfly, @alexandear, @chee-zaram, @eraserhd, @ghostwheel42, @joanlopez, @jpluscplusm, @kcburge, @mpvl, @mvdan, @myitcv, @rogpeppe, @toshi0607, and @zeithaste for contributing to this release!

API

CL 543335 adds arch to set of injectable system variables understood by cue/load. The text at cue help injection explains how this in more detail.

CL 552142 adds support for zero values in cue.Value.Float64, which has the effect of fixing the error when attempting to use strconv.FormatFloat with a zero value.

CL 548783 fixes a long-standing bug to make HTML escaping in JSON an opt-in. This means that cue export now respects the --escape flag when set, and encoding/json only escapes HTML when HTMLEscape is used.

Language

Required fields

The main focus of the v0.6.0 release is the introduction of required fields.

CUE already supports the “optional field constraint”, denoted foo?: value.

Required fields add a “required field constraint”, denoted foo!: value, which is like foo?: value, but requires a regular field be provided for foo (a field foo: without !: or ?:).

We refer to optional field constraints and required field constraints collectively as “field constraints”.

As a general rule, all data and data templating should be defined with regular fields, whereas schemas would be defined in terms of field constraints. Of course, CUE being CUE, mixing these two fields is allowed: this rule is not a restriction but suggested as a matter of style and proper usage.

Here are some examples of how exclamation marks can be used to express things that were previously not possible.

#Def: {
    kind!: "def"
    intList!: [...int]
}

Using required fields can also result in better error messages. Consider this schema:

#Person: {
    name: string
    age?: int
}

Note that this is non-idiomatic, because our new guidelines suggest schemas should only be defined in terms of field constraints, but we will use this for illustration purposes.

Now consider this usage of #Person:

jack: #Person & {age: 3}

In data mode, the error message here is currently jack.name: incomplete value string, which does not provide much actionable information to the user to help them fix the problem.

Now consider how #Person looks with required fields, idiomatically only using field constraints:

#Person: {
    name!: string
    age?:  int
}

jack: #Person & {age: 3}

Now the error message reads:

jack.name: field is required but not present

which more closely reflects the underlying problem..

This error could be resolved by adding jack: name: "Jack".

For more details and background on the change, please see the original required fields proposal.

Other changes

Whilst it should not be a breaking change from a CUE perspective, we have upgraded to use github.com/cockroachdb/apd/v3. We have also increased apd.Context precision from 24 to 34.

CL 551207 adds support for making dynamic fields optional or required. For example, the following is now possible:

x:	"y"
(x):  "foo"
(x)?: "foo"
(x)!: "foo"

and yields:

x: "y"
y: "foo"

CL 546886 removes support for old-style :: definitions. This also includes deprecation support. In a similar vein, CL 547011 removes the last vestiges of <foo>: T. This was once the notation for pattern constraints.

Spec

Various bug fixes, with special thanks to @nicuveo for raising many of these.

Builtins

The following four functions have been added to the net package:

  • PathEscape
  • PathUnescape
  • QueryEscape
  • QueryUnescape

Thanks to @eraserhd for this change.

CL 549087 reimplements pkg/list.Sort. The resulting reduction in the number of allocations and other work gives rise to a ~80% reduction in running time against CUE benchmarks.

cmd/cue

CL 547212 improves the documentation for the -l flag passed to cue import. This addresses a frequent point of confusion in questions to GitHub Discussions and on Slack.

CL 550616 fixes cue get go to respect the --exclude flag for constants. This makes it possible to (for example) exclude all unexported identifiers from a cue get go run.

CL 555576 fixed an important bug where cmd/cue vet was not properly consuming all input data.

CL 556526 fixed a bug where CUE files beginning with an underscore were not being loaded when explicitly given as filename arguments.

WebAssembly (Wasm)

We have added preliminary support for Wasm. Users can compile code from any language and toolchain that supports Wasm into plugins that are dynamically loaded by CUE. Users can then call and use functions from these Wasm modules, just like they can use standard library functions.

See the documentation at cuelang.org/go/cue/interpreter/wasm to learn more about Wasm and its current limitations.

Changelog

All changes

283 changesby area

all11

  • allremove a few more unused bits of code@mvdanc8e51a5
  • allreplace godebug/diff with go-cmp/cmp@mvdanfa6e229
  • allsed-replace all trivial uses of ioutil@mvdanf56ccf0
  • alluse strings.Builder in a few more places@mvdan97cba0b
  • allgo fix to remove old build tags@mvdan8868ae6
  • allmove pkg/gen and internal/cmd/qgo to build-ignored files@mvdanbad36b2
  • allmake HTML escaping in JSON an opt-in@mvdan48207fb
  • alladd tests to cover HTML escaping via encoding/json@mvdan1aefd09
  • allremove duplicate words in comments@Abirdcflyd8c71fa
  • allcorrect typos and duplicate words in comments@alexandear2e28b01
  • allremove support for ::@mpvla6055ea

cmd20

  • cmd/cuefix regression when injecting vars with cue cmd@mvdanda3ee7d
  • cmd/cueprint returned error@mpvl450ff90
  • cmd/cue/cmdadd test for issue 2251@mpvl19af1e9
  • cmd/cueproperly consume all data input in vet@mvdanb22ec6a
  • cmd/cueadd AllocBytes and AllocObjects to stats@mvdan03d85b8
  • cmd/cuerefactor our use of cobra@mvdan59080b6
  • cmd/cuedo not defer closing files in fmt's loop@mvdan7f79469
  • cmd/cuecheck all file I/O errors in fmt@mvdan8c6d9ba
  • cmd/cueremove skipped test scripts for fixing old definitions@mvdan9505e90
  • cmd/cue/cmdremove unused code@rogpeppeaa8c66f
  • cmd/cueavoid loading the current package in cue help@mvdan143b102
  • cmd/cueremove fallback version code for Go 1.17@mvdane806bba
  • cmd/cueremove go install long tests@mvdanfa1f369
  • cmd/cueadd CUE_DEBUG_PARSER_TRACE environment variable@4ad34a27bb
  • cmd/cuerespect --exclude for constants@rogpeppeb44e16d
  • cmd/cueadd test case for --exclude@rogpeppe2fa4ee6
  • cmd/cueremove use of stderr directive@mpvl7d89acd
  • cmd/cueinclude Go in the version command@mvdan879f902
  • cmd/cuemention doc location for -l flag@rogpeppe56caeaf
  • cmd/cueadd tests for issue 1926@mpvl9b573be

cue42

  • cue/astclarify what is a valid identifier@mvdanc4ced5e
  • cue/loadfix Instances race@rogpeppec10d7cb
  • cue/loadallow _*.cue files when explicitly listed@myitcvb16f6ce
  • cuefix some low hanging fruit from staticcheck@mvdan41b38fe
  • cuereport useful error for uninitalized Context@mpvlb8e2bf0
  • cueadd extra TestAttributeString test@rogpeppe876af7a
  • cue/scanneradd Offset method and export DontInsertCommas@rogpeppede9e760
  • cueadd more attribute tests@rogpepped8a0e26
  • cuedocument UnifyAccept@mpvlc054274
  • cue/astfix staticcheck warnings@mvdancc6b544
  • cueallow iterating hidden fields and definitions of embedded scalars@mpvlde44cab
  • cue/astsupport specifying required fields in NewStruct@mpvl1432683
  • cueadd a "decimal" benchmark@mvdanf3be10a
  • cue/testdataadd regression test for #2244@mvdan442c023
  • cue/interpreter/wasmadd user-level docs@4ad40fb30d
  • cue/interpreter/wasmadd Wasm support for abi=c@4ad0520a3f
  • cue/loadreplace go-internal/semver with x/mod@mvdan6c92698
  • cue/buildremove context.Context field@rogpeppe1932295
  • cue/astfix IsValidIdent for _0@rogpeppe9422314
  • cuemore support for required fields for selectors@mpvl0e16084
  • cuefail on required field in various cases@mpvle7d7c6a
  • cueremove field type@mpvld05d9c1
  • cueadd support for zero values in Value.Float64@kcburge8d31dad
  • cue/load/tagsadd arch to set of injectable system variables@jpluscplusm752b8e4
  • cue/errorsremove redundant Sort call in list.sanitize@zeithastef106acf
  • cue/errorsbetter vetting of error formats@rogpeppec630554
  • cue/loadminimal module fetching implementation@rogpeppecb9d6ed
  • cue/loadavoid using ioutil.ReadDir to list directories@mvdand077202
  • cue/astprepare for required fields@mpvl1da0fd9
  • cue/loaddon't read parent directories in tests@mvdan9e014c3
  • cue/ast, cue/parserparse function types@4ad8f0fe77
  • cue/contextsupport internal interpreters@mpvl7617de2
  • cue/load/internal/...copy pkgs from Go source@rogpeppe5723470
  • cue/loadrefactor loader@rogpeppec28d75a
  • cue/loadmove code before refactoring@rogpeppe87b91c9
  • cue/statsuse int64 for stats counters@mvdan7073554
  • cue/testdata/benchmarksadd benchmark for sort@mpvl9f538a6
  • cue/loadadd initial module.cue schema@rogpeppeb2087b9
  • cue/loaduse cue package to interpret module.cue file@rogpeppe1b6fb4e
  • cue/loadminor tweaks@rogpepped78f1a2
  • cue/scannerremove block comment scanning@mpvl5d0a6f2
  • cue/parserremove last vestiges of <foo>: T@mpvlfd170da

doc4

  • doc/tutorialfix typo@toshi06072304cb5
  • doc/ref/spec.mdfix uint16 and uint32 values range@joanlopezc67fe60
  • doc/tutorial/kubernetesfix build breakage@mpvlb05585b
  • doc/ref/spec.mdadd required fields@mpvl9a7c8fb

encoding6

  • encoding/gocode/gocodecuse different generic type signature@rogpeppe1a98ee1
  • encoding/gocode/gocodecallow cue.Context@rogpeppe1e76095
  • encoding/jsoncheck that required fields are present@mpvladbe80e
  • encoding/protobuf/jsonpbremove unused code@rogpeppeb2476bd
  • encoding/protobufremove unused code@rogpeppeb41f26f
  • encoding/openapiremove unused code@rogpeppe36645d1

internal166

  • internal/core/depalways introduce Environment for Comprehension Value to fix panic@mpvl99e8578
  • internal/core/depadapt Recurse to mimic dep.Visit@mvdan97d7109
  • internal/ciuse cue-lang/cuelang.org workflow_dispatch for tip@myitcv33b7393
  • internal/core/adtlets of comprehensions are multi lets@mpvl43b4674
  • internal/core/adtalways mark let in comprehension as "complete"@mpvl5123737
  • internal/core/adtfind late-stage conflict errors@mpvl0c48837
  • internal/core/adtadd tests to fix 2481@mpvld3444e3
  • internal/core/adtfix stack overflow with comprehensions@mpvl33071c0
  • internal/core/compilereject "_" as an alias name@mvdanbcbe967
  • internal/core/depprevent passing "empty" vertices to tools/flow@mvdanc3eda1d
  • internal/core/adtdo not delay processing of fields@mpvle7cfb50
  • internal/core/adtadd tests for upcoming issues@mpvlcabc1db
  • internal/core/adtpass state to addList@mpvlb38aece
  • internal/core/adtset scalar more proactively@mpvlab15bb8
  • internal/core/adtbetter error message for cycles@mpvl5e84a6d
  • internal/cicount number of Signed-off-by lines@myitcv4ba1b15
  • internalremove a few unused APIs@mvdan1c1a7b3
  • internal/core/depfix recursive let processing@mpvlca1f812
  • internal/core/depadd Dependency.Recurse@mpvlf6e49bd
  • internal/core/depprepare for public APi@mpvl0554d4e
  • internal/core/adtmark comprehension key as dynamic@mpvld4fd104
  • internal/core/depfurther improve dependency analysis@mpvlf513654
  • internal/core/depadd more tests ahead of changes@mpvl202eb3e
  • internal/core/depadd references and line in test output@mpvl518bafa
  • internaluse Scanner API to parse attributes@rogpeppe3400e74
  • internal/core/deprequire importPath argument@mpvl4fcf29c
  • internal/core/dephandle inline composite literals@mpvl07ae1be
  • internal/core/exportavoid _#def if unnecessary@mpvld112f64
  • internalchange attribute tests to be less implementation-specific@rogpeppe7741d21
  • internal/core/depadd and modify some tests for issue 2247@mpvl24e8d56
  • internal/core/exportfix panic converting int label to identifier@mpvl24f3fb3
  • internal/core/exportpreserve original field aliases@mpvl7be6224
  • internal/core/compilefix offset error in pattern alias@mpvl914d64d
  • internal/ciconsistently trigger Unity as porcuepine@mvdana0510ac
  • internal/cibump Go and GoReleaser prior to alpha.2@mvdanb6a32da
  • internal/core/exportavoid panics on computed comprehensions@mvdan6db2253
  • internal/core/adtreturn from Accept earlier for hidden fields@mpvlc724eef
  • internal/core/adtadd missed error@mpvl19749aa
  • internal/core/adtfail on missing required field in comprehension@mpvla991bd6
  • internal/core/adtadd position for required field error@mpvl452e143
  • internal/core/validateallow required fields in definitions@mpvl317f88d
  • internal/cuetestremove support for CUE_LONG@mvdancb461fd
  • internal/encodingremove unused code@rogpeppe251790e
  • internal/citrigger Unity on master as porcuepine@mvdan2148aed
  • internal/ciremove cue-unity/unity from codereview.cfg@mvdanc341427
  • internal/core/convermake use of reflect.Value.IsZero@mvdan5318af1
  • internal/cifurther tidy up@myitcv82f96c5
  • internal/pkgmove pkg/internal to internal/pkg@4ad88922d1
  • internal/cuetxtarprint error details@rogpeppe80d6ea0
  • internal/core/convertsplit the cue tag commas after the last quote@ghostwheel4249a64f4
  • internal/ciuse go1.20.3 for releases@myitcv9db1b95
  • internal/tdtestuse field name in default error message@mpvl401cab2
  • internal/core/adtfix Definition closedness bug in API@mpvlc3c8eb7
  • internal/core/adtfix NotEqualOp for lists with differing lengths@mvdan6e185bb
  • internal/diffremove unused code@rogpeppe9e22283
  • internal/core/adtfix let closedness issue with API use@mpvl731ddd9
  • internal/core/exportavoid introducing shadowing@mpvl1c9a3b2
  • internal/tdtestnew table-driven test package@mpvl102150d
  • internal/corefail on missing required only when concrete@mpvlf85172a
  • internal/core/adtadd wrapper for inline Vertex@mpvl071c4ab
  • internal/core/exportalways export required fields@mpvld5dd9ec
  • internal/cifix cache eviction@myitcv53d3bc7
  • internal/ciaddress review feedback from CL 551352@myitcv06397b5
  • internal/ciallow trybot workflows to be workflow_dispatch-ed@myitcv09221a3
  • internal/core/adtrequired fields checked for closedness@mpvl42580d5
  • internal/cirefactor CI workflows@myitcvd71a76c
  • internal/ciremove hard-codings in base package@myitcvf881884
  • internal/core/adtchange addList signature@mpvl0c840f6
  • internal/core/adtintroduce ArcNotPresent@mpvle3a7fcf
  • internal/core/adtuse value array for Disjunction@mpvl166ac88
  • internal/core/adtspecialize injectComprehension@mpvlfa4f2d3
  • internal/core/adthoist comprehension loop body@mpvle0f5681
  • internal/cimove evict_caches to base@myitcvcef63a3
  • internal/ciremove mention of matrix and runner from base@myitcv3ed9f92
  • internal/ciremove trybot from push branches@myitcv5cd427a
  • internal/cirefactor base caching pattern@myitcv92b28c4
  • internal/cidrop pullThroughProxy step@myitcv79aceb7
  • internal/ciimprove push_tip_to_trybot defaults@myitcvbe0601b
  • internal/ci/githubrename repo -> _repo@myitcv646e965
  • internal/ciimport repo package once in github package@myitcv7aec30c
  • internal/cidrop parameter from trybotDispatchWorkflow@myitcv6318def
  • internal/cibump GoReleaser to v1.16.2 ahead of v0.5.0 release@myitcv5ec06d9
  • internal/cirename core -> repo@myitcv6d6ffb4
  • internal/ciswitch to actions/setup-go@v4@mvdand9c354b
  • internal/cialways force push to trybot repo@myitcved2a9c7
  • internal/ciuse unity and cuelang.org config from core@myitcv4cbb563
  • internal/ciDRY up core based on new base defaults@myitcv1195b3d
  • internal/ciestablish better defaults in base@myitcvaf02a2c
  • internal/cimove away from using defs in github@myitcv7a7ca81
  • internal/cimove away from using definitions in base@myitcvd7a1740
  • internal/ciuse core directly instead of _base alias@myitcvf446b87
  • internal/cimove away from using defs as params in base@myitcv305dc1d
  • internal/cicollapse gerrithub package into base@myitcv9729270
  • internal/citweak gerrithub package "params" ahead of move to base@myitcv1980621
  • internal/cisplit base into separate files@myitcv3a52c19
  • internal/cirename base parameter field name@myitcvcdd5730
  • internal/cimove pushTipToTryBot workflow to gerrithub package@myitcv0290e04
  • internal/cirename gerrithub #dispatchWorkflow@myitcv0cfd8c5
  • internal/ciremove hard-codings in gerrithub package@myitcvf5277b9
  • internal/cimove configuration from workflows.cue to core@myitcv1bb7e10
  • internal/ciremove workflow files pre generate@myitcvb418955
  • internal/cisplit base into separate files@myitcvd638a35
  • internal/ciremove workflow files pre generate@myitcvf723eb7
  • internal/cirename gerrithub #dispatchWorkflow@myitcvd276f58
  • internal/cimove configuration from workflows.cue to core@myitcv5a0922e
  • internal/cirename base parameter field name@myitcv584f3f0
  • internal/cimove pushTipToTryBot workflow to gerrithub package@myitcve440409
  • internal/cihoist dispatch keys to base@myitcve3ed297
  • internal/cimove workflows.cue defs to better places@myitcv0250807
  • internal/cihoist cache steps to base package@myitcv019f6dd
  • internal/ciimprove base package docs@myitcv57066d4
  • internal/cimake our checkout step configurable@myitcvee093e2
  • internal/cispecify githubRepositoryPath directly@myitcv9c075ca
  • internal/cimove core._#URLPath to base@myitcvdd965ad
  • internal/cimove core.#codeReview to base@myitcv8b14836
  • internal/cimove core package away from definitions@myitcv5475370
  • internal/ciimprove core package docs@myitcve1a8bee
  • internal/cirefactor the way we declare workflows@myitcv09b06ff
  • internal/core/adthoist value validation@mpvleea60b9
  • internal/core/adthoist comprehension code@mpvl47f0025
  • internal/core/adtreorganize nodeContext fields@mpvlf807ee8
  • internal/core/adtunexport more methods@mpvlce65141
  • internal/core/adtunexport VertexStatus@mpvl185eed7
  • internal/core/adtremove state arg from Err, SetValue, and UpdateValue@mpvl97904e3
  • internal/core/adtunexport Unify@mpvl7851142
  • internal/core/adtclone arcMap@mpvldbf7bb8
  • internal/ciremove the cachePost steps@myitcv6843415
  • internal/cibump default of cue version to v0.5.0-beta.5@myitcv3121a27
  • internal/ciupdate base early git checks from alpha.cuelang.org@myitcv4509e7f
  • internal/core/adtallow required dynamic fields@mpvlc3138e3
  • internal/ciskip test cache on protected branches@myitcv21f494d
  • internal/core/adtimplement required fields.@mpvl0b681f5
  • internal/core/adtmerge OptionalField and Field types@mpvl1822d52
  • internal/cibump pinned version of Go for releases@mvdane5cd9ac
  • internal/ciuse a group of cue commands for go:generate@mvdand16b575
  • internal/cirerun trybot workflows post eviction@myitcva632d16
  • internal/citidy up use of curl for GitHub API calls@myitcvf4d0802
  • internal/cido not evict caches on push to ci/test@myitcv254f0f1
  • internal/cievict workflow caches on a daily basis@myitcvee81e77
  • internal/cibump to use ubuntu-22.04 as our linux machine@myitcv4686700
  • internal/ciuse actions/cache/restore for non-protected branch@myitcv38ee1c2
  • internal/cireset git directory timestamps faster@mvdanc7fd893
  • internal/cifix up modified times for all directories@mvdane31b8f7
  • internal/cirun long tests on linux when testing CLs@mvdandaa4022
  • internal/cirestore git modified times after cloning@mvdan829bd64
  • internal/core/adtuse ? in debug output@mpvl5fe040a
  • internal/core/adtoptional field rewrite@mpvl19bfdb9
  • internal/ci/gerrithubupdate comment to be clearer@mvdan4fed730
  • internal/core/adtfinalize earlier for arcs@mpvlc80a690
  • internal/core/adtpass member type to insertField@mpvl27b096c
  • internal/core/adtremove duplicate statement@mpvl383ff3e
  • internal/core/adtexport arcType and friends@mpvl4f32fb4
  • internal/core/adtrevert fix for 2209@mpvlc8e580e
  • internal/core/adtfix possible infinte loop for API usage@mpvl782cae0
  • internal/core/adtfix regression in comparing to bottom@mpvl9954cc2
  • internal/core/adtremove unnecessary check@mpvl1a0a81b
  • internal/core/adtdetect closed lists as fatal errors@mpvl06fbefe
  • internal/core/adtsharpen condition for scalar setting@mpvl9b1f222
  • internal/cuetxtarconfigurable load.Config@rogpeppe7485f58
  • internal/ciuse simpler "go get" to pull a version through the proxy@mvdaneff0108
  • internal/cionly run release workflow on main repo@myitcvce37b63
  • internal/cido not release "zero" releases in release workflow@myitcv02e19c8
  • internal/cifix goreleaser in non-snapshot mode again@mvdanae0d7ca
  • internal/cifix and test the release workflow on branches@mvdan266bb32
  • internal/core/adtfix 2235@mpvl3c8f0ad
  • internal/core/adtadd tests for 2235@mpvl125e40b

pkg7

  • pkg/encoding/jsonadd tests that needs to be fixed@mpvl8df1034
  • pkg/encoding/jsonadd more structure to tests@mpvl6922e14
  • pkg/pathremove unused code@rogpeppeab48c0f
  • pkg/netadd Path{E,Une}sape and Query{E,Une}scape@eraserhd9082446
  • pkg/toolsmall fixes to CUE docs@mvdan3d08fb2
  • pkg/listsimply template for Ascending@mpvl9dbb373
  • pkg/listreimplement sort@mpvl2e70ac7

tools3

  • tools/flowcheck cycle marker@mpvl9a566ed
  • tools/fixremove unused code@rogpeppe1f888b5
  • tools/flowsupport tasks inside slices@rogpeppe6e0366f

Other24

  • depsupgrade to go1.20.6 for release builds@myitcv538eb9c
  • CONTRIBUTINGfix references to the old Unity repo@mvdan23e265d
  • deduplicate content between README and CONTRIBUTING@mvdan4c48cee
  • move doc/contribute.md to CONTRIBUTING.md@mvdandb28ec6
  • readmewarn new contributors not to use SSH auth@jpluscplusmf4c5639
  • correct misleading phrases in documentation@chee-zaram0755dc8
  • specadd definition for dynamic fields@mpvl3a635fc
  • specvarious fixes@mpvle46324e
  • increase apd.Context precision from 24 to 34@mvdan7bcbcd6
  • update to cockroachdb/apd v3@mvdan4728223
  • depsswitch to use quicktest instead of testify@myitcv12908b3
  • codereview.cfgadd cue-unity-new@mvdana670427
  • docs/tutorialrevert to using cue eval -i@myitcv5e66c83
  • update txtpbfmt to drop indirect dependency on glog@mvdan410eea1
  • bump golang.org/x and go-internal deps@mvdan3f51337
  • start using Go 1.20, drop Go 1.18@mvdand1a6da8
  • Revert "internal/ci: move pushTipToTryBot workflow to gerrithub package"@myitcv87db1a5
  • Revert "internal/ci: rename base parameter field name"@myitcv2461c51
  • Revert "internal/ci: move configuration from workflows.cue to core"@myitcv26ff449
  • Revert "internal/ci: rename gerrithub #dispatchWorkflow"@myitcv38156f2
  • Revert "internal/ci: remove workflow files pre generate"@myitcv0d89b9b
  • Revert "internal/ci: split base into separate files"@myitcvee7509f
  • .githubclarify what we mean by "latest release"@mvdan03e8f29
  • internal/encoding/{json|yaml}: disallow non-regular fields@mpvl76e0be4

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

PlatformFile and SHA-256
macOS, Intelcue_v0.6.0_darwin_amd64.tar.gz960c8d863f18b1e78c7bc5eeb6e720fe20f47ee7311b935b0bbdeeb5430ab0b0
macOS, Apple siliconcue_v0.6.0_darwin_arm64.tar.gze5af24a5017f3e60eb0d1647744239c5e53c6e521a311c85930eba18ff1bc87a
Linux, x86-64cue_v0.6.0_linux_amd64.tar.gz3ae7b28e12de2e0554c28d9a9eb3dd919f0640274c925ba0e36de9079af80de2
Linux, Arm64cue_v0.6.0_linux_arm64.tar.gz57d9517b6af3e33e7614fa755dfb9ce14c3b05195aaa835fbe8e592db3cee203
Windows, x86-64cue_v0.6.0_windows_amd64.zip69c32671349665ec4af9b8ab7a312e870b8318bf747041c0da2b8f505ce0e2e5
Windows, Arm64cue_v0.6.0_windows_arm64.zipc8ba01b8914da74bedbca653846c0311dcc2ed07fdb83bebacc59ba0f72c3f7e

SHA-256 checksums for all of these: checksums.txt

Install CUE