v0.14.0-rc.1

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

This release brings another significant speed-up for the new evaluator, as well as other fixes aiming for the final release.

Evaluator

A portion of the new closedness algorithm, which was observed to cause significant slowness and memory usage for some users, has been rewritten with a new data structure. A few larger projects have seen reductions of up to 50% in CPU and memory usage as a result.

A small change which unintentionally affected the old evaluator has been reverted, to fix a “field not allowed” regression.

cmd/cue

A bug has been fixed in the new cue trim algorithm where some disjunctions could be incorrectly treated as ambiguous.

Encodings

The JSON Schema decoder has gained support for dependencies, bringing the pass rate for the official JSON Schema test suite up from 79% to 81%.

All changes

42 changes since v0.14.0-alpha.2by area

gopls4

  • gopls/cacheadd test for imports of non-ambiguous non-default modules@cuematthewe4cdcd3
  • gopls/cacherework normalizeImportPath@cuematthewf309265
  • gopls/cacheignore imports of stdlib@cuemattheweac9728
  • gopls/lsprpcAdjust gopls to cuelsp and simplify@cuematthewca86fb0

internal29

  • internal/ciallow gerritHubHostname to be overridden@myitcv5cc6d81
  • internal/core/adtnew data structure for reqSets@mpvl3f23e12
  • internal/core/adtadd generation tracking to closedness info@mpvl5077511
  • internal/core/adtadd generation tracking to prevent stale context usage@mpvl19e2c74
  • internal/core/adtfix notification CloseInfo@mpvl0ccf38c
  • internal/core/adtadd tests for 3981@mpvl78e1a11
  • internal/core/adtToDataAll rewrite@mpvl2804f1d
  • internal/ciallow additional cache modes@jpluscplusm9afca73
  • internal/cmd/cue-astuse cue/load with SkipImports=true@mvdan45ab65e
  • internal/core/adtremove CloseIDElems counter@mpvl9033834
  • internal/core/adtadd counters before rewrite@mpvlc8256cd
  • internal/core/adthoist loop@mpvl24cc414
  • internal/core/adtchange signature@mpvl5ee4254
  • internal/core/adtremove replaceID.add field@mpvld987d88
  • internal/cistart publishing the module@mvdan05a3d64
  • internal/cicarve out into a separate module to be published@mvdan17177e9
  • internal/cido a little bit more for trybot jobs in the base package@mvdan1004c32
  • internal/ciapply the top-level githubactions.#Workflow schema@mvdand9aaac0
  • internal/core/adtrevert CL 1208898 for evalv2@mvdan1789dd4
  • internal/golangorgxremove the unused tools/facts package@mvdan60c36a5
  • internal/golangorgx/vendoringremove@mvdan4d66634
  • internal/cirename "ubuntu" runner to "linux"@mvdan8250c1f
  • internal/golangorgxdelete unused and Go-specific packages@mvdandbed9a3
  • internal/golangorgxremove unused gopls/util packages@mvdan9ca9609
  • internal/goplsrewrite gopls/cuelsp@cuematthewa23afdf
  • internal/goplsremove unnecessary old command alias@cuematthew4752c04
  • internal/goplsrenaming of gopls to cuelsp@cuematthew8935ee3
  • internal/goplsdelete a lot of code@cuematthew3fb3043
  • internal/golangorgxremove gopls re-vendoring script@mvdan3114a2f

Other9

  • tools/flowavoid looking like we're using go run for real@mvdan5f4bd37
  • update dependencies for v0.14.0-rc.1@mvdan0c84f96
  • cue/statsremove unused CloseIDElems counter@mpvl930a98b
  • cmd/cue/cmdadd tests for 3981@mpvl840ff27
  • encoding/jsonschemaimplement dependencies@rogpeppe9620eae
  • tools/trimWork harder to discover disjunction branches@cuematthew7f38bb8
  • cmd/cue/cmdspeed up use of sleeps to test concurrent commands@mvdan13461f1
  • allmake some txtar table tests parallel@mvdan2d182a5
  • update all direct dependencies@mvdan2df1b5a

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.14.0-rc.1_darwin_amd64.tar.gz02aa6ad455c2e1aee3af11f690d40fc83cb7566e9e616f3ec6f7ef2d7afeb20c
macOS, Apple siliconcue_v0.14.0-rc.1_darwin_arm64.tar.gz6ffba869b4ea6a00876e656cd496bd00f12008cfc738d7f328a7a7a029bce5dd
Linux, x86-64cue_v0.14.0-rc.1_linux_amd64.tar.gz8c5ee0a576199f497d9ef74d02b80f4b3551f51cd3201c296fdb38b6c8a80960
Linux, Arm64cue_v0.14.0-rc.1_linux_arm64.tar.gz7f1cf5c1a01bb06582a56caaf37db82f203cc063476d35455807d47a637f6d48
Windows, x86-64cue_v0.14.0-rc.1_windows_amd64.zip682433bdc75e7209ef83d502f285e9b8e8f2a18dd80809f88b441e4e22490e89
Windows, Arm64cue_v0.14.0-rc.1_windows_arm64.zip6408c3f09ff818a7bdaaada4b163a6531d27fcd143530d1c104e57123b2dd6fb

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

Install CUE