v0.8.0-rc.1

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

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 churn@mvdane529ce6
  • cmd/cuefix "login" on a clean environment, and add tests@mvdanf6238e5
  • cmd/cue,mod/modconfigsend User-Agent header@rogpeppe6db0b7f
  • cmd/cueenable HTTP logging for cue login@rogpeppe9f556fe
  • cmd/cueimplement cue mod tidy --check@rogpeppe9789ee6
  • cmd/cueimplement support for HTTP logging@rogpeppe9c8b09a
  • cmd/cueuse fallbackVersion when built via a directory replace@mvdane54fb85
  • cmd/cuehard-code a fallback CUE semver version@mvdanfc7038a

internal20

  • internal/cueversionbump fallbackVersion for v0.8.0-rc.1@mvdanccb64b1
  • internal/cueversionconvert spaces to underscore in Go version@rogpeppe0b7c434
  • internal/cueversionnew package@rogpeppe5dbbbcb
  • internal/modloadimplement tidiness checker@rogpeppe405511d
  • internal/mod/modloadsplit Tidy from UpdateVersions@rogpeppe0a23647
  • internal/httplognew package@rogpeppe893798b
  • internal/ciupdate the pinned Go version for v0.8@mvdana1e8429
  • internal/cuedebugnew package@rogpeppe6ad495d
  • internal/core/adtset nonRooted@mpvl28ae97d
  • internal/core/debugmore state in formation@mpvl2273c7d
  • internal/core/adtmake runner a struct instead of func@mpvl0651453
  • internal/core/adtfix conjunct index@mpvl2554094
  • internal/core/adtimplement new evaluator@mpvl5f55954
  • internal/core/adtonly error if inspected node missed counters@mpvlc547590
  • internal/core/adtclosedness improvements@mpvlb7f76be
  • internal/core/adtadd lifetime check for closedness@mpvlcdcb6fa
  • internal/core/adtmark functions only used in old evaluator@mpvlf55405b
  • internal/core/adtexclude tests with disjunctions@mpvl145b436
  • internal/core/adtpropagate closedness up@mpvl9d951f6
  • internal/core/adtintroduce visual CUE debugger@mpvl37c0260

Other7

  • doc/tutorialskip module.cue as a golden file to avoid churn@mvdand97e914
  • mod/modfilecheck canonical language version@rogpeppe2e503e0
  • bump ociregistry dependency to pull in a panic fix@mvdan382ea51
  • Revert "internal/e2e: partially revert using cue mod init modpath@version"@mvdanb1e40ae
  • update golang.org/x/... dependencies for v0.8.0@mvdan6afa3ef
  • cue/loadfix race in testing@rogpeppeee26ee2
  • mod/modconfigmake http transport configurable@rogpeppe0ef11fc

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-rc.1_darwin_amd64.tar.gzf5c9d2a2f7824e177bbc3a2bd1ed1b0bbb7799b437eb144270e9522929d36546
macOS, Apple siliconcue_v0.8.0-rc.1_darwin_arm64.tar.gzd4cff6941f0112f452f6d2c137177c6a657086442586361da3c1ad3a4457823c
Linux, x86-64cue_v0.8.0-rc.1_linux_amd64.tar.gz6209043952b25c5e5aa19c9c6bf962dc2c1ef9921a41a16c7a58e93860f7aecb
Linux, Arm64cue_v0.8.0-rc.1_linux_arm64.tar.gz6309aeca890b61064dad65139cdbe0d802927e2f42e4a8250b1ede0cf8a9fae7
Windows, x86-64cue_v0.8.0-rc.1_windows_amd64.zipc1bfc1b3ff6cb62590511c1c57083eae877b433b350bd6d390a32dee384bb03a
Windows, Arm64cue_v0.8.0-rc.1_windows_arm64.zip30801eb4dc4b099a9e4d0440d5cb88a5f7c9e894f210d91b165442d5f4df7a62

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

Install CUE