v0.9.0-alpha.1
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/cuedeprecatecue somecmdin favor ofcue cmd somecmdcmd/cueignore errors on empty package directories in fmtcmd/cuemore modules helpcmd/cueun-hide login command and update docscmd/cuefind packages by canonical path in get gocmd/cuevarious minor cleanups
cue4
cue/astremove ParseIdent and support for quoted identifierscue/ast/astutilstop using the deprecated ast.ParseIdentcue/loadobey "all packages" mode when loading filescueremove op type and op-token maps
internal4
internal/cueversionbump fallbackVersion for v0.9.0-alpha.1internal/_e2erename CUE_LOGINS to CUE_TEST_LOGINSinternal/cido not trigger build of tip.cuelang.orginternal/cueversionbump to v0.9.0-0.dev
Other2
- Revert "tools/flow: check and return errors from task values"
- remove unneeded dockerignore file
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_575eb86539d22224c9b6b825ccecb028db6097f72e0bad5e59b2bd047a89771e |
| macOS, Apple silicon | cue_f4109404802426dbb8f31e76c68890a148a77a9e5ce7c8fe1b267ff7b250ea30 |
| Linux, x86-64 | cue_a4a37c75a35598aa62f2e29da88c39c28a4a8ed95c5cb23158db62d92b295f77 |
| Linux, Arm64 | cue_61bd8015c1dbc6ddc7c1c315b731777186ac1b7593b3bac117f3f0ae993a6423 |
| Windows, x86-64 | cue_99cce51a5c9d0bc1bd8885ef1891a38c1e626a8509fb633b10c7aa1fe4d50450 |
| Windows, Arm64 | cue_f89af34b25fb0a6504e1d1bee4ebc5513446aef862818e538ef7f3f5fff9868f |
SHA-256 checksums for all of these: checksums.txt