This release fixes dozens of bugs in the old and new evaluators and includes more JSON Shema improvements.
Changes which may break some users are marked below with: ⚠️
Evaluator
Over a dozen closedness and cycle detection bugs have been fixed in CUE_EXPERIMENT=evalv3
, including a few which caused panics or endless evaluation.
CL 1202685 tweaks cuecontext.New
to follow CUE_EVALUATOR=evalv3
when the cuecontext.EvaluatorVersion
option is not used.
CL 1202903 fixes embed.New
so that it works without needing to set CUE_EXPERIMENT=embed
as well.
CLs 1202120 and 1202211 fix a number of issues where validators like matchN
or struct.MinFields
would give incorrect results.
Go API
⚠️ CL 1202244 tweaks the cue.Value
API to consider open lists as concrete, aligning with the spec.
⚠️ CLs 1202285 and 1202286 remove the cue.Value.Subsumes
and cue.Value.Split
methods, which have been deprecated and hidden for years.
Encodings
JSON Schema spec compatibility is improved further by fixing a number of bugs and adding missing features.
Builtins
CL 1202104 adds the net.URL
and net.AbsURL
validators, needed by JSON Schema.