v0.13.0-alpha.3
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 EvalStablecue/cuecontextexpand TestEvalVersion to test more combinationscue/cuecontextevalv3 is no longer experimentalcuedo not unify "accept" schema with result in UnifyAcceptcueprepare TestConjunctDedup for more casescueuse fmt instead of MarhalJSON in TestUnifyAcceptcueadd missing finalization
internal15
internal/core/runtimeselect evaluator version with specific constantsinternal/core/adtfix disjunction corruption issueinternal/core/adtfix panic due to envDisjunct corruptioninternal/core/adtdisable structure sharing for pending arcsinternal/core/adtadd tests for Issue 3849internal/core/adtremove insertArcCCinternal/core/adtinline structs in schema are not closed by defaultinternal/core/adtadd test for Issue 3853internal/core/adtsupport Ellipsis in MatchAndInsertinternal/core/adteliminate recursive processing on bottominternal/core/adtadd test for Issue 3851internal/core/adtadd missing dereferenceinternal/tdtestsupport cuetest.Runinternal/cisimplify login to Central Registryinternal/core/adtremove diff/todo for fixed issues
Other5
- update golang.org/x dependencies
alldo not use Default/Dev/Experiment evaluator versions in testspkg/internal/builtintestremove "and X more errors" stripping for evalv3cmd/cuere-enablecue exp gengotypestestscriptencoding/jsonschemaclean up TestExtX
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_96b3c3e1513044a6b9ed9b73edfd40be42d7f9a2a3deef505874f0aaac6d564c |
| macOS, Apple silicon | cue_3c1e72eab55355108663b1327af6ed7f323e048690a6e8a99f4e8efdf2049279 |
| Linux, x86-64 | cue_53c909752331dc99074eb881b65e1d99176099d038a3791a7b275be28c65deb6 |
| Linux, Arm64 | cue_55b6aee99b9f5d3233c3afb86ead30e392285d92b1c5f639ce02cb7f3c9ff919 |
| Windows, x86-64 | cue_6594c9134b92def87a6de7ac241f1d38c8fb7d37e628d35d57a689870238395c |
| Windows, Arm64 | cue_302caa2d1f357b9f8db8c50c4f15d7380d731421ef53be7adb9f73322cfa61a1 |
SHA-256 checksums for all of these: checksums.txt