v0.8.0-alpha.5

cue-lang/cue Pre-release Released

A release of CUE OSS · its page on GitHub

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 get@rogpeppe93643a3
  • cmd/cuefix bad variable reference@rogpeppe77936ec
  • cmd/cueadd registryconfig help@rogpeppe91c72d9

cue4

  • cue/loadimplement UpdateRequirements@rogpeppe2dc8879
  • cue/load,mod/modconfigsupport custom environment variables@rogpeppebab5d3a
  • cue/loaddelete unexported funcs only used in tests@mvdan812bd85
  • cue/loadremove unused code from the modules refactors@mvdanc5e67f2

mod3

  • mod/...API tweaks@rogpeppe7d4d90d
  • mod/...remove three somewhat unnecessary APIs@mvdan6cba4c0
  • mod/moduleassume Go 1.21 or later@mvdanaa60650

Other2

  • bump ociregistry dependency@rogpeppe50c2472
  • internal/strremove as it only had one trivial use@mvdan77d5973

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.8.0-alpha.5_darwin_amd64.tar.gz703b7c11a319e1be915277398818e8ded11f852f7321123a234c4c0cd2039cd2
macOS, Apple siliconcue_v0.8.0-alpha.5_darwin_arm64.tar.gzed042372a4ef4dec5e944a5682899001f0d6ab1f21a1e530bf8818c7ab89842f
Linux, x86-64cue_v0.8.0-alpha.5_linux_amd64.tar.gz23300fb28f6a5e6395e26792c690c0fd222d7f1bd1fcbb2b0636966d80bcb70f
Linux, Arm64cue_v0.8.0-alpha.5_linux_arm64.tar.gz1ee7a482acbc2e276065bbbe9417cdfc3b33b37bb4bc916dcf5438fe79500617
Windows, x86-64cue_v0.8.0-alpha.5_windows_amd64.zip6d4fde799992d6deeb002324214599ead3d89ffb7dff791ff7f9b012142dba84
Windows, Arm64cue_v0.8.0-alpha.5_windows_arm64.zip6cb1348630fbd690e0e48b21e74d38ccae3b8b56ca98fef905ed44b5bceb43b7

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

Install CUE