Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.120.0->v0.123.0v0.16.0->v0.17.0v0.6.0->v0.9.0v1.5.0->v1.5.3v1.21.2->v1.23.2v0.6.6->v0.7.02c00c10->074d060v0.12.1->v0.14.2v0.14.0->v0.19.0v1.18.0->v1.19.1v1.9.0->v1.13.0v1.11.1->v1.11.2v1.3.1->v1.4.0v1.1.1->v1.2.0v0.11.29->v0.11.30v0.9.23->v0.9.24v0.5.12->v0.5.13v0.4.6->v0.4.7v0.3.0->v0.3.1v0.2.1->v0.2.2v0.6.0->v0.6.1v1.4.2->v1.5.0v0.0.4->v0.0.5v1.0.0->v1.0.1v0.1.0->v0.1.1v1.2.1->v1.3.13v1.3.2->v1.4.7v1.17.67->v1.18.18v1.16.30->v1.18.10v1.3.34->v1.4.10v1.8.3->v1.8.4v1.12.3->v1.13.2v1.12.15->v1.13.10v1.22.3->v1.23.1v0.9.1->v0.10.1v0.13.3->v0.16.0v1.3.1->v1.4.0v1.3.7->v1.6.1v0.16.3->v0.18.03a137a8->ffadbf3220c5c2->c455327v0.9.3->v0.9.4v1.13.4->v1.14.2v1.8.0->v1.9.0v1.4.2->v1.4.3v0.23.0->v0.24.0v0.22.1->v0.22.3v0.21.0->v0.22.1v0.21.0->v0.21.2v0.22.0->v0.23.1v0.21.0->v0.22.0v0.23.0->v0.24.0v0.23.1->v0.25.1v0.24.0->v0.25.0v1.3.1->v1.3.2v0.6.9->v0.7.0v0.20.3->v0.20.6v0.7.7->v0.7.8v0.1.7->v0.2.0v1.0.5->v1.0.7v1.16.0->v1.22.0v1.1.1->v1.1.2v1.18.0->v1.18.1v0.0.0-20240620165639-de9c06129bec->v0.20251021.0v0.9.0->v0.9.1v1.1.0->v1.9.0v1.22.0->v1.23.2v0.63.0->v0.67.1v0.15.1->v0.18.0a5fe556->16587c7v0.7.0->v0.12.0v0.9.0->v0.9.1v1.6.6->v1.7.1v0.4.2->v0.5.0v1.3.10->v1.4.2v1.9.4->v1.9.5v0.7.2->v0.7.3v1.9.4->v1.9.5v1.9.4->v1.9.5v1.9.4->v1.9.5v1.9.4->v1.9.5v1.2.7->v1.2.9v1.12.0->v1.15.0v1.7.1->v1.10.0v1.9.1->v1.10.1v1.0.6->v1.0.10v1.20.1->v1.21.0v1.10.0->v1.11.1v0.12.1->v0.12.2v0.128.0->v0.157.0v1.14.0->v1.17.4v1.1.0->v1.2.1v0.60.0->v0.63.0v0.60.0->v0.63.0v0.63.0->v0.72.0v0.35.0->v0.43.0v0.38.0->v0.43.0054e65f->90e834fv0.24.0->v0.29.0v0.40.0->v0.46.0v0.30.0->v0.32.0v0.14.0->v0.17.0v0.33.0->v0.37.0v0.32.0->v0.36.0v0.25.0->v0.30.0v0.11.0->v0.14.0v0.33.0->v0.38.0v0.230.0->v0.253.0a0af3ef->3a174f9207652e->3a174f9207652e->3a174f9v0.28.3->v0.34.1v0.28.3->v0.34.1v0.28.3->v0.34.1c8a335a->589584f24370be->bc988d5cfa47c3->2d32026v0.11.1->v0.12.2v1.4.0->v1.6.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
googleapis/google-cloud-go (cloud.google.com/go)
v0.123.0Compare Source
Features
Bug Fixes
v0.122.0Compare Source
Features
Bug Fixes
v0.121.6Compare Source
Bug Fixes
v0.121.5Compare Source
Bug Fixes
v0.121.4Compare Source
Bug Fixes
parentfield indata_chat_service.proto(98ba6f0)v0.121.3Compare Source
Documentation
v0.121.2Compare Source
Documentation
v0.121.1Compare Source
Bug Fixes
v0.121.0Compare Source
Features
v0.120.1Compare Source
Bug Fixes
cue-lang/cue (cuelang.org/go)
v0.14.2Compare Source
Evaluator
Fix an unintended evalv2 regression in
v0.14.1; the change only intended to affect evalv3.Fix a panic in the parser which could occur when
@experiment()file attributes are invalid.Fix an edge case where binary streams with
'''sequences would not roundtrip correctly.Full list of changes since v0.14.1
d3fd2fb9d0a8213700db6e307749cfb31dc15e00c73bacdccv0.14.1Compare Source
Evaluator
Fix three more regressions where evalv3 gave cycle errors and evalv2 did not.
Fix a regression where evalv3 was too strict with ellipses in certain situations, causing "field not allowed" regressions.
Fix a regression where errors in optional fields were not being ignored as intended.
Full list of changes since v0.14.0
0c5769b46cf125ec4ae2d5bbc5af8a9fbbef5cb099a3403642ac7ea66ef76bea37c429a65e053428968cv0.14.0Compare Source
This release brings significant performance improvements, three language changes, and initial support for Kubernetes CRDs.
Changes which may break some users are marked below with:⚠️
Evaluator
Performance
A particularly slow part of the new closedness algorithm has been rewritten for speed, resulting in improvements of up to 10x in wall times for some projects.
Significant progress has been made to the new evaluator's memory usage; a few large projects experiencing high memory usage on v0.13 now see reductions of up to 80%.
Various other optimizations and performance bug fixes have been made to the new evaluator, yielding speed-ups of 5-20% on a variety of CUE projects.
errorbuiltinA new
errorbuiltin is added to the language, which allows users to create custom error values with a specified message.Don't simplify validators into concrete values
A new
CUE_EXPERIMENT=keepvalidatorsexperiment is introduced, already on by default, which prevents validators from being simplified into concrete values.X == Yand== XFirstly, there were several bug fixes related to
==. Most notably,[int] == [int]incorrectly resolved totrue. It now correctly resolves to an error.All other changes are enabled using the
@experiment(structcmp)file-level attribute.Enabling this experiment allows all CUE values to be compared for equality. This includes comparing structs.
The same experiment also allows a unary
==to enforce that a value is a specific concrete value.Other changes
CUE_EXPERIMENT=embed=0, having been introduced in CUE v0.10.0.File embedding is now enabled when using the
cue/cuecontextorcue/loadAPIs; earlier versions could not expose it via the Go API due to an import cycle.CUE_EXPERIMENT=toposort=0, having been introduced in CUE v0.11.0.CUE_EXPERIMENT=cmdreferencepkg, introduced in v0.13.0 to require referencing tool packages to declarecue cmdtasks, is now on by default.The new closedness algorithm has been adjusted to fix a number of "field not allowed" bugs, particularly in the form of regressions compared to the old evaluator.
A particularly slow part of the new closedness algorithm has been optimized, resulting in improvements of up to 10x in wall times for some projects.
cmd/cuecue def --strict jsonschema:, deprecated in favor ofcue def jsonschema+strict:in v0.11.0, is no longer supported.Two bugs have been fixed in the new
cue trimalgorithm where disjunctions could incorrectly select defaults or be treated as ambiguous.Encodings
cue get crdintroduces support for extracting Kubernetes Custom Resource Definitions (CRDs) as CUE definitions; seecue help get crd.The new
encoding/jsonschema.ExtractCRDsGo API exposes the extractor used bycue get crd.The JSON Schema decoder has gained support for dependencies, bringing the pass rate for the official JSON Schema test suite up from 79% to 81%.
Go API
cue/loadnow provides module information via the newInstance.ModuleFilefield.mod/modfile.File.Formatmethod has been moved to the functionmod/modfile.Format: an API-breaking change but necessary to avoid a cyclic package dependency.cue/parsergains a newConfigAPI, which allows other packages likecue/loadto properly apply the right parser options such as the CUE language version.cue/parser.Config.ParseFileandcue/build.ParseFilesignatures have now changed (incompatibly) to add aparser.Configargument, enabling the CUE language version to be passed through.Fix an issue where
cue.Value.Decodedid not work with*math/big.Floattypes.Full list of changes since v0.13.0
dffc5cef44480df34d9a580473ca6c327044f388b1fbb4840649bb6792d4babfb631bd4bdc4465530af03e50617f5ad0d3b95b211c7cc1a85189932741955cd8451dab12697eb20058efaecce40740c0af0f4cee83f3c876d10132a79c3d8a78e4326d3530b5cc6d813f23e12507751119e2c74go runfor real by @mvdan in5f4bd370c84f96930a98b0ccf38c840ff2778e1a112804f1d9afca739620eae45ab65ee4cdcd39033834c8256cd24cc4145ee4254d987d88f30926505a3d6417177e91004c32d9aaac0eac97281208898for evalv2 by @mvdan in1789dd47f38bb860c36a54d6663413461f18250c1fdbed9a39ca9609a23afdfca86fb04752c048935ee33fb30432d182a53114a2f2df1b5a971ee4f18b7df0991e54979798caa397974e92f16e1b7a71cf389502fb4f5074ebd05f4638be0ab40e7f654008d495f602b96ed2cbd237a24d894fa521d442f42b369b7d9b6999494a62862a1051005256f50798673b49fc13484fa6abf3b7a237eb4cb33dec80fdaf4544972ee299f06405ce0c2f57e3955e7f43b10030206e824a6df86aff4639ce2835d97bddda5