v0.4.1
After an extended break following CUE's migration to cue-lang/cue
and multiple pre-releases, the v0.4.1
release mainly focuses on bug fixes. We also renew our pledge to in future release smaller changes more frequently on our way to language stability.
Thank you to @chai2010, @yujunz, @caarlos0, @hrvolapeter, @slewiskelly, @antong, @mvdan, @ameowlia and @palmamartin for contributing to this release!
Project-level changes
- Create
amd64
andarm64
release assets forlinux
,windows
anddarwin
, with accompanyingamd64
andarm64
Docker images and manifests:v0.4.1-beta.6
- Remove
go1.15
from build matrix:v0.4.1-beta.6
- Improve contribution project contribution guide:
v0.4.1-beta.6
Encoders
- Upgrade
gopkg.in/yaml.v3
; may result in some formatting changes for Yaml output:v0.4.1-beta.6
cmd/cue
- Support working directory in
tool/exec.Run
:v0.4.1-beta.6
- Numerous bug fixes relating to
cue eval
exporting oflet
expressions (#1116):v0.4.1-beta.6
- Fix for
cue def
bug where multiple list conjuncts resulted in an output containing a{}
conjunct:v0.4.1-beta.6
API
cue.ResolveReferences
fixed to work for the KubeVela project:v0.4.1-beta.6
- @ameowlia fixed an issue with a test example for
cue.Context
:v0.4.1-beta.6
- Allow concurrent use of
cue.Context
:v0.4.1-rc.1
Evaluator
- Fix a number of issues related to the use of aliases in lists by introducing a new scope with list values:
v0.4.1-beta.6
- Fix for issues related to defaults and string and number lists (#1025, #1404):
v0.4.1-beta.6
- Fix for a bug where comprehensions inside a definition resulted in an error (#1404):
v0.4.1-beta.6
- Important fix for bug related to the handling of default values that result in error (#1304 and #1257):
v0.4.1-beta.6
- Various unexpected panics have been fixed, including a panic in the case of circular
let
declarations (#1042):v0.4.1-beta.6
- Fix matching of
"_"
label:v0.4.1-rc.2
Language
This release makes no changes to the language.
- The CUE spec now correctly defines
$
as an identifier (#1264):v0.4.1-beta.6
Changelog
- internal/core/runtime: check non-existing builtin packages earlier d4d0f14
- cue: remove duplicate test code 8fbaf81
- internal/core/adt: use single return for LoadImport e5c7176
- internal/core/adt: fix matching of "_" label 3d3f721
- readme: fix Go version badge 60d6503
- cue/cuecontext: allow concurrent use 25cfb20
- gitiles: change logo from SVG to PNG 8a40ef0
- gitiles: customize navigation bar 28b4257
- doc: ensure all min Go versions refer to 1.16 79303b6
- ci: configure GoReleaser to mark prereleases as such 547e5cc
- ci: only trigger new version events after successful new version 6e68ca4
- ci: fix GoReleaser arm64 template details 795719e
- ci: fix target for homebrew tap b68f4c3
- ci: fix up GoReleaser image template names 02556bc
- ci: use GoReleaser v1.0.0 e7da62f
- cue: support ResolveReferences f68e000
- internal/core/export: keep open lists open d413bb8
- internal/core/export: fix let exporting 9a040dc
- pkg: fix default issue for string and numbers lists 910ff4d
- internal/core/adt: fix regression of dynamic closed fields in definitions 6c30678
- internal/core/export: treat empty data vertices as structs 9e7d4d6
- cmd/cue: confirm issues 1152 and 1153 are fixed 4d505e0
- cmd/cue: get go: ignore anonymous enums eb53c4e
- internal/core/adt: close open lists for Default b99ce0a
- cue: auto-unwrap single embedded value in Expr 061e661
- pkg/internal: compute combined error severity 7922f9b
- internal/core/export: fix bug with API-generated top-level close c490d4c
- ci: remove go1.15 from the build matrix e62a95a
- cue: fix output in ExampleContext f880467
- internal/core/adt: don't cache incomplete errors for let 9982526
- cue/testdata: hoist let cycle errors 4f3988f
- internal/core: use scope for lists 91476ab
- ci: correct location of unity 718c9a0
- internal/core/compile: remove unnecessary code f65dd0f
- cue: fix subsumption bug for disjuntion filtering b89ad85
- internal/encoding/yaml: upgrade go-yaml.v3 a8b721a
- encoding/openapi: fix crash in reference 15adb6c
- cmd/cue/cmd: improve shell arg parsing in tests 4e76bb4
- internal/core/export: don't add empty temp struct 0e56b82
- doc/ref/spec.md: include
$
in identifier 75c3d6b - internal/encoding/yaml: canonicalize non-string map keys c1c2cda
- encoding/yaml: quote strings more aggressively a83c6c6
- doc/tutorial/kubernetes: update types b9ac1ea
- internal/core/adt: fix bound simplification for floats 59bdbb5
- internal/core/adt: fix disjunction bug 62e876d
- cue: Expr handles empty lists to or/and builtins 9bb874c
- cue: define all Op constant values explicitly with that type 72936e4
- simplify install instructions assuming Go 1.16+ 29a686d
- doc: revamp contribution guide ahead of contributing live-stream dbf5992
- ci: update to use go1.17.3 and go1.16.10 9217c4d
- doc/ref/spec: fix typos and heading anchors 437920e
- cue: define all Kind constant values explicitly with that type fca61f5
- spec: Update example with regards to pattern constraints 8031fe7
- ci: latest Go versions in build matrix ddd96c6
- feat: update go build matrix 5cf1aa1
- doc: fix repeated word typos in spec 35c2f3c
- doc: remove useless whitespace in main README e8550b8
- doc/contrib: update git codereview change to use -s flag 0f53054
- cmd/cue: revert version string change ecb17c9
- ci: improve goreleaser workflow 370fac9
- doc/tutorial: fix errant use of list operators 38c8f7d
- ci: tidy up encoding of JSON args to curl a4a38ed
- ci: re-enable full CI workflows 7d25ee2
- ci: tidy up quoting of JSON args in workflow commands 59079b1
- readme: fix top-level CONTRIBUTING guide 5f28bb4
- readme: link to CoC from main readme and contributing guide 5ab75b8
- general: use cuelang.org/issues as the general issue link 35c4960
- github: fix up empty issue template a68df18
- github: tidy up issue templates 723a7fe
- general: update unity location 3d9cd71
- ci: fix Docker workflow 6da50d9
- all: change references from cuelang/cue to cue-lang/cue 06484a3
- internal/core/compile: fix let cycle error 20ed9ab
- ci: fix up new version trigger 0070bb1
- doc/tutorial/kubernetes: fix invalid user commands aa61ee7
- doc/tutorial/kubernetes: update k8s version 67bf363
- cmd/cue: fix up get go docs around "enum" types ec427f9
- Allow setting working directory for exec.Run 8e053d4
- interanal/core/runtime: remove commented out fields e8de4b1
Full Changelog: v0.4.0...v0.4.1
Docker images
docker pull docker.io/cuelang/cue:0.4.1