v0.14.0-rc.1
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 modulesgopls/cacherework normalizeImportPathgopls/cacheignore imports of stdlibgopls/lsprpcAdjust gopls to cuelsp and simplify
internal29
internal/ciallow gerritHubHostname to be overriddeninternal/core/adtnew data structure for reqSetsinternal/core/adtadd generation tracking to closedness infointernal/core/adtadd generation tracking to prevent stale context usageinternal/core/adtfix notification CloseInfointernal/core/adtadd tests for 3981internal/core/adtToDataAll rewriteinternal/ciallow additional cache modesinternal/cmd/cue-astuse cue/load with SkipImports=trueinternal/core/adtremove CloseIDElems counterinternal/core/adtadd counters before rewriteinternal/core/adthoist loopinternal/core/adtchange signatureinternal/core/adtremove replaceID.add fieldinternal/cistart publishing the moduleinternal/cicarve out into a separate module to be publishedinternal/cido a little bit more for trybot jobs in the base packageinternal/ciapply the top-level githubactions.#Workflow schemainternal/core/adtrevert CL 1208898 for evalv2internal/golangorgxremove the unused tools/facts packageinternal/golangorgx/vendoringremoveinternal/cirename "ubuntu" runner to "linux"internal/golangorgxdelete unused and Go-specific packagesinternal/golangorgxremove unused gopls/util packagesinternal/goplsrewrite gopls/cuelspinternal/goplsremove unnecessary old command aliasinternal/goplsrenaming of gopls to cuelspinternal/goplsdelete a lot of codeinternal/golangorgxremove gopls re-vendoring script
Other9
tools/flowavoid looking like we're usinggo runfor real- update dependencies for v0.14.0-rc.1
cue/statsremove unused CloseIDElems countercmd/cue/cmdadd tests for 3981encoding/jsonschemaimplement dependenciestools/trimWork harder to discover disjunction branchescmd/cue/cmdspeed up use of sleeps to test concurrent commandsallmake some txtar table tests parallel- update all direct dependencies
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_02aa6ad455c2e1aee3af11f690d40fc83cb7566e9e616f3ec6f7ef2d7afeb20c |
| macOS, Apple silicon | cue_6ffba869b4ea6a00876e656cd496bd00f12008cfc738d7f328a7a7a029bce5dd |
| Linux, x86-64 | cue_8c5ee0a576199f497d9ef74d02b80f4b3551f51cd3201c296fdb38b6c8a80960 |
| Linux, Arm64 | cue_7f1cf5c1a01bb06582a56caaf37db82f203cc063476d35455807d47a637f6d48 |
| Windows, x86-64 | cue_682433bdc75e7209ef83d502f285e9b8e8f2a18dd80809f88b441e4e22490e89 |
| Windows, Arm64 | cue_6408c3f09ff818a7bdaaada4b163a6531d27fcd143530d1c104e57123b2dd6fb |
SHA-256 checksums for all of these: checksums.txt