v0.8.0-alpha.5
This release includes a number of fixes and improvements for the experimental support for CUE modules first released in v0.8.0-alpha.1.
Modules
A new cue mod get command is added, which can add a new module dependency, update an existing one, or downgrade an existing one as long as it does not cause any conflict.
The cue/load package has a new Config.Env struct field to provide the environment variables used to load CUE modules from registries.
A new cue help registryconfig documentation section has been added, explaining how $CUE_REGISTRY works as well as the configuration file schema it supports.
All changes
12 changes since v0.8.0-alpha.4by area
cmd3
cmd/cueimplement cue mod getcmd/cuefix bad variable referencecmd/cueadd registryconfig help
cue4
cue/loadimplement UpdateRequirementscue/load,mod/modconfigsupport custom environment variablescue/loaddelete unexported funcs only used in testscue/loadremove unused code from the modules refactors
mod3
mod/...API tweaksmod/...remove three somewhat unnecessary APIsmod/moduleassume Go 1.21 or later
Other2
- bump ociregistry dependency
internal/strremove as it only had one trivial use
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_703b7c11a319e1be915277398818e8ded11f852f7321123a234c4c0cd2039cd2 |
| macOS, Apple silicon | cue_ed042372a4ef4dec5e944a5682899001f0d6ab1f21a1e530bf8818c7ab89842f |
| Linux, x86-64 | cue_23300fb28f6a5e6395e26792c690c0fd222d7f1bd1fcbb2b0636966d80bcb70f |
| Linux, Arm64 | cue_1ee7a482acbc2e276065bbbe9417cdfc3b33b37bb4bc916dcf5438fe79500617 |
| Windows, x86-64 | cue_6d4fde799992d6deeb002324214599ead3d89ffb7dff791ff7f9b012142dba84 |
| Windows, Arm64 | cue_6cb1348630fbd690e0e48b21e74d38ccae3b8b56ca98fef905ed44b5bceb43b7 |
SHA-256 checksums for all of these: checksums.txt