v0.3.0-beta.3

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

This release addresses some important bug fixes, including a performance regression. It also sports a complete reimplementation of trim, utilizing the possibilities of the data structures of the new evaluator.

cue trim

The biggest new feature of trim is that definitions now can remove fields of non-definitions. Other than that, it mostly is just bug fixes. The data structures of the new evaluator make it considerably easier to implement, leaving less than a quarter of the code.

encoding/protobuf

This package now links in the full set of builtins, obviating the need for API users to have to do this.

All changes

13 changesby area

internal6

  • internal/core/adtadd support info for trim08e814f
  • internal/core/adtchange closeInfo.embedded to a flag field8e6e795
  • internal/core/adtfix performance issue with disjunctions0e401d6
  • internal/core/adttreat files as belonging to same struct82bda84
  • internal/core/evalstrip arcs for nodes with structural cyclesc58e0ff
  • internal/core/validatepick up non-concrete values in defaults0f570a9

Other7

  • cmd/cue/cmdfix cue cmd crashfdc7010
  • cue/testdata/cyclefix another cycle buga8de61c
  • cueexempt hidden fields also in Unify and UnifyAccept28cfa74
  • doc/tutorial/kubernetesupdate files of Kubernetes democa5d2db
  • encoding/protobufenforce loading builting packagesf0c025c
  • tools/fixallow fixing non-essential simplificationf03928d
  • tools/trimimplement using adt6898897

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_0.3.0-beta.3_Darwin_x86_64.tar.gzb15779a6fb3112a52ae0f99ba84a136ae859caaccc540447a30bf257e2670c6a
Linux, Arm64cue_0.3.0-beta.3_Linux_arm64.tar.gze575768ba44a4fa117d7078c95fd5bc7c6c380b86b7fcb4dfd8b5a950723375c
Linux, x86-64cue_0.3.0-beta.3_Linux_x86_64.tar.gz3a55f5ab134d39df9ef977e07a544d6db03f21898c02b16607090e90fc01b5eb
Windows, x86-64cue_0.3.0-beta.3_Windows_x86_64.zipd1cf26fbeb8d731a36f91c36a56165b262dd4952a8eb6804066ad252c52930b8

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

Install CUE