Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2024

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
cuelang.org/go v0.7.0 -> v0.14.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

cue-lang/cue (cuelang.org/go)

v0.14.1

Compare 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

v0.14.0

Compare 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.

error builtin

A new error builtin 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=keepvalidators experiment is introduced, already on by default, which prevents validators from being simplified into concrete values.

X == Y and == X

Firstly, there were several bug fixes related to ==. Most notably, [int] == [int] incorrectly resolved to true. 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

⚠️ The file embedding experiment can no longer be disabled via CUE_EXPERIMENT=embed=0, having been introduced in CUE v0.10.0.

File embedding is now enabled when using the cue/cuecontext or cue/load APIs; earlier versions could not expose it via the Go API due to an import cycle.

⚠️ The topological field sorting experiment can no longer be disabled via 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 declare cue cmd tasks, 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/cue

⚠️ cue def --strict jsonschema:, deprecated in favor of cue def jsonschema+strict: in v0.11.0, is no longer supported.

Two bugs have been fixed in the new cue trim algorithm where disjunctions could incorrectly select defaults or be treated as ambiguous.

Encodings

cue get crd introduces support for extracting Kubernetes Custom Resource Definitions (CRDs) as CUE definitions; see cue help get crd.

The new encoding/jsonschema.ExtractCRDs Go API exposes the extractor used by cue 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/load now provides module information via the new Instance.ModuleFile field.

⚠️ In order to support the above change, the mod/modfile.File.Format method has been moved to the function mod/modfile.Format: an API-breaking change but necessary to avoid a cyclic package dependency.

cue/parser gains a new Config API, which allows other packages like cue/load to properly apply the right parser options such as the CUE language version.

⚠️ In order to support the above change, the cue/parser.Config.ParseFile and cue/build.ParseFile signatures have now changed (incompatibly) to add a parser.Config argument, enabling the CUE language version to be passed through.

Fix an issue where cue.Value.Decode did not work with *math/big.Float types.

Full list of changes since v0.13.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 3d66575 to e61521b Compare February 17, 2024 18:29
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from e61521b to 23fc014 Compare March 1, 2024 19:32
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 23fc014 to 694d8ea Compare March 15, 2024 14:21
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.7.1 fix(deps): update module cuelang.org/go to v0.8.0 Mar 15, 2024
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch 2 times, most recently from 6b9e758 to df5457c Compare March 19, 2024 18:30
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch 2 times, most recently from 634eca0 to 7a6edac Compare April 3, 2024 10:49
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.8.0 fix(deps): update module cuelang.org/go to v0.8.1 Apr 3, 2024
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 7a6edac to dafd93a Compare April 10, 2024 15:11
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from dafd93a to 8e30373 Compare April 26, 2024 12:21
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.8.1 fix(deps): update module cuelang.org/go to v0.8.2 Apr 26, 2024
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch 2 times, most recently from 87155e8 to f20edf9 Compare May 8, 2024 14:51
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from f20edf9 to 67fd969 Compare June 6, 2024 13:57
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.8.2 fix(deps): update module cuelang.org/go to v0.9.0 Jun 6, 2024
Copy link
Contributor Author

renovate bot commented Jun 6, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated

Details:

Package Change
cuelabs.dev/go/oci/ociregistry v0.0.0-20231103182354-93e78c079a13 -> v0.0.0-20250715075730-49cab49c8e9d
github.com/emicklei/proto v1.11.2 -> v1.14.2
github.com/pelletier/go-toml/v2 v2.2.3 -> v2.2.4
github.com/protocolbuffers/txtpbfmt v0.0.0-20230412060525-fa9f017c0ded -> v0.0.0-20250627152318-f293424e46b5
github.com/tetratelabs/wazero v1.8.2 -> v1.9.0

@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 67fd969 to e3e80d4 Compare June 13, 2024 20:01
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.9.0 fix(deps): update module cuelang.org/go to v0.9.1 Jun 13, 2024
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from e3e80d4 to a9962de Compare June 14, 2024 20:35
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from a9962de to 9d62fee Compare June 26, 2024 20:13
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.9.1 fix(deps): update module cuelang.org/go to v0.9.2 Jun 26, 2024
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.9.2 fix(deps): update module cuelang.org/go to v0.9.2 - autoclosed Jul 4, 2024
@renovate renovate bot closed this Jul 4, 2024
@renovate renovate bot deleted the renovate/cuelang.org-go-0.x branch July 4, 2024 03:48
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.9.2 - autoclosed fix(deps): update module cuelang.org/go to v0.9.2 Jul 4, 2024
@renovate renovate bot restored the renovate/cuelang.org-go-0.x branch July 4, 2024 08:18
@renovate renovate bot reopened this Jul 4, 2024
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 9d62fee to c8f630c Compare July 4, 2024 08:18
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from c8f630c to 1043cdf Compare July 26, 2024 14:32
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from be4f3c0 to 76cd8b4 Compare July 1, 2025 08:00
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 76cd8b4 to 81b51d2 Compare July 20, 2025 21:41
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.13.2 fix(deps): update module cuelang.org/go to v0.13.2 - autoclosed Jul 22, 2025
@renovate renovate bot closed this Jul 22, 2025
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.13.2 - autoclosed fix(deps): update module cuelang.org/go to v0.13.2 Jul 22, 2025
@renovate renovate bot reopened this Jul 22, 2025
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from f5c8fdd to 81b51d2 Compare July 22, 2025 20:15
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.13.2 fix(deps): update module cuelang.org/go to v0.13.2 - autoclosed Jul 24, 2025
@renovate renovate bot closed this Jul 24, 2025
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.13.2 - autoclosed fix(deps): update module cuelang.org/go to v0.13.2 Jul 24, 2025
@renovate renovate bot reopened this Jul 24, 2025
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from b400c47 to 81b51d2 Compare July 24, 2025 22:54
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 81b51d2 to 2774af9 Compare August 3, 2025 23:35
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.13.2 fix(deps): update module cuelang.org/go to v0.14.0 Aug 3, 2025
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 2774af9 to 92e41b5 Compare August 11, 2025 17:36
@renovate renovate bot changed the title fix(deps): update module cuelang.org/go to v0.14.0 fix(deps): update module cuelang.org/go to v0.14.1 Aug 11, 2025
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch 6 times, most recently from 6f054fa to d9a1ea7 Compare September 8, 2025 13:54
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch 5 times, most recently from f20031d to 9ea7c11 Compare September 14, 2025 21:43
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 9ea7c11 to 0480ba0 Compare September 17, 2025 01:18
@renovate renovate bot force-pushed the renovate/cuelang.org-go-0.x branch from 0480ba0 to e6f00c9 Compare September 22, 2025 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants