This release includes many fixes and enhancements, particularly for modules. It also starts requiring Go 1.22 or later, as Go 1.23.0 will be released very soon.
Modules
The cue help
documentation for modules and inputs has been expanded, and a number of error messages when using or publishing modules are now more helpful.
A new concept guide on CUE language versions documents the language.version
field in cue.mod/module.cue
files.
CL 1198249 adds support for an @ignore
file attribute to unconditionally ignore a file when loading packages or calculating dependencies.
CL 1198003 teaches the CUE loader to support symbolic links when loading from local directories, matching the behavior before CUE_EXPERIMENT=modules
was introduced.
CL 1198143 tweaks cue mod init
without an argument to create a module with the module path cue.example
rather than an empty path that made the module file invalid.
Go API
CL 1198157 fixes cue/parser
to accept keywords as valid selectors, aligning with the language specification.
Full list of changes since v0.10.0-alpha.1
@ignore
attributes by @rogpeppe in e00557b
@ignore
tags by @rogpeppe in d502843
cue help modules
by @rogpeppe in 8986233
cue help inputs
by @rogpeppe in e9bc377