v0.3.0-beta.6
This release has some important bug fixes, fixing some regressions in disjunctions and trim, mostly, among some other bug fixes.
Some of the regressions in this release slipped in because a swat of tests was accidentally disabled in the move to the new evaluator. All former tests are now reenabled and a few more corresponding issues have been resolved.
There are some performance issues remaining. We are considering leaving those in and do a v0.3.0 release, addressing these in a subsequent release. In this case, we are getting fairly close to a v0.3.0.
There will still be a beta.7 release, which addresses a regression, allowing commands in non-tool files, that we would like to address in a separate release.
All changes
33 changesby area
ci3
cifix goreleaser configcimove to using go1.16ciset a "trybot" tag for trybot repository dispatch flow
cmd5
cmd/cue/cmdcorrect documentation for -d flagcmd/cue/cmdremove skip testscmd/cue/cmduse unify semantics merging across packagescmd/cuemake get go operate on a best-efforts basiscmd/cueonly ignore type and parse errors with get go
doc6
doc/ref/spec.mda few fixesdoc/ref/spec.mdfix escapingdoc/ref/spec.mdfix int_lit0doc/ref/spec.mdremove faulty use of \x in double-quoted stringdoc/tutorial/basicsfix exampledoc/tutorial/kubernetesadd required go mod init step
internal11
internal/core/adtadd more error positionsinternal/core/adtallow hidden fields alongside embedded listsinternal/core/adtdiscard errors in field verificationinternal/core/adtdon't count optional fields as proof of structinternal/core/adtdon't eliminate incomplete disjuncts prematurelyinternal/core/adtget default when comparing ot bottominternal/core/compilefix let resolution buginternal/core/compilereenable disabled testsinternal/core/evalminor performance improvements for disjunctionsinternal/core/runtimedecouple cue API from Runtimeinternal/cuetestadd support for issue-based conditions/checkers
Other8
cueValue.Equal should not only consider valuescueremove build.Context referenceencoding/jsonschemafix dropping of struct for additionalProperties: truegeneraladd .unity-bin to gitignoregeneraladd unity configuration to codereview.cfgpkg/internalfix decimal and string list errorspkg/listfix list.Unique deduppingtools/trimfix too aggressive elimination for disjunctions
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_298537d7a667d622047626e58bd260db76bf89791c7162003bbf7c1fd946d5a6 |
| Linux, x86-64 | cue_d7290e8c3d3d551a5b9150c818b4b8409d7626b3c530e80360a10f4d438e992c |
| Linux, Arm64 | cue_a258c8bff8e9f39c47cc77700a171085ffb05039da578d8cef962a02a07703e5 |
| Windows, x86-64 | cue_30e949398c9c96a05091895a163e729666dcc4981c8083b4738dca51a395da97 |
SHA-256 checksums for all of these: checksums.txt