v0.9.0-alpha.1

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

This release adds initial support for the CUE Central Registry (details below) and includes a number of fixes and improvements.

As a reminder: users can register their projects with Unity, our regression and performance testing setup. Unity is used to ensure that a project’s CUE evaluations do not unexpectedly stop working, or regress in terms of performance. It continues to catch multiple issues with each release. Adding your project to Unity not only guarantees that we will not break your tests (if we do, we will work with you to fix your CUE code), but it also helps to improve the quality of each CUE release. Follow this link to learn more about Unity, install it, or get in touch with any questions.

Modules

This release includes experimental support for the CUE Central Registry at registry.cue.works. We have added a cue login command to log into the Central Registry via a GitHub account, and other commands know how to use these credentials when talking to the registry.

We will share more details about the Central Registry and support for other login mechanisms in the future. For now, we are looking to get early feedback.

To get started with the Central Registry, we have published a tutorial on working with modules and the central registry as well.

CL 1185280 adds cue help modules as a high-level overview of CUE modules as well.

Go API

CL 1185281 reverts a change in v0.8.0 to fix valid uses of tools/flow involving task inputs derived from the evaluation of other tasks.

CL 1185684 removes the last remaining bits of API which supported quoted identifiers, which had already been deprecated and largely unsupported for years.

cmd/cue

CL 1173100 fixes cue get go to avoid panics when dealing with vendored packages or any type aliases which refer to indirectly imported packages.

CL 1185356 tweaks cue/load so that cue fmt is able to format CUE files given directly as arguments even when they belong to different packages.

CL 1185473 deprecates the short-form cue somecmd in favor of cue cmd somecmd, as the former caused a number of bugs and slowness when working out which subcommand to execute.

All changes

16 changes since v0.8.0by area

cmd6

  • cmd/cuedeprecate cue somecmd in favor of cue cmd somecmd@mvdane8ecf23
  • cmd/cueignore errors on empty package directories in fmt@mvdan7fcae93
  • cmd/cuemore modules help@rogpeppecb121f5
  • cmd/cueun-hide login command and update docs@mvdan50ed912
  • cmd/cuefind packages by canonical path in get go@uhthomasb648cf4
  • cmd/cuevarious minor cleanups@mvdanc248f4e

cue4

  • cue/astremove ParseIdent and support for quoted identifiers@mvdanf8ec1f4
  • cue/ast/astutilstop using the deprecated ast.ParseIdent@mvdan35acbf4
  • cue/loadobey "all packages" mode when loading files@mvdan623b6a8
  • cueremove op type and op-token maps@mvdan93b1a79

internal4

  • internal/cueversionbump fallbackVersion for v0.9.0-alpha.1@mvdan74fb5cf
  • internal/_e2erename CUE_LOGINS to CUE_TEST_LOGINS@myitcvec655a5
  • internal/cido not trigger build of tip.cuelang.org@myitcv4aaa2db
  • internal/cueversionbump to v0.9.0-0.dev@mvdana2d2085

Other2

  • Revert "tools/flow: check and return errors from task values"@rogpeppeea385fd
  • remove unneeded dockerignore file@mvdan5489392

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.9.0-alpha.1_darwin_amd64.tar.gz575eb86539d22224c9b6b825ccecb028db6097f72e0bad5e59b2bd047a89771e
macOS, Apple siliconcue_v0.9.0-alpha.1_darwin_arm64.tar.gzf4109404802426dbb8f31e76c68890a148a77a9e5ce7c8fe1b267ff7b250ea30
Linux, x86-64cue_v0.9.0-alpha.1_linux_amd64.tar.gza4a37c75a35598aa62f2e29da88c39c28a4a8ed95c5cb23158db62d92b295f77
Linux, Arm64cue_v0.9.0-alpha.1_linux_arm64.tar.gz61bd8015c1dbc6ddc7c1c315b731777186ac1b7593b3bac117f3f0ae993a6423
Windows, x86-64cue_v0.9.0-alpha.1_windows_amd64.zip99cce51a5c9d0bc1bd8885ef1891a38c1e626a8509fb633b10c7aa1fe4d50450
Windows, Arm64cue_v0.9.0-alpha.1_windows_arm64.zipf89af34b25fb0a6504e1d1bee4ebc5513446aef862818e538ef7f3f5fff9868f

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

Install CUE