v0.5.0-alpha.1
Pre-release
Pre-release
myitcv
released this
19 Oct 13:13
·
1767 commits
to master
since this release
Full release notes to follow in a later pre-release.
- internal/core/export: fix crash in dynamic fields by @mpvl in ad253ed
- all: apply and follow Go 1.19's gofmt by @mvdan in 519d326
- internal/core: implement let as fields by @mpvl in 36bd656
- pkg: reuse pkg/gen to generate package godocs by @mvdan in df148ee
- internal/core/adt: eliminate disjuncts for incomplete errors by @mpvl in c556a19
- doc/tutorial/kubernetes: only run as a long test by @mvdan in 6551ea5
- internal/core/adt: fix test by @mpvl in d3959eb
- internal/core/adt: add tests for let by @mpvl in 7c7056c
- internal/core/compile: prepare for let change by @mpvl in 739713c
- internal/core/...: fix various attributes printing issues by @mpvl in 82933ad
- internal/core/adt: remove StructInfo for unused structs by @mpvl in c89ab8b
- internal/core/compile: add missing import in test by @mpvl in be9cc0d
- internal/cuetxtar: add method for getting a single instance by @rogpeppe in e5f21db
- internal/filetypes: not a file extension if the file starts with a dot by @rogpeppe in db0897b
- internal/core/adt: defensive use of CloseInfo by @mpvl in 9e9786e
- internal/filetypes: fix TestParseFile tests by @rogpeppe in 3290797
- internal/cuetxtar: improve docs by @rogpeppe in d2250b9
- encoding/gocode: be resilient to Go string literal changes by @rogpeppe in 1cfb57c
- doc/tutorial/basics: make test scripts run again by @mvdan in 6cb877e
- encoding/openapi: update API by @rogpeppe in 74566cf
- cue/stats: new package for getting operation statistics by @mpvl in 535d188
- errors: make Errors and Print respect wrapped errors by @rogpeppe in 4007775
- internal/core/path: package for Selector to Feature conversion by @mpvl in 4c9d0ac
- cue: tweaks to selector API by @mpvl in cd27b12
- cue: add Value.BuildInstance method by @rogpeppe in a552c1f
- encoding/yaml: be clearer about the role of the src argument by @rogpeppe in 351a9fb
- internal/core/adt: fix cycles in evaluation by @mpvl in ac11215
- internal/core/adt: tighten structural cycle detection by @mpvl in f8e363e
- internal/core/adt: tighten structural cycle detection by @mpvl in 68152ec
- internal/core/adt: fix spurious cycle for inline recursion by @mpvl in c997044
- internal/core/adt: fix issue with references cycles by @mpvl in cd4bf2b
- internal/core/adt: some fixes to structural cycle detection by @mpvl in 8133f55
- internal/core/compile: fix aliases to dynamic fields by @mpvl in 353833c
- cue: add Selector.Type API by @rogpeppe in 8e8f1cf
- cue/load: deterministically sort CUE files when loading by @mvdan in 295786e
- internal/core/adt: count conjuncts by @mpvl in 1a12916
- internal/core/adt: finalize arcs that are almost done by @mpvl in 8ee1127
- internal/core/adt: remove redundant line by @mpvl in 37ee967
- internal/core/adt: clean up some span logic and add a comment by @mpvl in ce30e67
- internal/core/adt: move Label for better bin packing by @mpvl in e398e10
- internal/core/adt: clean up some closedness code by @mpvl in 9e15ca1
- internal/core/adt: fix spurious child error by @mpvl in 830847b
- all: start using testscript.Params.RequireExplicitExec by @mvdan in 37a2a07
- internal/core/adt: pick defaults for label evaluation by @mpvl in 83d37e7
- cmd/cue/cmd: testscript moved its gopath location by @mvdan in 4a73630
- internal/core/adt: SpawnRef loop optimization by @rogpeppe in 7292034
- all: use txtar filename extensions consistently by @mvdan in c1689bb
- mod: drop x/xerrors from the module graph by @mvdan in 0460b47
- mod: drop apd v1 from the module graph by @mvdan in d663a8c
- all: apply Go 1.19's gofmt by @mvdan in 3f3f181
- internal/core/adt: fix spurious cycle by @mpvl in e187f9f
- internal/core/adt: reimplementation of cycle algorithm by @mpvl in 6b3fd65
- internal/core/adt: hoist cycle logic by @mpvl in eab8c8e
- internal/core/adt: pass Conjunct instead of Environment to Resolve by @mpvl in 428d395
- internal/core/adt: don't spawn duplicate locations by @mpvl in 3bedf8e
- internal/core/adt: fix env linking for comprehensions by @mpvl in b00f5d6
- cmd/cue: remove all stdin buffering by @mvdan in b4d1b16
- all: use the .test TLD for module paths in tests by @mvdan in 5a08d2f
- CI: only pull master commits through a proxy on Linux by @mvdan in 395df20
- CI: try "pull through proxy" go get up to five times by @mvdan in 4f15036
- all: fix migration to x/tools/txtar by @myitcv in 0a46a16
- cmd/cue/cmd: add --inline-imports flag by @mpvl in 974a09b
- cue: support InlineImports for Syntax by @mpvl in ae56267
- internal/core/export: don't inline for errors by @mpvl in e87bc25
- internal/core/export: enhancements for import inlining by @mpvl in 62fedc3
- internal/core/export: implement self-contained algo for export by @mpvl in c71f674
- all: fix common pattern of calling cuextxtar.Load by @myitcv in bdaadc9
- pkg/tool/cli: rework Stdin and make Ask read an entire line by @mvdan in 4432aa6
- all: swap rogpeppe/go-internal/txtar for x/tools/txtar by @mvdan in 9f3d9d2
- internal/ci: use consistent name for CUELANGORGTIPREBUILDHOOK by @myitcv in a9f8bd2
- cmd/cue/cmd: remove bits of unused code by @mvdan in 4d7edeb
- internal/diff: two different errors are equal by @mpvl in 6e95220
- interal/diff: skip hidden fields by default by @mpvl in 5151417
- .gitignore: ignore some binaries by @mpvl in 2d10d0f
- internal/core/export: cleanup of initialization and finalize by @mpvl in 8a7ebf9
- internal/core/export: simplify dynamic labels by @mpvl in 8edd739
- internal/core/export: refactor uniqueFeature by @mpvl in 9777511
- internal/core/export: fix bug exporting dynamic references by @mpvl in 360ef5f
- internal/core/adt: clarify examples for references by @mpvl in 5cb52c8
- internal/core/export: hoist FieldReference logic by @mpvl in 82a2513
- internal/core/export: pass Environment by @mpvl in 254d0de
- internal/core/export: move tests to subdir by @mpvl in 08c0689
- tools/fix: remove rewriting support for old-style let by @mpvl in 9a66c51
- internal/core/export: hoist reference logic by @mpvl in 580edf4
- cue/format: fix
StructLit
trailing comma bug by @satotake in d16c799 - internal/ci/github: skip non-race tests when running race tests by @myitcv in 4113ec3
- internal/ci: refactor CI workflows by @myitcv in 236a565
- internal/ci: split github workflows into separate files by @myitcv in 9d366cd
- internal/ci: write netrc file for triggering trybots by @myitcv in 62ccbc0
- internal/ci: move to using gerritstatusupdater by @myitcv in f28ad41
- internal/ci: rename test and repository_dispatch workflows by @myitcv in d4526fe
- cuego: fix example in docs by @rogpeppe in 2fea90a
- internal/ci: move workflow declarations to their own package by @myitcv in 2795dcc
- cue/load: actually apply the latest doc wording per the reviews by @mvdan in f32ea8e
- cue/load: remove old reference to a "query tool" by @mvdan in 03ed417
- internal/ci: stop using txtar tests for GitHub actions workflows by @myitcv in 1876276
- cmd/cue: support buildinfo in version sub-command by @djosephsen in b8703c8
- doc/spec: minor adjustments after a careful read by @mvdan in cf3ba23
- pkg/gen: remove unreachable code by @rogpeppe in 2f05fc9
- pkg/gen: generate (almost) all pkg.go files in one call by @rogpeppe in 23dc354
- all: use go-cmp.Diff more consistently by @mvdan in b30eb99
- cmd/cue: use
cue
in test scripts rather thanexec cue
by @mvdan in 621f437 - internal/core/adt: remove stutter in error by @mpvl in 41ceff3
- internal/core/adt: keep arc on comprehension error by @mpvl in 309f8e7
- internal/core/adt: use per-field comprehensions by @mpvl in 748a685
- cmd/cue/cmd: remove usage of cue.Runtime by @mpvl in 0b0f1d3
- tools/flow: get rid of deprecated cue.Runtime by @mpvl in 3ac85dc
- internal/core/adt: move closedness check by @mpvl in abd2ba3
- internal/core/adt: prepare for comprehension change by @mpvl in 38b5fe2
- internal/core/adt: remove redundant indirection by @mpvl in 5201fde
- internal/core/adt: add convenience logging method by @mpvl in ee36170
- internal/encoding: always validate when exporting by @qequ in 5b8860a
- cue/pkg/strconv: support arbitary-precision format by @satotake in 9bda220
- pkg/internal: make it clearer that const is exclusive to func by @rogpeppe in e77a879
- cue/format: escape tabs when printing comments, literals, and attributes by @mvdan in dac4917
- all: replace filepath.Walk with WalkDir by @mvdan in 79b324d
- cmd/cue: initialize toTop and toString without go/packages by @mvdan in 0f66c58
- doc/contribute.md: simplify code backticks by @rytswd in 193e320
- internal/ci: avoid merge commits when testing GitHub PRs by @mvdan in 6de1c17
- internal/encoding/yaml: update dependencies by @myitcv in ef1b8aa
- encoding/protobuf: update dependencies by @mvdan in 31be9e3
- Revert "all: avoid using too many packages.Need bits" by @mvdan in 87408d7
- all: avoid using too many packages.Need bits by @mvdan in aa9b1bd
- all: fix a few more staticcheck nits by @mvdan in 92b9a06
- cmd/cue: remove the need for embedpkg by @mvdan in 89c6cdc
- all: make use of t.TempDir and t.Setenv by @mvdan in 6634a00
- pkg/strconv: Revert "pkg/strconv: allow string argument for format" by @rogpeppe in 1ed6195
- pkg/strconv: allow string argument for format by @rogpeppe in 053c4ac
- internal/core: comment improvements by @rogpeppe in 34782fe
- cue/literal: allow escaped newlines in multiline strings by @rogpeppe in 618e530
- all: drop support for Go 1.16.x by @mvdan in bd9ae53
- all: make vet happy by @mvdan in a58ac53
- doc/ref: mention that newlines can be escaped in multiline strings by @rogpeppe in 13918dd
- all: check the filepath.Walk error parameter by @mvdan in 2caf6e0
- bump x/tools and x/net dependencies by @mvdan in 79a3fa7
- all: fix a few minor typos spotted by gospel by @mvdan in 7881588
- cue/scanner: allow leading double-quote in #-quoted string by @rogpeppe in db398ad
- internal/ci: remove gorelease check step by @mvdan in c942d0a
- internal/ci: enforce Signed-off-by temporarily by @mvdan in 7dd325d
- all: remove redundant interface type assertions by @mvdan in 74d55b7
- pkg/list/sort: fix syntax in docs by @tmm1 in 00c5ddf
- internal/ci: bump GitHub Actions OS versions by @mvdan in db3e6ac
- cmd/cue: remove duplicate files from get_go_types.txt by @mvdan in eb0a4ff
- internal/cuetest: drive long tests via an env var by @mvdan in 33b18be
- cmd/cue: import -R: don't treat text with no newlines as YAML by @rogpeppe in f207b0b
- cmd/cue: better test for import --recursive by @rogpeppe in 7f3c0a2