v0.10.0-rc.1

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

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 dirs@mvdan677ece8
  • cmd/cueadd a test for embedding symbolic links@mvdan4d941df
  • cmd/cueimplement cue import --dry-run@mvdanbcbc7cd
  • cmd/cueadd testscript for the jsonl file type@mvdan4c7aecf
  • cmd/cuespeed up get_go_json_compat.txtar@mvdan20d3c9c
  • cmd/cueuse fewer go/packages Need bits in get go@mvdan3260084
  • cmd/cueadd TOML to a couple of help topics I forgot about@mvdan0dccbf3
  • cmd/cueadd testscript to interpret empty files as various filetypes@mvdandb92bf8
  • cmd/cuefix all "flag used without being added" bugs@mvdan0bd038c

encoding6

  • encoding/tomlsupport error positions@mvdan334a6fe
  • encoding/tomlmimic indented CUE multi-line strings in test strings@mvdan1ec257c
  • encoding/jsonschemadecode required properties as required fields@haoqixuc4697bd
  • encoding/tomlsupport decoding keys named "_"@mvdancf18d6f
  • encoding/jsonschemaadd test case for issue 3351@mvdan95c818c
  • encoding/jsonschemaport txtar tests to cuetxtar@mvdan44bc1ab

internal6

  • internal/encoding/yamldecode empty inputs as "null"@mvdan30a5c79
  • internal/core/adtfix panic triggered by using wrong condition@mpvlcd689ef
  • internal/encodingdecode json files as a single JSON value@mvdane8e6f04
  • internal/ci/checkbump yuin/goldmark@mvdandfe07b8
  • internal/core/adtdon't signal cleared schedulers@mvdan0d4258e
  • internal/cuetdtestmake M.Flags (internal) public@cuematthew91929bd

Other3

  • update golang.org/x/... and ociregistry for rc.1@mvdanc15144f
  • alldelay compiling global regexes and templates@mvdan252a666
  • alluse simpler for loop iterations@mvdan0d9d541

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.10.0-rc.1_darwin_amd64.tar.gzeb3729fbab26d0b16a245ea4a02601346b62ab2b6227d5d21e9969f624739457
macOS, Apple siliconcue_v0.10.0-rc.1_darwin_arm64.tar.gzcb4ebd803e6660271f4ca95f4ea2442d4c82c44bf7719efdcdbe729b64dfd075
Linux, x86-64cue_v0.10.0-rc.1_linux_amd64.tar.gz0f51b2c200b2b5b923f459ca7f9a48ce804dd34a6044a5e9dff139e9b93f4cd3
Linux, Arm64cue_v0.10.0-rc.1_linux_arm64.tar.gz77d9278ffa23fc36f29b8ea56d8468625365a8e3be0a90d7eefed38c058f904c
Windows, x86-64cue_v0.10.0-rc.1_windows_amd64.zip78d24fe4e1bd7e3a0ae9f370b0dd5694a47dbc12e6febd37e45229c5a063dbd0
Windows, Arm64cue_v0.10.0-rc.1_windows_arm64.zip087a5549812f5e97752b0bd6d9e3c047550a51e77ecf8b81012f35cf19bf7c13

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

Install CUE