v0.12.0

cue-lang/cue Released

A release of CUE OSS · its page on GitHub

This release fixes dozens of bugs in the new evaluator, enables the embed and toposort experiments by default, further improves JSON Schema support, and introduces cue exp gengotypes.

Changes which may break some users are marked below with: ⚠️

Evaluator

CL 1205861 enables the Embedding proposal via CUE_EXPERIMENT=embed by default, given that the proposal was accepted in late December.

Since v0.11.0, an experimental “topological sorting” of struct fields has been available via CUE_EXPERIMENT=toposort; this release enables the experiment by default. Topological sorting produces a more principled ordering of fields as produced by cue export and cue eval. The intent is to ensure the old and new evaluators order struct fields in the same way, in order to build confidence and ease the transition to the new evaluator.

We encourage all CUE users to update to this release and switch to topological sorting for their CUE outputs. An issue for gathering feedback is available, should you run into any issues.

A great deal of work has happened in the new evaluator, which can be used via CUE_EXPERIMENT=evalv3. Marcel also recently posted another update on performance progress. Below is a selection of particularly relevant changes in the new evaluator.

CLs 1204490, 1204669, and 1205368 resolve a number of significant performance issues spotted in the new evaluator.

CLs 1206123, 1206178, 1206284, 1206321, 1206385, and 1207910 fix a number of disjunction issues leading to incorrect behavior in the new evaluator.

CLs 1206327, 1206383, and 1206384 fix a number of cycle issues leading to incorrect errors in the new evaluator.

CLs 1206823, 1207237, 1207314, 1204365, 1205361, 1205363, and 1207714 fix a number of closedness issues which resulted in missing or incorrect errors in the new evaluator.

CL 1207912 fixes a regression which could cause “not properly initialized” errors in the new evaluator.

CLs 1206926, 1207169, 1207263, 1207545, and 1207715 fix panics which were recently discovered.

CL 1205862 sorts conjuncts in binary expressions to reduce ordering differences between evaluator versions.

CL 1207908 ensures that conversions of Go values to CUE respect struct field order, for the sake of topological sorting.

CL 1207907 ensures that converting Go arrays to CUE uses list.Repeat rather than the now-removed list arithmetic syntax.

CL 1204491 introduces CUE_DEBUG=openinline, enabled by default, which emulates the old evaluator’s incorrect closedness behavior in some edge cases. This should help the transition towards the new evaluator, and allow us to fix the behavior of these edge cases in future CUE releases.

CL 1204608 introduces CUE_DEBUG=sortfields which sorts all struct fields lexicographically. This replaces CUE_DEBUG_SORT_ARCS=1, which did not work with the new evaluator.

Go API

⚠️ CL 1205569 enables CUE_EXPERIMENT=decodeint64 by default, causing cue.Value.Decode to choose int64 rather than int as the default Go type for CUE integer values.

CL 1206368 adds a cue/token.Pos.Compare method to allow comparing two positions, for example to sort via slices.SortFunc.

CL 1207007 adds encoding/jsonschema.Config.AllowNonExistentRoot to prevent an error when no value is found at the Config.Root path.

Builtins

CL 1204378 teaches list.UniqueItems to handle incomplete values correctly, fixing a bug in JSON Schema.

CL 1204425 fixes list.MatchN so that it matches final values, like the matchN evaluator built-in, fixing a bug in JSON Schema.

⚠️ CL 1204920 removes the long-deprecated cue.Value.IsClosed method.

⚠️ CL 1205530 removes the long-deprecated cue.Instance.Doc method.

⚠️ CL 1205529 removes the long-deprecated cue/load.Config.BuildTags field.

cmd/cue

CL 1207142 adds the new command cue mod rename to aid in changing the module path of the current module.

⚠️ CL 1206950 fixes an issue where incomplete errors were not being reported by cue eval and cue vet.

CL 1204111 fixes some edge cases where CUE comments were lost or duplicated, particularly with cue def.

CL 1204874 re-enables command suggestions when a user makes a typo like cue exprot.

CL 1206784 fixes an issue where arguments and flags in cue cmd could not be interspersed, unlike other subcommands.

Encodings

The new experimental command cue exp gengotypes allows generating Go type definitions derived from exported CUE schemas. This can be a nice alternative to cue get go for projects developing both CUE and Go, if one wishes to maintain the source of truth for shared schemas in CUE. cue exp gengotypes is generally more reliable than cue get go, given that Go’s type system is not as powerful.

JSON Schema spec compatibility is improved further by fixing a number of bugs and adding missing features. Notably, it now supports arbitrary references to internal structure in $ref. JSON Schema’s spec test suite has gone from a “pass” rate of 75% to 79% thanks to these efforts.

⚠️ CL 1207146 tweaks JSON Schema to not generate defaults, given that they are annotations rather than constraints, and generating CUE defaults causes various issues.

All changes

270 changes since v0.11.0by area

all8

  • allenable toposort by default@cuematthewf8defbb
  • allswap sort for slices for []string values@mvdanb91f874
  • allmake more use of slices.SortFunc@mvdanefcf06d
  • allmake more use of slices.Compare and slices.CompareFunc@mvdanebe2298
  • allsunset CUE_EXPERIMENT=modules@mvdanc8033e9
  • allCUE_EXPERIMENT=modules no longer needs to be set in tests@mvdaneaea301
  • allfix "a the", "the a", and "the the" mistakes@mvdanb18a322
  • allfix testdata remnants of cue/format indenting first lines@mvdan29e0b46

cmd29

  • cmd/cuestop help text implying support for globs@jpluscplusm870bfc2
  • cmd/cuereject login --token=""@mvdan6ada21c
  • cmd/cueadd test for 3646@mpvl18f0ae8
  • cmd/cuefix a regression with cue get go dropping CUE files@mvdanb193af0
  • cmd/cueadd a test case to reproduce #3644@mvdanc94fd55
  • cmd/cueadd gengotypes test cases overriding a pointer type@mvdan1b787cd
  • cmd/cuenew command: cue mod rename@rogpeppe416adfc
  • cmd/cue/cmdfix reference@mpvl85e8a7e
  • cmd/cueadd cue exp gengotypes@mvdan51c5fdf
  • cmd/cueremove mention of -p from cue help export@jpluscplusm413bb17
  • cmd/cueallow interspersed flags in cue cmd@mvdane41efd5
  • cmd/cueadd a test case for cue cmd foo args -t tag@mvdand182fc2
  • cmd/cuefix find-files testscript builtin to use relative directory paths@mvdan41d0797
  • cmd/cuefix the only SA4004 error@mvdan7da6f24
  • cmd/cueallow tidy to add dependencies from any unqualified import@mvdand55208c
  • cmd/cuetest whether tidy can add a dependency path with dashes@mvdan82ebb11
  • cmd/cueadd a regression test for an export -e bug fixed by evalv3@mvdan2589f7f
  • cmd/cueremove support for CUE_DEBUG_SORT_ARCS@mvdanf2775f8
  • cmd/cuefix spelling of CUE_EXPERIMENT for evalv2@myitcv54c734c
  • cmd/cueadd new CUE_EXPERIMENT and CUE_DEBUG flags to help environment@mvdan4e92634
  • cmd/cueadd regression test for #3616@myitcvf99441a
  • cmd/cuededuplicate the use of CUE_EXPERIMENT=evalv3@mvdan46c1cb2
  • cmd/cueadd a testscript for CUE_DEBUG=sortfields working with the Go API@mvdan4258e9a
  • cmd/cueenable subcommand suggestions when a user makes a typo@mvdane11cbfb
  • cmd/cueadd a test case for a subcommand typo@mvdan70e5273
  • cmd/cueadd tests for the loss of comments with cue def@haoqixub1f4f09
  • cmd/cueadd test for the loss of comments with cue def@haoqixu43a16ed
  • cmd/cuewire up CUE_DEBUG into the runtime for evalv2@mvdan4c1eb5c
  • cmd/cueadd integration test for CUE_DEBUG=sortfields@mvdane514fb7

core4

  • core/toposortCorrect CloseInfo Decl@cuematthewdb9cc73
  • core/convertCorrect conversion of array types@cuematthew8dc16dd
  • core/convertEnsure Go -> CUE conversion respects struct field order@cuematthew60c33d8
  • core/toposortStop using RawString@cuematthewf53f655

cue33

  • cue/testdataupdate out/eval/stats after concurrent merges@mvdane9ad52f
  • cueclean up how we marshal CUE numbers as JSON@mvdan5cf504f
  • cue/tokenrevert to NoPos sorting last, and document it@mvdan7ef4b6a
  • cueadd a benchmark regression test for issue 572@mvdanb5e1647
  • cue/buildclean up the Instance docs a bit@mvdane44b17d
  • cue/scannerdrop support for //line comments@mvdan901604a
  • cue/errorsuse cue/token.Pos.Compare@mvdanae8ee75
  • cue/tokenNoPos is smaller than any valid position@mvdan5e89f6b
  • cue/tokenadd Pos.Compare from toposort@mvdan5c2ce05
  • cueadd regression test for matchN of structs within lists@mvdan22bec0c
  • cueadd a regression test for invalid pattern matching syntax errors@mvdand50dcf6
  • cue/loadassume that Config.Registry is set when SkipImports is false@mvdan33945a2
  • cue/ast/astutilensure imports always start a new section@rogpeppe226aac1
  • cue/ast/astutiladd test for file-level comments joining with imports@rogpeppedef8bcf
  • cue/astremove outdated docs@rogpeppe1ea52f1
  • cueenable CUE_EXPERIMENT=decodeint64 by default@mvdan0005c22
  • cueadd more godoc links@mvdan0e99c20
  • cueremove Instance.Doc@mvdan54dc544
  • cue/loadremove Config.BuildTags@mvdan49a53d2
  • cueuse embedding for UnifyAccept in V3@mpvld471ca1
  • cue/parseralways allow predeclared identifiers on RHS@mpvlec9117a
  • cue/errorssimplify printError@mvdan4ce128d
  • cueuse Value.ctx helper method consistently@mvdan5d8f2cd
  • cuerewrite away all uses of Iterator.Label@mvdan671ce60
  • cuereenable Allows(AnyDefinition) test case with a TODO@mvdanc360ba8
  • cueremove the deprecated and hidden Value.IsClosed method@mvdane53cb65
  • cueuse cue/literal to parse integers out of attributes@mvdan5dee391
  • cueadd an attribute test with a non-Go integer literal@mvdan3487155
  • cuemake the tests non-chatty by default@mvdan3c11890
  • cuefix loss or duplication of comments@haoqixu53bbca5
  • cuefix the loss of comments in Value.Syntax()@haoqixuc9d519e
  • cue/loadsupport loading a CUE package whose directory ends with .cue@mvdanb54e767
  • cuefix Value.Unify closedness issues for evalv3@mpvl45e3256

encoding26

  • encoding/jsonschemado not generate defaults@rogpeppefdf92d1
  • encoding/jsonschemafail on mismatched error messages@rogpeppe09c9cca
  • encoding/jsonschemaupdate error messages@rogpeppe90396e5
  • encoding/jsonschemaadjust doc comment@rogpeppe59b0f46
  • encoding/jsonschemaadd Config.AllowNonExistentRoot@rogpeppe15f243b
  • encoding/openapirewrite uses of deprecated cue.Value methods@mvdan7373f67
  • encoding/jsonschemarespect Config.PkgName@rogpeppe4f8b741
  • encoding/jsonschemaadd test for Config.PkgName@rogpepped5de8d4
  • encoding/jsonschemaimplement Config.DefineSchema@rogpeppe0112a33
  • encoding/jsonschemaupdate external test errors@rogpeppec4ef079
  • encoding/jsonschemarefactor reference handling@rogpeppe028c6f3
  • encoding/jsonschemaadd structBuilder type@rogpeppeccaee22
  • encoding/openapifix updating golden files in tests@rogpeppe6e34b9e
  • encoding/jsonschemadefine isTop and isBottom functions@rogpeppe5fdf0c2
  • encoding/jsonschemado not use explicit phase for TODO constraints@rogpeppe9639ed8
  • encoding/jsonschemaremove isSchema field@rogpeppe781f140
  • encoding/openapisimplify looping over CUE fields@mvdanafafedb
  • encoding/jsonschemasimplify ref logic without changing behaviour@rogpeppec53f32a
  • encoding/jsonschemado not return state from schemaState@rogpeppe6985d38
  • encoding/jsonschemainclude doc comments for definitions@rogpeppe1f00e31
  • encoding/jsonschemaadd test for a doc comment on a definition@rogpeppe65b1005
  • encoding/jsonschemafix oneOf with unconstrained elements@rogpeppe956a558
  • encoding/jsonschemaadd test case for issue 3586@rogpeppe15f57d8
  • encoding/jsonschemaclose structs and mark fields as required in enum and const@haoqixu0ad2119
  • encoding/jsonschemaprevent invalid end position of id tag@haoqixu407cccd
  • encoding/jsonschemaadd a test for panicking about invalid pos@haoqixu7d64696

internal145

  • internal/core/adtforce finalizing of shared values@mpvlf752335
  • internal/core/adtadd tests for 3648@mpvl72c7c27
  • internal/core/adtfinalize disjunctions once known@mpvl4f4e4d5
  • internal/core/adtadd test for issue 3699@mpvl06f2f87
  • internal/core/adtfix completion-related counter issue@mpvl98692a5
  • internal/core/adtfix sharing-related counter issue@mpvl105b8b7
  • internal/core/adtfix EVAL counter issue@mpvla833722
  • internal/core/adtfix disjunction counter issue@mpvlad7b84b
  • internal/core/adtfix disjunction error counter issue@mpvl079442c
  • internal/core/adtremove closedness for ToDataAll@mpvl1ac3fe0
  • internal/core/adtadd tests for issue 3694@mpvlf02d1f1
  • internal/ciupdate pinned Go for the next release@mvdan775ce67
  • internal/core/adtfix name of method@mpvlac4c7d0
  • internal/core/adtseveral logging improvements@mpvl62b3005
  • internal/core/depfix handling sharing in non-rooted nodes@mpvlc8170aa
  • internal/coresearch harder for BinExprs in toposort@cuematthew9caec6f
  • internal/core/adtprevent early decrements in comprehensions@mpvlbdc2929
  • internal/core/adtdecrement DEFER dependencies in overlay@mpvl6b292d4
  • internal/core/adtbreak notification dependency on structural cycle@mpvlae730eb
  • internal/core/adtfix counter related to close builtin@mpvlaa6781f
  • internal/cueexperimentkeep all past experiments around@mvdan74c12e0
  • internal/core/adthandle dependencies fully in overlay@mpvle34f770
  • internal/encoding/gotypesignore definitions or fields via @go(-)@mvdan58a8351
  • internal/encoding/gotypesbetter support for CUE versus Go package names@mvdana1d8099
  • internal/core/adthoist dependency code@mpvl7d159b3
  • internal/core/adtsplit ccArc@mpvl4d3eafa
  • internal/core/adtprepare to differentiate types of arcs and notify@mpvl44a2e75
  • internal/core/adthoist dependency breaking code@mpvlba0639e
  • internal/core/adtrename cc to dst@mpvl43a313a
  • internal/core/adtsplit addDependency@mpvl06f5289
  • internal/core/adthoist dependency-related code into dep.go@mpvlf3d367a
  • internal/core/adthoist closedness related code@mpvldb6a8b9
  • internal/core/adtmove block of code@mpvl6a60de5
  • internal/core/adthoist dependency code from debug@mpvlfc9720c
  • internal/core/adtsplit closeContext.arcs@mpvlc2ebfdb
  • internal/core/adtsimplify linkNotify@mpvl13f38c9
  • internal/core/adtfix EVAL counter issue@mpvl9f913e0
  • internal/core/adtfix counter issue@mpvl0efb5e8
  • internal/core/adtadd disjunction info as blob to debug output@mpvlc880efb
  • internal/core/adtfix constraints deduplication@mpvl053f47b
  • internal/core/adtadd test for 3638@mpvlb1eaedd
  • internal/core/adtcopy sharedID across disjunctions@mpvl635d23b
  • internal/core/adtadd test for 3679@mpvlbdebb8a
  • internal/core/adtpropagate completion signal if disjunction is resolved@mpvl5ce7ba4
  • internal/core/adtadd test for 3681@mpvl682462a
  • internal/core/adtalways do decrement accounting@mpvl8a73d2b
  • internal/core/adtadd tests for 3672 and 3606@mpvld57d885
  • internal/core/adtadd disjunction information in log header@mpvlfbfff68
  • internal/encoding/gotypesdisjunctions of many kinds are not TODOs@mvdan4d852c8
  • internal/encoding/gotypesgenerate disjunctions of structs as a map@mvdan97b24b2
  • internal/core/adthoist logging-related code into separate file@mpvld113c59
  • internal/core/adtinitialize erroneous optional fields in disjunctions@mpvl0ad6826
  • internal/core/adtremove pattern optimization@mpvl05f5d76
  • internal/core/adtadd test for 3670@mpvl9ee56f7
  • internal/core/adtfix validator closedness issue@mpvl9e85cd7
  • internal/core/adtadd tests for 3639 and 3661@mpvld0564de
  • internal/core/adtdo not free vertex@mpvl393e9fa
  • internal/core/adtreduce counter issues@mpvled235a8
  • internal/core/adtdo not force externalDeps for disjunctions@mpvl12437a2
  • internal/core/adtuse explicit hole id@mpvl681ec9f
  • internal/encoding/gotypesobey @go(,type=) for optional fields@mvdanf62bb36
  • internal/core/validatedisallow incomplete errors in "Final" mode@mpvl3251b5c
  • internal/core/validateerror position now fixed@mpvl583af47
  • internal/core/validateadd test for issue 3651@mpvldfe3ae0
  • internal/ciset a custom default bash shell invocation@myitcvbbb2452
  • internal/core/adtfix issue 3599@mpvl211b2a2
  • internal/core/adtadd tests for issue 3599@mpvl9da90de
  • internal/core/adtfix potential index mismatch@mpvlbf6965e
  • internal/core/adtfix index out of bound panic@mpvl96cff7c
  • internal/core/adtfix closedness issue related to sharing@mpvlfddb432
  • internal/core/adtadd tests for two issues@mpvlb1e7012
  • internal/core/adtremove todo@mpvl640d9b3
  • internal/core/adtupdate error priority status@mpvl09654c6
  • internal/core/adtremove cycle check specifcally for dynamic vertices@mpvl5014742
  • internal/core/adtdo not proactively evaluate let@mpvld8fabe1
  • internal/cifix glob of files to delete@myitcv46fc54a
  • internal/core/exportuse cue/token.Pos.Compare@mvdanb51d7b9
  • internal/core/adtfix 2052 for eval v3@mpvle3359f5
  • internal/core/adtadd some smaller reducers for issue 2052@mpvla9f4f20
  • internal/core/adtfix dropping arcs with double and deep pushdowns@mpvlc905888
  • internal/core/adtadd test for issue 3621@mpvl4a76cb8
  • internal/core/adtchange some constants in test@mpvl00cfb22
  • internal/core/adtfix resolving disjunctions in calls@mpvl3ee8b07
  • internal/core/adtadd tests for Issue 3584@mpvlb1803fa
  • internal/core/adtfix self reference issue@mpvldb3a7c9
  • internal/core/adtadd test for issue 3178@mpvl0b6a4e8
  • internal/core/adtrename state constants in sched_test@mpvl962f60b
  • internal/core/adtpropagate child errors@mpvlf2c38f8
  • internal/core/adtadd tests for Issue 3576@mpvl2491cac
  • internal/core/adtfix disjunction error issue@mpvlc21e546
  • internal/core/adtadd tests for issue 3581@mpvl8288686
  • internal/core/adtfix let issue for eval v3@mpvle6cb9b3
  • internal/core/adtfix let issue for eval v2@mpvl2702426
  • internal/core/adtadd tests for 3590 and 3591@mpvl06f41bc
  • internal/core/adtdereference disjunct result@mpvle4c4b8e
  • internal/core/adtadd tests for Issue 3528@mpvl8f55942
  • internal/core/adtimprove disjunction of scalars@mpvl80743ca
  • internal/core/adtadd tests for issue 3415@mpvl3dbf61a
  • internal/core/exportsort conjuncts in binary expressions@mpvl6aa0277
  • internal/ciupdate Go and goreleaser versions for the next release@mvdan962fafa
  • internal/cueexperimentenable embed experiment by default@mvdan1b2d11c
  • internal/astinternaladd IncludePointers@rogpeppe950f7fb
  • internal/mod/modloadsort module versions when adding a new dependency@mvdan2be40ea
  • internal/core/adtremove resolved TODO@mvdan5bf869e
  • internal/core/adtmore pruning in partial disjunction check@mpvla03ed2e
  • internal/core/adtsupport simplifying string bounds@mpvl6d15591
  • internal/core/adtorder bound error messages@mpvld298a53
  • internal/core/adtfix bug in bound simplification@mpvlf9e5b6a
  • internal/core/adtrevert recent change@mpvl00fa80a
  • internal/core/adtpatch performance issue related to error reporting@mpvlf1ea2ff
  • internal/core/adtalternative algorithm for splitting trees@mpvl6c86b41
  • internal/core/adtfix closedness bug with patterns@mpvl4ae75f8
  • internal/core/adtpass closeContext to openDebugGraph@mpvl8aa5769
  • internal/core/adtalways create new closeContext on reference@mpvl9b61fc0
  • internal/core/adtadd various closedness tests@mpvlcce50f4
  • internal/core/adtcleanup some todos@mpvl5195004
  • internal/core/adtalso handle __no_sharing for V2@mpvl06cf5f4
  • internal/ciuse pull_request_target for PR CI jobs@mvdan5149ebd
  • internal/core/adtfix dropping of field@mpvl432c114
  • internal/core/adtmake Conjuncts type ConjunctGroup@mpvl787d04c
  • internal/core/adtsimplify code@mpvlf7d3973
  • internal/core/adtadd test for dropped field issue@mpvl4c7ee01
  • internal/core/adtallow selectively turning off sharing@mpvldc1ef63
  • internal/core/runtimeconsistently follow CUE_DEBUG env var flags@mvdand5527cf
  • internal/core/adtclose previously fixed issue@mpvl5ac1b8a
  • internal/core/adtadd tests for Issue 3535@mpvl698da05
  • internal/ciuse the new tipdeploy workflow in cuelang.org@myitcv9f217e1
  • internal/astinternalmake it easier to debug references@rogpeppe0b06bd5
  • internal/cistart enforcing staticcheck in CI@mvdan6f1b0a2
  • internal/core/adtinlining simplification@mpvl500ed27
  • internal/cuedebugrename files@mpvl9773dae
  • internal/cueexperimentremove yamlv3experiment@mvdan5e20434
  • internal/core/adtadd compatibility mode for issue 3534@mpvl2b55328
  • internal/core/adtadd tests for issue 3534@mpvl9b8a10c
  • internal/core/adtadd compatibiltiy mode for closedness issue@mpvl0639975
  • internal/core/adtimprove structure sharing in cycles@mpvlc29fd02
  • internal/core/adtadd test for perfromance issue 3587@mpvlf054292
  • internal/core/adtdisable prep for associative lists@mpvl00ca1c9
  • internal/core/adtfix error checking@mpvl5c9b07f
  • internal/core/adtadd tests for disjunction elimination@mpvl64de763
  • internal/core/toposortsupport sorting fields lexicographically@cuematthewd95fd51
  • internal/cidelete completed TODO about the old registry tokens@mvdan5ed8701
  • internal/ciupdate Linux to ubuntu-24.04@mvdan25b7f46
  • internal/tdtestmake compatible with cuetdtest@mpvl672755c
  • internal/cueversionbump LanguageVersion for v0.12@mvdan44696c3

lsp5

  • lspassert that a WorkspaceFolder must correspond to a CUE module@myitcv3f4e72d
  • lspfix implementation of protocol.DocumentURI.Dir@myitcv5a56848
  • lspadd simple workspace-based test for basic CUE module@myitcv5747d91
  • lspremove various go logic/handling@myitcv9d9632a
  • lspremove notes .md file@myitcv8210970

pkg6

  • pkg/listadd more test cases for list.UniqueItems@myitcv74a0c9d
  • pkg/listadd a regression test for an invalid operand bug fixed in evalv3@mvdanb0c6204
  • pkg/listMatchN matches in final mode@mpvla2d428d
  • pkg/listadd tests for issue 3519@mpvl38c6949
  • pkg/listhandle incomplete values for UniqueItems@mpvl466b83b
  • pkg/listadd tests for UniqueItems@mpvl290f09f

Other14

  • enable one more staticcheck check@mvdan17c5d0b
  • update golang.org/x/...@mvdan2efb244
  • update testscript to drop the need for func() int@mvdan07ff0b5
  • update most dependencies ahead of v0.12.0-alpha.1@mvdan18669a7
  • evaluatoradd regression test to lock in evalv3 wrt #3567@myitcv92b8f6f
  • READMEupdate version number in installation example@elzapp1f15584
  • enable and fix "value never used" staticcheck rule@mvdan6ef4f68
  • enable and fix "non-generic receiver names" staticcheck rule@mvdan55166dd
  • add staticcheck config files to appease the linter@mvdan9d10fe1
  • Revert "cmd/cue: add test for the loss of comments with cue def"@mvdanede6de0
  • Revert "cue: fix the loss of comments in Value.Syntax()"@mvdan974b5d5
  • docdon't vendor a copy of DCO, as it is under another license@jas471107973ae
  • update txtpbfmt dependency@mvdan8282ca5
  • update golang.org/x dependencies@mvdan18567fa

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.12.0_darwin_amd64.tar.gz8474e522a978ecadef49b06d706ff276cd07629b1aa107b88adfc1284d3f93cc
macOS, Apple siliconcue_v0.12.0_darwin_arm64.tar.gz7055a6423f753c8ea763699d48d78d341e8543397399daee281c66ecdc9ec5a5
Linux, x86-64cue_v0.12.0_linux_amd64.tar.gze55cd5abd98a592c110f87a7da9ef15bc72515200aecfe1bed04bf86311f5ba1
Linux, Arm64cue_v0.12.0_linux_arm64.tar.gz488012bb0e5c080e2a9694ef8765403dd1075a4ec373dda618efa2d37b47f14f
Windows, x86-64cue_v0.12.0_windows_amd64.zip268bf95f4767b37d5db01450d55ca9d10e9a8bd8a1417c31dff456b5f9775abf
Windows, Arm64cue_v0.12.0_windows_arm64.zip91ad090eb86b0d21186d8de0a7b985d235b27e67cd464f7738663e457b042505

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

Install CUE