v0.13.0-alpha.3

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

This release fixes a handful of bugs in the new evaluator and its Go API.

Evaluator

The new evaluator, now enabled by default since v0.13.0-alpha.2, is improved to fix regressions in OpenAPI, our CUE Go API, two panics, and a few other bugs which could lead to incorrect errors. Since the last alpha release, two more projects in Unity are fully working with the new evaluator.

As a reminder, the old evaluator is still accessible via CUE_EXPERIMENT=evalv3=0. If you encounter any errors or other problems, please file an issue with details.

Go API

cuecontext.EvalDefault still pointed to the old evaluator; it now correctly points to the new evaluator, and follows the CUE_EXPERIMENT=evalv3 flag just like cmd/cue and the rest of the Go API.

Mirroring cuecontext.EvalExperiment, the new cuecontext.EvalStable constant is added to track the latest stable version of the evaluator.

All changes

27 changes since v0.13.0-alpha.2by area

cue7

  • cue/cuecontextfix EvalDefault to follow the default, add EvalStable@mvdanad0442b
  • cue/cuecontextexpand TestEvalVersion to test more combinations@mvdan965e7b1
  • cue/cuecontextevalv3 is no longer experimental@myitcv8080ec5
  • cuedo not unify "accept" schema with result in UnifyAccept@mpvlff654dc
  • cueprepare TestConjunctDedup for more cases@mpvl2b82584
  • cueuse fmt instead of MarhalJSON in TestUnifyAccept@mpvl6912a11
  • cueadd missing finalization@mpvl4cbb180

internal15

  • internal/core/runtimeselect evaluator version with specific constants@mvdan1ec46e7
  • internal/core/adtfix disjunction corruption issue@mpvl917ae0d
  • internal/core/adtfix panic due to envDisjunct corruption@mpvl721ca5d
  • internal/core/adtdisable structure sharing for pending arcs@mpvl4fc579c
  • internal/core/adtadd tests for Issue 3849@mpvl6ade302
  • internal/core/adtremove insertArcCC@mpvl6654071
  • internal/core/adtinline structs in schema are not closed by default@mpvl4e7564e
  • internal/core/adtadd test for Issue 3853@mpvl5348d04
  • internal/core/adtsupport Ellipsis in MatchAndInsert@mpvlde69f12
  • internal/core/adteliminate recursive processing on bottom@mpvl447e98d
  • internal/core/adtadd test for Issue 3851@mpvld58c804
  • internal/core/adtadd missing dereference@mpvle22ea96
  • internal/tdtestsupport cuetest.Run@mpvl2402ef3
  • internal/cisimplify login to Central Registry@myitcvf4a2424
  • internal/core/adtremove diff/todo for fixed issues@mpvl773741f

Other5

  • update golang.org/x dependencies@mvdanc565c1d
  • alldo not use Default/Dev/Experiment evaluator versions in tests@mvdan07bccba
  • pkg/internal/builtintestremove "and X more errors" stripping for evalv3@mvdan32d0400
  • cmd/cuere-enable cue exp gengotypes testscript@mvdan18b4ba9
  • encoding/jsonschemaclean up TestExtX@mpvlc0fc59b

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.13.0-alpha.3_darwin_amd64.tar.gz96b3c3e1513044a6b9ed9b73edfd40be42d7f9a2a3deef505874f0aaac6d564c
macOS, Apple siliconcue_v0.13.0-alpha.3_darwin_arm64.tar.gz3c1e72eab55355108663b1327af6ed7f323e048690a6e8a99f4e8efdf2049279
Linux, x86-64cue_v0.13.0-alpha.3_linux_amd64.tar.gz53c909752331dc99074eb881b65e1d99176099d038a3791a7b275be28c65deb6
Linux, Arm64cue_v0.13.0-alpha.3_linux_arm64.tar.gz55b6aee99b9f5d3233c3afb86ead30e392285d92b1c5f639ce02cb7f3c9ff919
Windows, x86-64cue_v0.13.0-alpha.3_windows_amd64.zip6594c9134b92def87a6de7ac241f1d38c8fb7d37e628d35d57a689870238395c
Windows, Arm64cue_v0.13.0-alpha.3_windows_arm64.zip302caa2d1f357b9f8db8c50c4f15d7380d731421ef53be7adb9f73322cfa61a1

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

Install CUE