Cue

Cue · CueLang.Cue

CUE is an open source data constraint language which aims to simplify tasks involving defining and using data.

winget install --id CueLang.Cue --exact --source winget

Latest 0.16.1

Release Notes

Language The fallback keyword in the aliasv2 experiment is replaced by otherwise, which is clearer. cue fmt or cue fix can be used to rewrite existing code. Evaluator Fix a regression where the compiler could add comments to the input AST value, which could lead to increased memory usage. Fix a bug where exporting certain schemas could result in "cannot have both alias and field in same scope" errors. cmd/cue Fix a panic which could occur when using non-label expressions in the --path flag. Teach cue login to give helpful errors when used with OCI registries which don't support the OAuth2 device flow. Go API Fix a regression where cue.Context.Encode could panic on custom marshaler types with pointer receivers. Full list of changes since v0.16.0

  • internal/cueversion: bump to v0.16.1 by @mvdan in 6d609d7
  • internal/ci: build releases with Go 1.26.2 by @mvdan in cedf4c8
  • update all golang.org/x/... dependencies by @mvdan in b4efeef
  • all: rename fallback keyword to otherwise by @mpvl in f813811
  • lsp/cache: improve rename by @cuematthew in 8e47027
  • integration/workspace: add test showing bad behaviour by @cuematthew in a5e0ef5
  • cmd/cue: suggest docker/podman login when OAuth2 device flow is unsupported by @mvdan in c169605
  • cmd/cue: add testscript for cue login when device code endpoint is unsupported by @mvdan in d7c882a
  • cmd/cue: clarify how to authenticate with standard OCI registries by @mvdan in 2613edf
  • internal/core/compile: avoid mutating AST by @rogpeppe in e4b0516
  • internal/core/export: fix alias/field name conflict in pattern constraints by @mvdan in 1e46409
  • internal/core/export: add regression test for alias/field name conflict by @mvdan in 1654f66
  • pkg: fix godoc mistakes across several packages by @mvdan in eae9aaf
  • internal/core/convert: fix panic when encoding pointer-receiver marshalers by @mvdan in 8e39aec
  • cmd/cue: return an error for non-label --path expressions instead of panicking by @mvdan in 5a55849
  • encoding: add godoc hints for cue/ast result types by @mvdan in 682c663

Installer type: zip

Architecture Scope Download SHA256
x64 Download 2F24123F458229FCF283DB534BD86692AD1074DA806DEFEE0F0CC62976C0397C
arm64 Download E0C15CE53F73E8609B0E8CE6507298F3474B334AC5EB0C826C9497A811FD0CCE

Details

Homepage
https://github.com/cue-lang/cue
License
Apache-2.0
Publisher
Cue
Support
https://github.com/cue-lang/cue/issues

Tags

configurationdatakubernetesvalidation

Older versions (17)

0.16.0
Architecture Scope Download SHA256
x64 Download E57180A908A5E35D8A2BE00BA620B52FC6FDFC6E1400799D25BB53A115555B03
arm64 Download E0BD483BE9159144C1ED2A19EE722A1FC6EE18BFDE173AFE02637F0AF8DA501E
0.15.4
Architecture Scope Download SHA256
x64 Download D42E26A0FB09219FC1735326FB2188DADF7C8DEAB136698A55D793C0C15A6AAA
arm64 Download A19CE1F517879B1BB3F5CB815364A2EC74B0302B54A86F5802A2C56AE3B7BA97
0.15.3
Architecture Scope Download SHA256
x64 Download D291BD510887BF1308A6BC07C28D17C7F01BC75E7A885ADACDBD30D6D6ECBD20
arm64 Download F7B72102BCF227800276BFB22D0D16CFCDAECEB79A1E99AF492AAA3EEA6BB839
0.15.1
Architecture Scope Download SHA256
x64 Download 516FA080C1AF12578FF76A4165CC7BF14AD9BBE5D9724A0C07553860D038885E
arm64 Download BF789490A4C9B1FE2AEC8B1B078FB5CDD428C4653FAE1A0572CB75C1ADE50CA7
0.15.0
Architecture Scope Download SHA256
x64 Download 188931801FF39CD397589A7A271EDE54EF0694900CA3F06BC9834DDDBB3F39AE
arm64 Download A47D356E4AD3CD891DF55C28C24763193F4973662BE9CCC4704090083D89FF34
0.14.2
Architecture Scope Download SHA256
x64 Download 0A1C6A050494D2D8D671E15967D2D2AB2BD37DCE48E193E59728242797C86BB0
arm64 Download 2187A7909951BFF30DD621DDE368CDEEBC30DC5FCF8D93F2F9C3DDC558AECA1D
0.14.1
Architecture Scope Download SHA256
x64 Download B2289FEB775DB9D10DE6C039FFECCC8AFB7A7FE0C656AF891F8FCE7F38AA1D8A
arm64 Download 3BA4B950B1880AEC6F3DDD5D96F43648E4E0FF58151FFC17375068EF9EBF361A
0.14.0
Architecture Scope Download SHA256
x64 Download 9041F014820924E4FDE7BB2C295F4DA63E9AD6590F92D73E6C4BC37ABE5F2077
arm64 Download 045878CF337143B54CCAFF2718C4DD2431922AD53182A17D088E7A3D731B032B
0.13.2
Architecture Scope Download SHA256
x64 Download 9C5513C5BBAE3AAB5B906611E8E487A999BFB69851ED3267D4FF3C488269C271
arm64 Download B97AC155F753FF58633EC50985FF5BA90C719A5F1FBC59EA2B84E6CE2C026555
0.13.1
Architecture Scope Download SHA256
x64 Download 934F10F81E3FEA059594029C84FD0AE49C4D746F463654DAF4A06C10B0A369B0
arm64 Download 4D6DF90A83E6BE1EF8EEF997877DF6BCAFB9B97763A303B962D2815B92560516
0.13.0
Architecture Scope Download SHA256
x64 Download A17423528E176F984AE4778FE5C757955783985913A8E18D6CCC663EAF91C279
arm64 Download FEF57DF2265C9CE92426EA698C9BF38E053F6B579A5F7CF1B8963926252AAC00
0.12.1
Architecture Scope Download SHA256
x64 Download A80B570BD5D2D7D7E653F3C8689B37A7396A98D486901A14954F1EF6A83BD275
arm64 Download 61563BF81F0020BF7B6DD7F69B981F0E77DD0A014B17323905236623CA3CA705
0.12.0
Architecture Scope Download SHA256
x64 Download 268BF95F4767B37D5DB01450D55CA9D10E9A8BD8A1417C31DFF456B5F9775ABF
arm64 Download 91AD090EB86B0D21186D8DE0A7B985D235B27E67CD464F7738663E457B042505
0.8.0
Architecture Scope Download SHA256
x64 Download 8E3CED001982F10581DC1A6EEB82E08ADEE1B1E2ABE5B7E837A35401895C6BA7
arm64 Download F5E5D9D3C7D0649D16AFDBC21BDE51EBC558FE64AC51AE89085037363DD658FC
0.7.1
Architecture Scope Download SHA256
x64 Download 54D2A7F64985BB5F4BDBFF8796EE9F290BA7C86BA1D8B98822373D01EBFAE19A
arm64 Download 4583FC57B6E90DA51F2397D0C9E65912D18A4DC4A6C946EA4347AF91BD9C7F38
0.7.0
Architecture Scope Download SHA256
x64 Download 50BE1C1A622C2544AE834B377293A587A0C08B3EA6C82441AE1D59435EEB5240
arm64 Download 257AB9A0A2723B84CB24F8F6AE7A9F899EBDE49B81371EF9EE1EC34FACFA2CCD
0.6.0
Architecture Scope Download SHA256
x64 Download 69C32671349665EC4AF9B8AB7A312E870B8318BF747041C0DA2B8F505CE0E2E5
arm64 Download C8BA01B8914DA74BEDBCA653846C0311DCC2ED07FDB83BEBACC59BA0F72C3F7E