v0.3.0-beta.6

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

This release has some important bug fixes, fixing some regressions in disjunctions and trim, mostly, among some other bug fixes.

Some of the regressions in this release slipped in because a swat of tests was accidentally disabled in the move to the new evaluator. All former tests are now reenabled and a few more corresponding issues have been resolved.

There are some performance issues remaining. We are considering leaving those in and do a v0.3.0 release, addressing these in a subsequent release. In this case, we are getting fairly close to a v0.3.0.

There will still be a beta.7 release, which addresses a regression, allowing commands in non-tool files, that we would like to address in a separate release.

All changes

33 changesby area

ci3

  • cifix goreleaser config91abe0d
  • cimove to using go1.16a113048
  • ciset a "trybot" tag for trybot repository dispatch flowf014c14

cmd5

  • cmd/cue/cmdcorrect documentation for -d flag5d3afa9
  • cmd/cue/cmdremove skip testsde1f80c
  • cmd/cue/cmduse unify semantics merging across packages304a3e0
  • cmd/cuemake get go operate on a best-efforts basisae43812
  • cmd/cueonly ignore type and parse errors with get gocf5c48e

doc6

  • doc/ref/spec.mda few fixes17ea1d5
  • doc/ref/spec.mdfix escapingf5a19ef
  • doc/ref/spec.mdfix int_lit 03ca8680
  • doc/ref/spec.mdremove faulty use of \x in double-quoted stringe4d0d13
  • doc/tutorial/basicsfix example7df9fa4
  • doc/tutorial/kubernetesadd required go mod init stepb51368e

internal11

  • internal/core/adtadd more error positions351a77e
  • internal/core/adtallow hidden fields alongside embedded lists79644c3
  • internal/core/adtdiscard errors in field verification70e2f2e
  • internal/core/adtdon't count optional fields as proof of struct452c7bd
  • internal/core/adtdon't eliminate incomplete disjuncts prematurely3d926af
  • internal/core/adtget default when comparing ot bottom1589a07
  • internal/core/compilefix let resolution buge12e26e
  • internal/core/compilereenable disabled tests77e6b51
  • internal/core/evalminor performance improvements for disjunctions2c86835
  • internal/core/runtimedecouple cue API from Runtimee1e7031
  • internal/cuetestadd support for issue-based conditions/checkersc6b7ab2

Other8

  • cueValue.Equal should not only consider values7326cfa
  • cueremove build.Context reference830cfbc
  • encoding/jsonschemafix dropping of struct for additionalProperties: true430c3dd
  • generaladd .unity-bin to gitignore1347dd4
  • generaladd unity configuration to codereview.cfga0e1970
  • pkg/internalfix decimal and string list errors38f0f63
  • pkg/listfix list.Unique deduppingaf3c9dc
  • tools/trimfix too aggressive elimination for disjunctionsdcf932f

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.3.0-beta.6_darwin_amd64.tar.gz298537d7a667d622047626e58bd260db76bf89791c7162003bbf7c1fd946d5a6
Linux, x86-64cue_v0.3.0-beta.6_linux_amd64.tar.gzd7290e8c3d3d551a5b9150c818b4b8409d7626b3c530e80360a10f4d438e992c
Linux, Arm64cue_v0.3.0-beta.6_linux_arm64.tar.gza258c8bff8e9f39c47cc77700a171085ffb05039da578d8cef962a02a07703e5
Windows, x86-64cue_v0.3.0-beta.6_windows_amd64.zip30e949398c9c96a05091895a163e729666dcc4981c8083b4738dca51a395da97

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

Install CUE