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
cue mod tidy
gained a --check
flag, which succeeds only if the module file contains exactly the required dependencies and also contains a canonical CUE language version.
cmd/cue
and cue/load
now send a detailed HTTP User-Agent string to CUE registries when sending HTTP requests, including the CUE and Go versions, rather than Go's default net/http user agent string.
cmd/cue
now supports CUE_DEBUG=http
to print HTTP logging information to stderr in JSON format.
Local builds of cmd/cue
, such as running go install ./cmd/cue
, now include a proper CUE version, allowing cue mod init
and cue mod tidy
to insert language.version
as expected.
Full list of changes since v0.8.0-alpha.5
cue mod init modpath@version
" by @mvdan in b1e40ae