v0.5.0-alpha.1
Full release notes to follow in a later pre-release.
- internal/core/export: fix crash in dynamic fields by @mpvl in ad253ed099e94ddcffd07e6f73a76735a96cfaf8
- all: apply and follow Go 1.19’s gofmt by @mvdan in 519d326df357904f95bc704d48d594a3f26c2319
- internal/core: implement let as fields by @mpvl in 36bd6562f7ba43afbd850abfa565da5576117154
- pkg: reuse pkg/gen to generate package godocs by @mvdan in df148ee6b6133e0466f7964eec027f2e0349cdbe
- internal/core/adt: eliminate disjuncts for incomplete errors by @mpvl in c556a196ad43bcd0ff4fad4f938cabc03ee5e433
- doc/tutorial/kubernetes: only run as a long test by @mvdan in 6551ea5dd7890757afdbf6823443357bc96f4e5f
- internal/core/adt: fix test by @mpvl in d3959ebce9168f9b922e72e711bac71532e5bd44
- internal/core/adt: add tests for let by @mpvl in 7c7056cd8964d9cb8f4da1c021165630ab091d49
- internal/core/compile: prepare for let change by @mpvl in 739713c849262af5d5681fbd5dab5aa77787d738
- internal/core/…: fix various attributes printing issues by @mpvl in 82933ad1f9ef0dd68aaa8c1a52d8f56a3ad7f4e5
- internal/core/adt: remove StructInfo for unused structs by @mpvl in c89ab8b4534144edd9e4313666a7967cb40270d5
- internal/core/compile: add missing import in test by @mpvl in be9cc0dfe2efcc9ae76f84f0e21afd83b9bd1349
- internal/cuetxtar: add method for getting a single instance by @rogpeppe in e5f21dbb163c8b864dc1e518dc86e16d8aa0bbf9
- internal/filetypes: not a file extension if the file starts with a dot by @rogpeppe in db0897b6b21f16d4dcd3503af51e2f2592b5cc03
- internal/core/adt: defensive use of CloseInfo by @mpvl in 9e9786e93b63af979d9f105a12c8519a6216e56f
- internal/filetypes: fix TestParseFile tests by @rogpeppe in 3290797d2b2b1f41355b6a06d5e9efccf2509a7c
- internal/cuetxtar: improve docs by @rogpeppe in d2250b9bc1870a2488ee3f33b4e8e4fd0561a5f3
- encoding/gocode: be resilient to Go string literal changes by @rogpeppe in 1cfb57cd7485c72d155968cf9a054ac91c6119c7
- doc/tutorial/basics: make test scripts run again by @mvdan in 6cb877ecdd50ec5a4141b4b5a4e0a50b5ac06c60
- encoding/openapi: update API by @rogpeppe in 74566cff8b973ffa3833ec2f217833f182571c13
- cue/stats: new package for getting operation statistics by @mpvl in 535d188e024a150de6093a18bee639915e612394
- errors: make Errors and Print respect wrapped errors by @rogpeppe in 4007775eb33da64db9dd38f43da31b39d1bbfc58
- internal/core/path: package for Selector to Feature conversion by @mpvl in 4c9d0ac139d02d5ac3208d3268af4ee92916d70f
- cue: tweaks to selector API by @mpvl in cd27b125bb2e70bc8075d083aebde0a9f8efe940
- cue: add Value.BuildInstance method by @rogpeppe in a552c1fce216865669537591e182add604677252
- encoding/yaml: be clearer about the role of the src argument by @rogpeppe in 351a9fbaa8aa7f0482e162f20c4d5a49165b15f9
- internal/core/adt: fix cycles in evaluation by @mpvl in ac1121593d7ab5b3beff5b36f7e77e1cb3fab0c1
- internal/core/adt: tighten structural cycle detection by @mpvl in f8e363e55bbd91a3ca56b3620edfa41854bc5269
- internal/core/adt: tighten structural cycle detection by @mpvl in 68152ec4619731d1d718757571d238eaf94516f8
- internal/core/adt: fix spurious cycle for inline recursion by @mpvl in c99704419ffce8b90f9c60c0148152e04d044ec6
- internal/core/adt: fix issue with references cycles by @mpvl in cd4bf2b46c3234ba2e6ba649df8633efd0483eb7
- internal/core/adt: some fixes to structural cycle detection by @mpvl in 8133f552636371d32edf9c972e135bc274184c66
- internal/core/compile: fix aliases to dynamic fields by @mpvl in 353833c0a26a411febdacf8096e378ecbd214e5e
- cue: add Selector.Type API by @rogpeppe in 8e8f1cfff0aeed7575cd362336da134e2890a311
- cue/load: deterministically sort CUE files when loading by @mvdan in 295786ef80b0dfd14eacc66f4c0babbbfc832f99
- internal/core/adt: count conjuncts by @mpvl in 1a129169283720446cc3cb279f7e8b7adf282bca
- internal/core/adt: finalize arcs that are almost done by @mpvl in 8ee11275c50edf03df202f86cf7b0d0087da0de4
- internal/core/adt: remove redundant line by @mpvl in 37ee967c3abff6f18e0a7de3e1558e4af40957f4
- internal/core/adt: clean up some span logic and add a comment by @mpvl in ce30e6728aa80c9e21e04863107b4cc19263672e
- internal/core/adt: move Label for better bin packing by @mpvl in e398e10f2359b35b88f532113468578fe21035ab
- internal/core/adt: clean up some closedness code by @mpvl in 9e15ca15750c6efe53c36c6b64684cafcea1e220
- internal/core/adt: fix spurious child error by @mpvl in 830847bf692effdc626929a7d59913ae9e90aaf9
- all: start using testscript.Params.RequireExplicitExec by @mvdan in 37a2a07006fd18e751be160c2065facb9f286b54
- internal/core/adt: pick defaults for label evaluation by @mpvl in 83d37e79367ee589d797787b7328ab17a14d39e6
- cmd/cue/cmd: testscript moved its gopath location by @mvdan in 4a73630583dbb4c4708502de9d275b59fae13d20
- internal/core/adt: SpawnRef loop optimization by @rogpeppe in 7292034f3ba2c7ea0fb3df4d2c40b5c643c46ac4
- all: use txtar filename extensions consistently by @mvdan in c1689bb0513916bb39709ba7eac6c889949c07a9
- mod: drop x/xerrors from the module graph by @mvdan in 0460b47b66065f415a76c96672c55b4d32ae1f49
- mod: drop apd v1 from the module graph by @mvdan in d663a8c62f8540abd656f32745a3875f499f565d
- all: apply Go 1.19’s gofmt by @mvdan in 3f3f18168373298c1580006de52303e06135fcc8
- internal/core/adt: fix spurious cycle by @mpvl in e187f9fe5d456f14073645670a98803d3048849e
- internal/core/adt: reimplementation of cycle algorithm by @mpvl in 6b3fd657900412db28bc4270aa0bd31d12fa3c48
- internal/core/adt: hoist cycle logic by @mpvl in eab8c8ea5c60ce284b4297ca707fa91cbce11b59
- internal/core/adt: pass Conjunct instead of Environment to Resolve by @mpvl in 428d3955064ca586fd855d4505ab4fe2cf7163f7
- internal/core/adt: don’t spawn duplicate locations by @mpvl in 3bedf8ea89bed806257bb62f56cced9dbb993c30
- internal/core/adt: fix env linking for comprehensions by @mpvl in b00f5d6beac35769cc101e3e4e60894c88a0e2f1
- cmd/cue: remove all stdin buffering by @mvdan in b4d1b16ccf8944599eec6870da400d2b56da979b
- all: use the .test TLD for module paths in tests by @mvdan in 5a08d2f7a9a7595def05c5486cbb5276e66391cb
- CI: only pull master commits through a proxy on Linux by @mvdan in 395df20f0fe6983b18ca30f03f1c5caa6d144ca3
- CI: try “pull through proxy” go get up to five times by @mvdan in 4f150368159fdb18df5d5fc3306b6598b8ca9ac9
- all: fix migration to x/tools/txtar by @myitcv in 0a46a1624353da7327d356040a5612251e01659f
- cmd/cue/cmd: add –inline-imports flag by @mpvl in 974a09bb69aaf6b4d22f3a6e6a6929d7e306c605
- cue: support InlineImports for Syntax by @mpvl in ae56267956abf38f79b66fc9809d61abab0a50d1
- internal/core/export: don’t inline for errors by @mpvl in e87bc251364ca2ac93055befed518207771bc660
- internal/core/export: enhancements for import inlining by @mpvl in 62fedc345677e3205bbbe23e8f2a99223ab5fa21
- internal/core/export: implement self-contained algo for export by @mpvl in c71f6745235d5d2dc48ad044d93efc50485fdd7a
- all: fix common pattern of calling cuextxtar.Load by @myitcv in bdaadc9c872bd204940e41e15ec1dc5fb2378f13
- pkg/tool/cli: rework Stdin and make Ask read an entire line by @mvdan in 4432aa66244b1c704143327709741edfc803cc82
- all: swap rogpeppe/go-internal/txtar for x/tools/txtar by @mvdan in 9f3d9d204ffe2e26ff4a104406b585df0d42023c
- internal/ci: use consistent name for CUELANGORGTIPREBUILDHOOK by @myitcv in a9f8bd2e84e4b76f8bff33d05856c19269f2d314
- cmd/cue/cmd: remove bits of unused code by @mvdan in 4d7edeb14282847c88d36ce02e1a2852279352c2
- internal/diff: two different errors are equal by @mpvl in 6e95220b64bffd37f1a4aee40054aa0d010fa2c1
- interal/diff: skip hidden fields by default by @mpvl in 5151417cdd411a470585149041d6bcb72793b841
- .gitignore: ignore some binaries by @mpvl in 2d10d0f19cff3eff21f5bc20d9203610ff775b5d
- internal/core/export: cleanup of initialization and finalize by @mpvl in 8a7ebf930b080ab9d14d8d23755d2ec39d1194b1
- internal/core/export: simplify dynamic labels by @mpvl in 8edd739a9501e2198e5b171158786ebb34ed6477
- internal/core/export: refactor uniqueFeature by @mpvl in 9777511749aef21ffdc2addf79ad9f7738b0baab
- internal/core/export: fix bug exporting dynamic references by @mpvl in 360ef5f88bfd0caa06b4db3d4e21e88b9d264032
- internal/core/adt: clarify examples for references by @mpvl in 5cb52c862ffacc20e4d56c2d14dfa4e112be204c
- internal/core/export: hoist FieldReference logic by @mpvl in 82a25134453d2ae49dde27edb49ebe37b50491d6
- internal/core/export: pass Environment by @mpvl in 254d0ded1cdcd614304a53082bc5296fe1ac1daa
- internal/core/export: move tests to subdir by @mpvl in 08c06896d5d3c5f4378f5ab5c357b03d041a1d3b
- tools/fix: remove rewriting support for old-style let by @mpvl in 9a66c51a1bd05277605e15690881f08793d50212
- internal/core/export: hoist reference logic by @mpvl in 580edf46b0f30089e8b4f4594a49a16354237d89
- cue/format: fix
StructLittrailing comma bug by @satotake in d16c7998541098bb304910add474bfb76308db96 - internal/ci/github: skip non-race tests when running race tests by @myitcv in 4113ec34607a913703694b8a4c4996ffb4552d92
- internal/ci: refactor CI workflows by @myitcv in 236a565379907bc92997645e4113ca1ed6c499b6
- internal/ci: split github workflows into separate files by @myitcv in 9d366cd68db61d461d752db8d649734ba08bd7fa
- internal/ci: write netrc file for triggering trybots by @myitcv in 62ccbc0f983c3e6abdd786a6f2342b4f7b46d6c4
- internal/ci: move to using gerritstatusupdater by @myitcv in f28ad41e9ed5918933123c17bab0dd62614c7399
- internal/ci: rename test and repository_dispatch workflows by @myitcv in d4526fe916326dc69e216864d936e26ce7aef2bb
- cuego: fix example in docs by @rogpeppe in 2fea90a631b14946ca0ffac025e64da2d09d3e27
- internal/ci: move workflow declarations to their own package by @myitcv in 2795dcc4db87bb3355de0a49d6596c87f9c2e3d4
- cue/load: actually apply the latest doc wording per the reviews by @mvdan in f32ea8e85e21e7472b0ca6ca1f6aa526a3650d65
- cue/load: remove old reference to a “query tool” by @mvdan in 03ed417512087bc72e9af50ab14a1a5e336a91b9
- internal/ci: stop using txtar tests for GitHub actions workflows by @myitcv in 18762768e25c6b8ad1da50af250cebe640e82c92
- cmd/cue: support buildinfo in version sub-command by @djosephsen in b8703c81a42138361e24e76ea989e7c8b7c03d18
- doc/spec: minor adjustments after a careful read by @mvdan in cf3ba23211d397d7232e531090d7074146d4bbbd
- pkg/gen: remove unreachable code by @rogpeppe in 2f05fc92404e0c47dd62c8f769c8881f87ae9bec
- pkg/gen: generate (almost) all pkg.go files in one call by @rogpeppe in 23dc354ff7ad0ed477a733f6d04866d12f5f9330
- all: use go-cmp.Diff more consistently by @mvdan in b30eb998836590adaa22abdd5f628aaddb0fb0cb
- cmd/cue: use
cuein test scripts rather thanexec cueby @mvdan in 621f437aef4f344582476f4b6731c906d6160de5 - internal/core/adt: remove stutter in error by @mpvl in 41ceff3c78eb0ed13e60c673a6a4b002366d473d
- internal/core/adt: keep arc on comprehension error by @mpvl in 309f8e7b1ac5bed017b6b4b8f6dc8e1e512b8614
- internal/core/adt: use per-field comprehensions by @mpvl in 748a68589747fed6273d6338eb7e275a4fb116c6
- cmd/cue/cmd: remove usage of cue.Runtime by @mpvl in 0b0f1d30c967172b69df59f869156f3d154d9cc3
- tools/flow: get rid of deprecated cue.Runtime by @mpvl in 3ac85dc3ca89ff621150aad1b50fb736ea0b5f9f
- internal/core/adt: move closedness check by @mpvl in abd2ba347d8d706c7ae371c7d0c19ba7f102ff33
- internal/core/adt: prepare for comprehension change by @mpvl in 38b5fe26c487becef1e2cab6267e4f05b85175ec
- internal/core/adt: remove redundant indirection by @mpvl in 5201fde5ac039dd9c87290cd8382796d5aa3189e
- internal/core/adt: add convenience logging method by @mpvl in ee36170a79613b52933fe8122e6531918950aba5
- internal/encoding: always validate when exporting by @qequ in 5b8860ae5306b51bf38e7ea4b6e536a7477cff29
- cue/pkg/strconv: support arbitary-precision format by @satotake in 9bda22051dd8d9dbe1539e6b2f7205512e64f303
- pkg/internal: make it clearer that const is exclusive to func by @rogpeppe in e77a8790de2b2e7e9bed632594de0e0cf14521fa
- cue/format: escape tabs when printing comments, literals, and attributes by @mvdan in dac491717c1e21e40b0fbd5030ac2435507353d7
- all: replace filepath.Walk with WalkDir by @mvdan in 79b324d14be06b57bcd0a4644fb28155bd8267c7
- cmd/cue: initialize toTop and toString without go/packages by @mvdan in 0f66c58a0ae826040fa35461ae8567aba6f5c327
- doc/contribute.md: simplify code backticks by @rytswd in 193e320762afa09334d4514883f3a95a15ced2fa
- internal/ci: avoid merge commits when testing GitHub PRs by @mvdan in 6de1c17620c78a19bf78d64498bc248b79ce82cc
- internal/encoding/yaml: update dependencies by @myitcv in ef1b8aaa282a263b8634d7333bdb01868ff4e7f0
- encoding/protobuf: update dependencies by @mvdan in 31be9e32f88c1442cfe0e5f2cdb546ad89ee2415
- Revert “all: avoid using too many packages.Need bits” by @mvdan in 87408d7d0c61bf6ff2711fd202727639aac97290
- all: avoid using too many packages.Need bits by @mvdan in aa9b1bd076a6b54fcdcef92838f73c982a356d67
- all: fix a few more staticcheck nits by @mvdan in 92b9a06a99a7e27eaf91345545c75054c6279342
- cmd/cue: remove the need for embedpkg by @mvdan in 89c6cdc1973da4edd97918bca19d959970f616a8
- all: make use of t.TempDir and t.Setenv by @mvdan in 6634a00a80472ff0204427592b5d24f94fd55fc9
- pkg/strconv: Revert “pkg/strconv: allow string argument for format” by @rogpeppe in 1ed6195cd8d0051bb2a59c68be8d6a9234ea7138
- pkg/strconv: allow string argument for format by @rogpeppe in 053c4acc845c1726aca9e7974112d9bf296892c7
- internal/core: comment improvements by @rogpeppe in 34782fe0bb8cb65b5dda49c377d24089cb131987
- cue/literal: allow escaped newlines in multiline strings by @rogpeppe in 618e5301ec0a5875d1b95d06800a4962c150d857
- all: drop support for Go 1.16.x by @mvdan in bd9ae5371cc23c54cb3cb90c0bd5a1fa4d82bc92
- all: make vet happy by @mvdan in a58ac536005e7347332a26c911d2c3fa43453fc9
- doc/ref: mention that newlines can be escaped in multiline strings by @rogpeppe in 13918ddeb0b0bb58ebbe92f91fd87e5d364a5844
- all: check the filepath.Walk error parameter by @mvdan in 2caf6e0f648d40b9072beb875b4ac74017ce415f
- bump x/tools and x/net dependencies by @mvdan in 79a3fa7e3eab9c18cab54f376cfa24600489e319
- all: fix a few minor typos spotted by gospel by @mvdan in 78815882e5f3234873f4ca4774e2919f27b594c0
- cue/scanner: allow leading double-quote in #-quoted string by @rogpeppe in db398ad39a34334a3431c66d504a0f9929faf55a
- internal/ci: remove gorelease check step by @mvdan in c942d0afb0e7d38468328fad387a524403cd9799
- internal/ci: enforce Signed-off-by temporarily by @mvdan in 7dd325d2690f84331c5ff8d5636f1bf4d520236e
- all: remove redundant interface type assertions by @mvdan in 74d55b75af75f803103e9e24408f2521b936b41d
- pkg/list/sort: fix syntax in docs by @tmm1 in 00c5ddf5e4ed1781cbf07b9b941a1c7c36a62d87
- internal/ci: bump GitHub Actions OS versions by @mvdan in db3e6ace8c735f5bb05b1e13a7acfd7d8b72726b
- cmd/cue: remove duplicate files from get_go_types.txt by @mvdan in eb0a4ff1aee987da38e528240533ba89af738c8a
- internal/cuetest: drive long tests via an env var by @mvdan in 33b18be9eddd72ea356a913117bb1327a04242fd
- cmd/cue: import -R: don’t treat text with no newlines as YAML by @rogpeppe in f207b0b9285ad043221ff9f3c2207d04e8c32cc0
- cmd/cue: better test for import –recursive by @rogpeppe in 7f3c0a2b435d8597a4378fb56a07e5afe2847b35
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_553aceb95f5989a15578ab2624314f441f466d1bddad21f69006d29e1f435b1b |
| macOS, Apple silicon | cue_64d86572560e60cf3bee266af26837171647250549c3cc27ceacaad7ff01018f |
| Linux, x86-64 | cue_653c4558dedc676bf43a371bb02d798fbb43fe3f892253ba387e513052520b81 |
| Linux, Arm64 | cue_f88a1b391c1646f19415047953fffef9699dc6b0a26a85971f4782d05889c2e0 |
| Windows, x86-64 | cue_e3c96a9138c9951446498ae74e91334792044ffe4965532cbcdb1ce395796a1f |
| Windows, Arm64 | cue_53639c4b30b4f863d3a38361641a37adafd6e149550378dbecf338dfa74078ca |
SHA-256 checksums for all of these: checksums.txt