v0.8.0-rc.1
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.
All changes
35 changes since v0.8.0-alpha.5by area
cmd8
cmd/cueuse CUE_VERSION_OVERRIDE in script tests to avoid churncmd/cuefix "login" on a clean environment, and add testscmd/cue,mod/modconfigsend User-Agent headercmd/cueenable HTTP logging for cue logincmd/cueimplement cue mod tidy --checkcmd/cueimplement support for HTTP loggingcmd/cueuse fallbackVersion when built via a directory replacecmd/cuehard-code a fallback CUE semver version
internal20
internal/cueversionbump fallbackVersion for v0.8.0-rc.1internal/cueversionconvert spaces to underscore in Go versioninternal/cueversionnew packageinternal/modloadimplement tidiness checkerinternal/mod/modloadsplit Tidy from UpdateVersionsinternal/httplognew packageinternal/ciupdate the pinned Go version for v0.8internal/cuedebugnew packageinternal/core/adtset nonRootedinternal/core/debugmore state in formationinternal/core/adtmake runner a struct instead of funcinternal/core/adtfix conjunct indexinternal/core/adtimplement new evaluatorinternal/core/adtonly error if inspected node missed countersinternal/core/adtclosedness improvementsinternal/core/adtadd lifetime check for closednessinternal/core/adtmark functions only used in old evaluatorinternal/core/adtexclude tests with disjunctionsinternal/core/adtpropagate closedness upinternal/core/adtintroduce visual CUE debugger
Other7
doc/tutorialskip module.cue as a golden file to avoid churnmod/modfilecheck canonical language version- bump ociregistry dependency to pull in a panic fix
- Revert "internal/e2e: partially revert using
cue mod init modpath@version" - update golang.org/x/... dependencies for v0.8.0
cue/loadfix race in testingmod/modconfigmake http transport configurable
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_f5c9d2a2f7824e177bbc3a2bd1ed1b0bbb7799b437eb144270e9522929d36546 |
| macOS, Apple silicon | cue_d4cff6941f0112f452f6d2c137177c6a657086442586361da3c1ad3a4457823c |
| Linux, x86-64 | cue_6209043952b25c5e5aa19c9c6bf962dc2c1ef9921a41a16c7a58e93860f7aecb |
| Linux, Arm64 | cue_6309aeca890b61064dad65139cdbe0d802927e2f42e4a8250b1ede0cf8a9fae7 |
| Windows, x86-64 | cue_c1bfc1b3ff6cb62590511c1c57083eae877b433b350bd6d390a32dee384bb03a |
| Windows, Arm64 | cue_30801eb4dc4b099a9e4d0440d5cb88a5f7c9e894f210d91b165442d5f4df7a62 |
SHA-256 checksums for all of these: checksums.txt