v0.8.0-alpha.4
This release includes a number of fixes and improvements for the experimental support for CUE modules first released in v0.8.0-alpha.1.
Thank you to @kharf, @mvdan, @myitcv, @nickfiggins, and @rogpeppe for contributing to this release!
Modules
The cue/load package now supports loading CUE instances using the CUE Modules experiment, which was first added to cmd/cue in v0.8.0-alpha.1.
cue/load supports the CUE Modules experiment out of the box with the environment variable CUE_EXPERIMENT=modules. Alternatively, a custom registry and authorizer can be configured with the Config.Registry field via the modconfig.NewRegistry API.
We have also added new Go examples to the cue/load package, including an example demonstrating the use of a CUE modules registry.
Other changes
CL 1177330 fixes a bug where some evaluation errors in tools/flow and cue cmd were omitted, causing unintended results.
CL 1177546 tweaks cmd/cue so that it obeys the --package flag when the output format is CUE.
All changes
17 changes since v0.8.0-alpha.3by area
cmd3
cmd/cuesupport --package flag when output is CUEcmd/cuestop trying to set $HOME in script_test.gocmd/cueskip the logins.json authorizer if no file is found
cue3
cue/loadadd runnable example for external modulescuefix typos in the Hid function documentationcue/loadadd a runnable package example
internal3
internal/e2epartially revert usingcue mod init modpath@versioninternal/parmove from internal/mod/internal/parinternal/cifix reference to tool/file.RemoveAll
mod6
mod/modconfigfactor out from cmd/cuemod/...mark as experimentalmod/modcachemove from internal/mod/modcachemod/modregistrymove from internal/mod/modregistrymod/modfilemove from internal/mod/modfilemod/modulemove from internal/mod/module
Other2
tools/flowcheck and return errors from task values- bump ociregistry module version
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_3fdac35923b7ed2379b6f6854e99e52b9b491978921294627a83050deaad9f56 |
| macOS, Apple silicon | cue_42901e60cacbcb420bd8ded67c02bdcb6c5b5db5637dbde5fdf2c9c5ef9ae155 |
| Linux, x86-64 | cue_5cad6829411fabc54ccf32cc4e4d9f0ba610bbe48746a0ed98c6a92249788efc |
| Linux, Arm64 | cue_ad761ce1ddf15c8d7cb94ca3e7ec6869a18aa97685c04996f724f9990651f08f |
| Windows, x86-64 | cue_3dd21d1b2550a32f17e2729928eb333c9e46e5356b816ad8e66cef5e601138d4 |
| Windows, Arm64 | cue_3d357a57424f870421635396b40b485fa1a8268d78519b5da5955304d70346a3 |
SHA-256 checksums for all of these: checksums.txt