v0.8.0-alpha.5
Pre-release
Pre-release
cueckoo
released this
05 Mar 16:06
·
1146 commits
to master
since this release
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.
Full list of changes since v0.8.0-alpha.4
- mod/...: API tweaks by @rogpeppe in 7d4d90d
- cmd/cue: implement cue mod get by @rogpeppe in 93643a3
- cue/load: implement UpdateRequirements by @rogpeppe in 2dc8879
- cue/load,mod/modconfig: support custom environment variables by @rogpeppe in bab5d3a
- bump ociregistry dependency by @rogpeppe in 50c2472
- mod/...: remove three somewhat unnecessary APIs by @mvdan in 6cba4c0
- mod/module: assume Go 1.21 or later by @mvdan in aa60650
- cue/load: delete unexported funcs only used in tests by @mvdan in 812bd85
- internal/str: remove as it only had one trivial use by @mvdan in 77d5973
- cue/load: remove unused code from the modules refactors by @mvdan in c5e67f2
- cmd/cue: fix bad variable reference by @rogpeppe in 77936ec
- cmd/cue: add registryconfig help by @rogpeppe in 91c72d9