v0.16.0-alpha.1

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

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

Language

As a reminder, we have two ongoing language experiments since v0.15; a replacement for struct embedding and a rework of aliases. Please give these a try and report any issues or feedback!

⚠️ The cmdreferencepkg global experiment is now stable, meaning that CUE_EXPERIMENT=cmdreferencepkg is always enabled.

#"""# is now accepted as a string literal quoting a double quote, ".

Multiline string literals now require a trailing newline, matching the language spec.

Evaluator

Performance

Further improve the use of caching in the typochecker algorithm; this provides speed-ups of up to 80% on some large projects.

Very large structs (tested with 20,000 fields) are up to 80% faster now, as we were repeating some work unnecessarily.

A great deal of effort has gone into reducing the allocations and memory usage across a number of projects. For some of these, memory usage is down by as much as 60%.

These improvements were possible thanks to our Unity service, letting us analyze CUE’s performance and test for regressions on third party projects. Contact @mvdan on Discord, Slack, or via the Unity page to ensure that your project is included or you are running into slowness.

Other changes

Fix a regression introduced in v0.13 where the or built-in with literal arguments could stop behaving like a disjunction.

A number of panics and other bugs in the evaluator which were reported since v0.15.0 have been fixed; thank you to all who reported these.

cmd/cue

Add support for $DOCKER_AUTH_CONFIG to directly provide the contents of $DOCKER_CONFIG/config.json to authenticate with module registries, matching Docker’s current behavior.

The --outfile flag now works when given non-regular files such as named pipes or sockets.

⚠️ cue mod publish no longer ignores sub-directories containing a go.mod file as if they were nested CUE modules; those are already skipped based on the presence of cue.mod.

⚠️ Using cue inside the cue.mod directory now fails consistently with a clear error message to not place CUE code there. Previously, some commands worked while others failed with confusing errors.

LSP server

Completions: a complete overhaul of how the LSP server suggests code completions. This solves the previous naïve implementation which would only make suggestions after a field name or path had been started. Now completions are available from within whitespace.

Embedded paths with mutual dependencies: embedded paths with multiple components (e.g. a.b.c) can in some cases only be fully resolved after the resolution of other embedded paths. The LSP server can now correctly handle these dependencies.

Document Symbols: the CUE LSP server now implements LSP “Document Symbols” functionality. This is often used by editors to provide light-weight breadcrumb navigation within a file.

Diagnostics: some preliminary diagnostics are now sent from the LSP server back to the editor. Initially this mainly indicates syntax errors in CUE files, but this can be extended in the future.

Bug fixes: many smaller bug fixes, addressing issues around imports, path resolution, formatting of standalone CUE files, amongst others.

See our Getting Started wiki page for instructions on how to set it up with your editor.

Please report any bugs or missing features you encounter via the Issue tracker or via the #lsp channels on Discord or Slack.

Encodings

cue get go now detects which Go packages use Kubernetes type semantics via // +k8s:openapi-gen=true and obeys the field annotations // +optional and // +nullable.

cue get go gains a --codec flag to configure the use and priority of Go struct field tags like json or yaml.

Fix a bug where cue get go could skip over fields whose type implements one of the supported marshaling interfaces.

Fix a few bugs where cue get go could result in invalid or failing CUE code.

JSON Schema’s Config.OpenOnlyWhenExplicit option is now exposed for the CLI via the filetype tag jsonschema+openOnlyWhenExplicit.

JSON Schema now properly encodes hash references for better compatibility with other tools.

Standard library

The strconv package adds ParseNumber, like ParseInt or ParseFloat but allowing other CUE number strings such as 1Ki.

The net package adds InCIDR to test whether an IP is contained by a CIDR string.

The net package adds ParseCIDR to extract useful information from a CIDR string.

Go API

cue.Value.Decode now supports the new cue.Unmarshaler interface, allowing Go types to implement their own CUE value decoding logic via an UnmarshalCUE(cue.Value) error method.

The new cue.IsIncomplete function reports whether the given value is a CUE incomplete error.

⚠️ cue.Value.Decode now uses cue.IsIncomplete to not treat incomplete errors as fatal, allowing the decoding to continue.

Fix a bug where cue.Value.Decode could behave incorrectly when decoding a CUE null or incomplete value.

⚠️ The long-deprecated cue/ast.Node.Comments and cue/ast.Node.AddComment interface methods are now removed; use cue/ast.Comments and cue/ast.AddComment respectively.

⚠️ The long-deprecated and unused cue/parser.FromVersion and cue/parser.DeprecationError APIs are now removed.

All changes

254 changes since v0.15.0by area

.claude3

  • .claudeallow more commands@mvdan60b5bd9
  • .claudeexpand the list of allowed commands@mvdan856d441
  • .claudeallow git grep@mvdan842db84

all8

  • allstart using slices.DeleteFunc@mvdan77b401f
  • allfix up uses of the deprecated cue.Value.Elem method@mvdanc8653bf
  • allfix up uses of the deprecated cue/ast comment methods@mvdanba4ebbb
  • allreplace cue.Value.Null with IsNull when we just need a bool@mvdan9461bd2
  • alluse cue/token.Pos.IsValid rather than comparing with NoPos@mvdan550abc9
  • allmake use of adt.Pos consistently@mvdan132e8b9
  • allgo fix -stringsbuilder ./...@mvdan8652b30
  • allgo fix -forvar ./...@mvdan03b6d6e

cmd42

  • cmd/cueadd a testscript running commands inside cue.mod@mvdan50aaf7e
  • cmd/cueclarify the restrictions around @embed file paths@mvdandc9a189
  • cmd/cueappease gopls in gen_experiments_help.go@mvdan79c8f3a
  • cmd/cuerelax login --token prefix validation@rustyx98e651d
  • cmd/cueallow non-regular files with --outfile@mvdan0408e0f
  • cmd/cuecorrectly parse type=number and type=int tags@mvdan650cce2
  • cmd/cueadd a test for a type=number injection tag@mvdan0ac9d7f
  • cmd/cueadd test cases for cue cmd tag injection with more types@mvdan4e6a19f
  • cmd/cuereintroduce type: "file" default in exp writefs@mvdan220e7c8
  • cmd/cuesimplify exp writefs example a bit@mvdan02fbd6d
  • cmd/cuerewrite exp writefs to not require go run@mvdan1d15871
  • cmd/cueadd exp writefs moving the code from the cuelang.org repo@mvdan98a60eb
  • cmd/cueavoid panic in get go when an enum has zero named values@mvdane6123b0
  • cmd/cueget go: expose field name lookup priority@gdvalle7bd151d
  • cmd/cuetest --outfile and --force with named pipes@mvdan51f429e
  • cmd/cueadd support for DOCKER_AUTH_CONFIG OCI registry credentials@bogdanbojanb06d4a7
  • cmd/cueremove all "not yet stable" cue mod notes@mvdanb408552
  • cmd/cuequote Go field tags if they are invalid CUE attribute bodies@mvdan602eb31
  • cmd/cuetest how cue get go generates invalid CUE attributes@mvdan034e892
  • cmd/cuestabilize mod registry, rename, mirror@mvdanaa9f32b
  • cmd/cueensure that cue get go results in valid CUE@mvdanf7a5764
  • cmd/cueGo types implementing a supported interface are themselves supported@mvdan8d099aa
  • cmd/cueadd test case for issue #2633@mvdan2ae2665
  • cmd/cuefix regression with unsupported named types@mvdan3092bd8
  • cmd/cueskip over type aliases more precisely@mvdana8553f7
  • cmd/cueminor get go cleanups@mvdanc4464c0
  • cmd/cueremove types.Invalid checks@mvdan6bb634d
  • cmd/cuefix non-null map values being detected as nullable@fionera50371eb
  • cmd/cuedetect kubernetes semantics for get go@fionerae527387
  • cmd/cueadd kubernetes semantics test@fionera2b34ff2
  • cmd/cuedo not emit empty CUE files in get go again@mvdane03d16f
  • cmd/cuetest that we don't emit empty CUE files without --outfile@mvdan6532a5d
  • cmd/cuestabilize CUE_EXPERIMENT=cmdreferencepkg@mvdanfa74fb6
  • cmd/cuerewrite tool/http test to not rely on an internal httptest server@mvdan9587a47
  • cmd/cueclarify help wording about filenames containing colons@mvdan1039c59
  • cmd/cuetry to deflake stats test on CI@mvdan8eab7c6
  • cmd/cueadd smoke tests for CUE_STATS_FILE and CUE_BENCH@mvdan2c0184f
  • cmd/cuereuse fetchStats for CUE_BENCH@mvdan84e3e9c
  • cmd/cueinclude syscall.Rusage stats in CUE_STATS@mvdanfb96f96
  • cmd/cuemove fetching of Stats numbers into a separate func@mvdan23ef274
  • cmd/cueremove the deprecated --strict flag@mvdanf0a1fbe
  • cmd/cuego fix -stditerators ./...@mvdan129aff5

cue45

  • cue/loaderror when loading packages from inside cue.mod@mvdan52e0dde
  • cue/formatsimplify label replacement without astutil.Apply@mvdanfdc3f74
  • cue/formatfix comma placement for ellipsis with inline comments@mvdan79305ff
  • cue/formatadd test for issue #4238@mvdan452fbae
  • cueadd IsIncomplete for checking for incomplete errors@rogpeppe40a5f00
  • cueadd test case for decoding incomplete value@rogpeppec98dca2
  • cue/testdata/cycleadd test for issue #4230@mvdan02450bd
  • cue/tokenPos.Add should be noop if Pos is not absolute@cuematthewde49f5c
  • cue/ast/astutilfix nil pointer dereference in postfix alias error@mvdan8293c52
  • cuesimplify unmarshaler logic further a bit@mvdandbf0666
  • cuerefactor how Decode handles custom unmarshalers@snuxollc157e78
  • cue/parseradd test cases for newlines in interpolations@mvdanb779ef6
  • cue/astAdd period position to selector@cuematthew5e3d8da
  • cue/formatfix single import with trailing comment@myitcveaaba8b
  • cuesupport custom CUE unmarshalling via Unmarshaler@snuxoll0c6b1ee
  • cue/loadonly inject a tag value when it was parsed correctly@mvdan3116c50
  • cue/parsersimplify how we deal with the ancient alias syntax@mvdandd6d201
  • cue/parsersimplify parseComprehensionClauses@mvdan26982e8
  • cue/parsersignal missing tokens via token.NoPos@mvdan97996d2
  • cue/parseruse errorExpected more consistently@mvdan13a79ee
  • cue/parserbalance newlines on multiline composite literals@mvdan9d60910
  • cue/parserreuse Parser.expect for more tokens@mvdan5064680
  • cue/parsersimplify the expectComma logic@mvdana9613af
  • cue/literalrequire multiline literals to end with a newline@mvdan8e4d374
  • cue/literaladd test cases for multiline literals with missing newlines@mvdan5c3e0f5
  • cue/testdatastart a disjunctions/discriminator.txtar file@mvdanb66772d
  • cue/testdataadd regression test for issue #2685@mvdan36046aa
  • cue/testdataadd a regression test for issue #3842@mvdan69c4adb
  • cue/astadd walkNilable and applyNilable helpers@mvdan8f927f8
  • cue/cuecontextwrite a short package godoc@mvdand7dda01
  • cue/ast,mod/modfileadd two more go:fix inline directives@mvdan22bc4bb
  • cue/parserdelay ast.Field allocation in parseField@mvdanfa2bca6
  • cueindirect the Go value before checking for null or noncrete@mvdan2e994df
  • cueadd more test cases to TestDecode@mvdan92e5046
  • cue/astremove Node.Comments and Node.AddComment@mvdan21abc7f
  • cue/literalaccept #"""# as a quoted double quote@mvdan81b11af
  • cue/astcorrect valid values for BasicLit.Kind@mvdan9c4df5d
  • cue/astCorrect Interpolation.End()@cuematthew2b9f396
  • cue/testdataadd test case for #3719@mvdan018a8e9
  • cue/testdataadd a test case for #4180@mvdanb0748e0
  • cueconvert.GoValueToValue returns a finalized value@mvdanfe628cc
  • cue/parserremove deprecated integer version APIs@mvdan5e7258e
  • cueadd happy paths to Value.getNum and Value.String@mvdana97a229
  • cue/astremove deprecated and unhelpful Field node fields@mvdan79b757d
  • cueremove the two last evalv2 remnants@mvdan2b1f4ac

encoding4

  • encoding/jsoncorrect positions of field labels from json@cuematthew8c70d8d
  • encoding/jsonschemacorrectly encode references@rogpeppe781e23b
  • encoding/tomlcorrectly check for duplicate keys with arrays@mvdan3f825a4
  • encoding/tomlforget nested arrays when starting a new array element@mvdan09c2e40

internal126

  • internal/core/adtfix spurious error in ForClause.yield key binding@mvdanbeae55b
  • internal/cueexperimentclarify the docs and update the ordering@mvdan46dc5d7
  • internal/cibump Go and goreleaser for v0.16.0-alpha.1@mvdan29a1c5a
  • internal/core/adtavoid allocations in matchPattern@mvdan523284f
  • internal/core/adtremove redundant updateConjunctInfo call@mvdane52024b
  • internal/core/convertallocate vertices in ensureArcVertex better@mvdane2b85a8
  • internal/core/convertreuse singleton struct and list marker allocs@mvdand06db86
  • internal/core/adtremove unused parameters in Vertex.AddStruct@mvdana8d5eef
  • internal/core/convertavoid repeated OpContext.Env calls@mvdan54e81b3
  • internal/core/convertavoid an allocation for "small" big.Int values@mvdan72c8aac
  • internal/core/adtalso use strings.ToValidUTF8 over x/text/encoding/unicode@mvdanb78f800
  • internal/core/convertuse strings.ToValidUTF8 over x/text/encoding/unicode@mvdan29aca5f
  • internal/pkgavoid repeating the args adt.Value slice in CallCtxt@mvdanbcb3559
  • internal/core/adtplace CallContext on the stack@mvdane0e9233
  • internal/core/convertavoid reflect.Value.Seq2 on maps too@mvdanba1ffbc
  • internal/core/adtdo not allocate a new YieldFunc in processComprehension@mvdanbd7fac4
  • internal/core/adtpreallocate CallExpr.evaluate args@mvdan29520c4
  • internal/core/adtremove last comments about the evalv3 transition@mvdan883158a
  • internal/core/adtfix regression in cycle handling for literal-only calls@mvdanecb33d7
  • internal/core/adtgroup allocations in ForClause.yield@mvdanc9c6652
  • internal/core/debugfix stack overflow in error formatting@mvdane7616e0
  • internal/lspsort results of find-definitions and find-references@cuematthew69bda43
  • internal/lspoverhaul the LSP evaluator@cuematthew48f454c
  • internal/lsprename definitions to eval@cuematthewe96b5fe
  • internal/core/adtremove redundant position code after SimplifyBounds@mvdan4c6c3c4
  • internal/core/adtsimplify disjunctError@mvdanff54443
  • internal/core/adtremove unused reportFieldMismatch parameter@mvdandd7357f
  • internal/core/adtfix nil pointer dereference in BinaryExpr.evaluate@mvdancb9da59
  • internal/ci/baseadd a #writefs CUE schema@mvdandd7a23f
  • internal/cibump Go and goreleaser versions@mvdane4c8a12
  • internal/core/adtuse the pre-validation value kind to report errors@mvdan49e75c7
  • internal/core/adtremove commented-out error assignment with a TODO@mvdan2a310e9
  • internal/core/adtremove the docs for evalv2's cycle detection algorithm@mvdanfb0e218
  • internal/core/adtremove unnecessary isShared assignment@mvdan3fe89ac
  • internal/core/adtremove another unused branch with a TODO@mvdanf48ba68
  • internal/core/adtremove unused branch with TODOs@mvdan0b445a5
  • internal/core/adtremove branch with TODO which never triggers@mvdan46b33b1
  • internal/core/adtremove now-unnecessary panic workaround@mvdan2e7e48d
  • internal/core/adtshrink CloseInfo fields in nodeContextState@mvdan06f65ae
  • internal/core/adtshrink scheduler by 40 bytes@mvdan2c35f57
  • internal/core/adtsimplify aStruct field@mvdan4dd731e
  • internal/core/adteagerly update kind to StructKind when aStruct is set@mvdanfc86988
  • internal/core/adtdo not reuse large vertexMap maps@mvdan01ef28d
  • internal/core/adtreuse vertex maps in overlayContext@mvdan7d8e1f9
  • internal/ciremove commit @-mention check@mvdanf1f7a95
  • internal/core/adtfix typo@rogpeppe9e46612
  • internal/core/adttreat a call on a non-concrete func as incomplete@rogpeppe8c751bd
  • internal/filetypessupport openOnlyWhenExplicit tag@rogpeppe7603138
  • internal/core/adtjoin overlayContext's vertices with vertexMap@mvdanac52bda
  • internal/core/toposortavoid repeating structInfos in nodeToStructMetas@mvdan642b242
  • internal/core/toposortavoid repeated ast.Node.Pos calls@mvdandf8ffc1
  • internalremove unnecessary Pos methods@mvdane190842
  • internal/corevarious minor cleanups@mvdane018a99
  • internal/core/adtremove Env and CloseInfo from StructInfo@mvdaneecd7f7
  • internal/core/adtdeduplicate Vertex.Structs by StructLit@mvdanfeb4772
  • internal/core/adtapply TODO to remove getArc call from addConstraint@mvdan6423379
  • internal/core/adtintroduce ConflictError@mvdanf6ae883
  • internal/core/convertreuse unicode.UTF8.NewEncoder@mvdan2b80cb1
  • internal/core/adtcheck opID before inheriting parent reqSets@mvdan2a257d3
  • internal/core/adtavoid allocations in Vertex.Default for closed lists@mvdand2bed8d
  • internal/core/adttrack containment positions separately@mvdan5afb0e2
  • internal/core/adtreuse task objects within an OpContext@mvdan8f38c62
  • internal/core/adtallocate Vertex with space for one conjunct in getArc@mvdan2e95b2d
  • internal/core/adtsimplify nodeContext.arcMap@mvdana89014d
  • internal/core/adtstore token.Pos rather than Node in containment@mvdan21006f9
  • internal/core/adtavoid adding replacements with replaceID.from == 0@mvdan5c715cf
  • internal/core/adtimplement CycleInfo.IsCyclic TODO@mvdan5625367
  • internal/cmd/cue-ast,internal/astinternalsupport printing positions@rogpeppe84fc284
  • internal/core/adtsimplify func declarations now that evalv2 is gone@mvdan174e758
  • internal/core/adtadd reqSets.elemPtrs@mvdanc458d79
  • internal/core/adtuse append-like func signatures for reqSets@mvdan8cd77ff
  • internal/core/adtgrow reqSets ahead of time in getReqSets@mvdan8c0dfb2
  • internal/sourcereturn a size when Open is given an os.File as src@mvdan4d54b90
  • internal/encodingdo not grow byte slices when reading source files@mvdan8e672f0
  • internal/sourcedo not guarantee io.Closer in Open@mvdan95a9687
  • internal/core/convertdo not create new cue/ast source nodes@mvdan4ad2928
  • internal/valueredesign Interface to avoid allocations@mvdanb32e411
  • internal/core/convertavoid reflect.Value.Seq2 for slices@mvdan89f45c0
  • internal/core/convertgrow slices for Go structs and slices@mvdan65503c7
  • internal/core/adtgrow Vertex.Arcs in scheduleStruct@mvdan0f5a5a9
  • internal/core/adtgrow Vertex.Arcs in processListLit@mvdan03bb83a
  • internal/core/convertavoid making unnecessary vertex copies@mvdanfd794c6
  • internal/core/toposortmake Node.sccNodeState a non-pointer@mvdanf86ad4c
  • internal/core/adtreduce allocations further in SimplifyBounds@mvdanb7cdff9
  • internal/core/adtSimplifyBounds can return nil@mvdan4b035f7
  • internal/core/toposortreturn a slice of non-pointers in analyseStructs@mvdanc01ccba
  • internal/core/toposortremove Node.Incoming@mvdan35e1c06
  • internal/core/convertrefactor fromGoValue to only use reflect.Value@mvdanb871500
  • internal/core/compiledon't panic on an alias cycle with a dynamic field@mvdancfb185d
  • internal/core/adtreuse a buffer when constructing envDisjunct.disjuncts@mvdan6c5ade3
  • internal/core/adtsimplify filterSets and filterTop a bit@mvdan368a7cb
  • internal/core/adtuse an uint64 key in containsDefIDCache@mvdan561dfd8
  • internal/core/adtoptimize containsDefIDRec with minimum replaceID tracking@mvdan3f6922f
  • internal/core/compilerevert and to use Func instead of RawFunc@mvdan3a51f9d
  • internal/core/subsumefix duplicate logic for pattern constraints@mvdan91c5b47
  • internal/core/subsumeadd test cases for pattern constraints@mvdan01cf686
  • internal/filetypesuse a less generic bootstrap build tag@mvdan29a4a17
  • internal/lspimplement support for LSP Diagnostics@cuematthewd078bc3
  • internal/lspimplement support for LSP DocumentSymbols@cuematthewe2c4321
  • internal/core/convertremove goConverter@mvdan1a6ae7a
  • internal/core/convertstop setting positions in cue/ast nodes@mvdan8b96db8
  • internal/core/exportadd a test to ensure toposort keeps Go field order@mvdan376faa9
  • internal/core/adtcheck removed scope per conjunct@mvdanb9bf6a8
  • internal/core/convertsimplify the top-level FromGoType logic@mvdane623e78
  • internal/core/convertreduce from 3 func APIs to 2@mvdan9aec0fd
  • internal/core/convertstop accepting reflect.Value as a Go value@mvdan467f82a
  • internal/pkgadd a happy path to CallCtxt.BigInt@mvdan31ca887
  • internal/core/adtremove support for CUE_EXPERIMENT=keepvalidators=0@mvdanbff5146
  • internal/filetypessupport absolute paths with colons on Unix@mvdan196a5d5
  • internal/filetypesadd test cases for absolute paths with colons@mvdan5923272
  • internal/lspformat standalone files without phantom pkg names@cuematthewf22fe29
  • internal/core/adtreduce slice allocations in nodeContext.getValidators@mvdand273ee5
  • internal/pkgadd happy path shortcuts for CallCtxt argument getters@mvdan86c5472
  • internal/core/adtreuse more Bool allocations@mvdan8305967
  • internal/core/convertdon't allocate when checking for types.Interface@mvdan7742329
  • internal/core/adtreduce allocs on BinOp for boolean operators@mvdan5d18599
  • internal/filetypesmake ParseArgs more consistent with ParseFile@mvdan5d64a2b
  • internal/filetypesclarify empty scope error in ParseFile@mvdaneb0f40d
  • internal/filetypessupport Windows absolute paths in ParseFile@mvdanf9439f5
  • internal/filetypestest an empty scope and filename consistently@mvdan003bf39
  • internal/filetypesadd test cases exposing issue 4168@mvdan1a3fdb8
  • internal/cueversionbump LanguageVersion to v0.16.0@mvdan1d77a81
  • internal/core/adtonly do a containsDefIDCache map lookup if caching@mvdan3caae9e
  • internal/core/adtsort replaceIDs to scan just once in containsDefIDRec@mvdan326891f
  • internal/core/adtrefactor overlayContext.derefDisjunctsEnv away@mvdanb08d1d0
  • internal/core/adtcache containsDefID results in OpContext@mvdanff3c4dc

lsp12

  • lsp/evalrework transitioning through imports@cuematthewf2a2319
  • lsp/evalPath resolution must force eval of import specs@cuematthewaf0cfc1
  • lsp/evalCorrect usages for import specs@cuematthew8e6fb3b
  • lsp/evalcorrect evaluation of embedded lits@cuematthewf1db806
  • lsp/evaladd test showing bad behaviour@cuematthew0aa51c2
  • lsp/definitionscorrect evaluation of import statements@cuematthew99ed6c5
  • lsp/definitionsadd test showing bad behaviour for import statements@cuematthewb0a088f
  • lsp/definitionsimprove UsagesForOffset for imports@cuematthew6df6f67
  • lsp/fscacheimprove removal of phantom package decls@cuematthew1449cca
  • lsp/definitionscorrect resolution of path roots@cuematthew7ee5478
  • lsp/definitionsadd test to show faulty resolution@cuematthewb05b992
  • lsp/cachestop nested modules from breaking find-references@cuematthew2c9c7d1

mod3

  • mod/modzipcheck for cue.mod existence, not just directories@mvdan8034cc1
  • mod/modzipcheck for cue.mod directories instead of go.mod files@mvdan8957a36
  • mod/modzipadd test for go.mod submodule detection@mvdan3be6c26

pkg5

  • pkg/netadd ParseCIDR to extract CIDR information@mvdanea83954
  • pkg/netadd InCIDR to check if an IP is within a CIDR range@mvdana3cffd4
  • pkg/math/bitsavoid an extra allocation per call@mvdan9adb47a
  • pkg/strconvre-run CUE_UPDATE=1 go test@mvdan9b36f79
  • pkg/strconvadd ParseNumber builtin@cjorge-graphopsaec0116

Other6

  • CLAUDEdiscourage "go build" and add a set of "must follow" rules@mvdan6301c2a
  • update dependencies ahead of v0.16.0-alpha.1@mvdan14cf3bd
  • doc/refclarify the relationship between exported and hidden identifiers@mvdan367bc88
  • CONTRIBUTINGfix links and tweak the wording@mvdan0a9e071
  • tools/flowsupport task results when defined via definitions@mvdan3d8f535
  • update all dependencies@mvdan7f31475

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.16.0-alpha.1_darwin_amd64.tar.gzdffd15fb9cdce7345dd26e2e6d0c70be6af708069a0588f039fc6269f2db8543
macOS, Apple siliconcue_v0.16.0-alpha.1_darwin_arm64.tar.gz5777f93bee9e11e2d3899765da22ccf875dea2b5c02d2bc8a035e82c4c045a89
Linux, x86-64cue_v0.16.0-alpha.1_linux_amd64.tar.gzdff153162c9906e6803ba3d2590b8428e0f3fcce615dd29b4682054b5de7c939
Linux, Arm64cue_v0.16.0-alpha.1_linux_arm64.tar.gza3c08498350b5097197c3385387c4ca119ee82838c603a0035bfd0ef436fa892
Windows, x86-64cue_v0.16.0-alpha.1_windows_amd64.zipa6fe363f251105da03f345972d1b9c0a53dcac4faaf21c0d4b19aecc76ecb329
Windows, Arm64cue_v0.16.0-alpha.1_windows_arm64.zip96af980fee5a4591c83db69254def323ad668b8092151cca0e4c3c05683364ac
Install CUE