v0.10.0-rc.1
This release candidate includes fixes to the evaluator and various encodings.
Evaluator
CLs 1198736 and 1198860 fix two panics uncovered in the new evaluator, enabled via CUE_EXPERIMENT=evalv3.
Encodings
CL 1198876 teaches the YAML decoder to decode empty documents as null, aligning with the YAML spec and fixing panics when loading empty YAML files.
CL 1198831 teaches the JSON Schema encoding to decode required properties as CUE required fields.
CL 1198874 fixes the loading of JSON files to reject multiple newline-delimited values, as those ar only allowed in NDJSON or JSONL files.
CL 1199025 teaches the TOML decoder to include positions in error values.
CL 1198819 fixes the decoding of TOML keys with underscore prefixes.
All changes
24 changes since v0.10.0-alpha.3by area
cmd9
cmd/cueadd test cases for embedding files inside symlink dirscmd/cueadd a test for embedding symbolic linkscmd/cueimplementcue import --dry-runcmd/cueadd testscript for the jsonl file typecmd/cuespeed up get_go_json_compat.txtarcmd/cueuse fewer go/packages Need bits inget gocmd/cueadd TOML to a couple of help topics I forgot aboutcmd/cueadd testscript to interpret empty files as various filetypescmd/cuefix all "flag used without being added" bugs
encoding6
encoding/tomlsupport error positionsencoding/tomlmimic indented CUE multi-line strings in test stringsencoding/jsonschemadecode required properties as required fieldsencoding/tomlsupport decoding keys named "_"encoding/jsonschemaadd test case for issue 3351encoding/jsonschemaport txtar tests to cuetxtar
internal6
internal/encoding/yamldecode empty inputs as "null"internal/core/adtfix panic triggered by using wrong conditioninternal/encodingdecode json files as a single JSON valueinternal/ci/checkbump yuin/goldmarkinternal/core/adtdon't signal cleared schedulersinternal/cuetdtestmake M.Flags (internal) public
Other3
- update golang.org/x/... and ociregistry for rc.1
alldelay compiling global regexes and templatesalluse simpler for loop iterations
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_eb3729fbab26d0b16a245ea4a02601346b62ab2b6227d5d21e9969f624739457 |
| macOS, Apple silicon | cue_cb4ebd803e6660271f4ca95f4ea2442d4c82c44bf7719efdcdbe729b64dfd075 |
| Linux, x86-64 | cue_0f51b2c200b2b5b923f459ca7f9a48ce804dd34a6044a5e9dff139e9b93f4cd3 |
| Linux, Arm64 | cue_77d9278ffa23fc36f29b8ea56d8468625365a8e3be0a90d7eefed38c058f904c |
| Windows, x86-64 | cue_78d24fe4e1bd7e3a0ae9f370b0dd5694a47dbc12e6febd37e45229c5a063dbd0 |
| Windows, Arm64 | cue_087a5549812f5e97752b0bd6d9e3c047550a51e77ecf8b81012f35cf19bf7c13 |
SHA-256 checksums for all of these: checksums.txt