cue breaking changes
cue 0.18.0-alpha.2 (November 24, 2026) is its newest release with breaking changes, 7 of them. The first: Old prefix alias syntax is no longer accepted from language v0.18.0 in cue 0.18.0-alpha.2. Every breaking API change we have recorded in cue on Homebrew: 15 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.18.0, released November 24, 2026. Apache-2.0 license. Source repository
- From 0.18.0-alpha.1 to 0.18.0-alpha.2: 7 breaking changes in 1 version.
cue 0.18.0-alpha.2 breaking changes
- Removed
From language version v0.18.0, the prefix alias syntax such as x: X={...} is rejected. Rewrite it with postfix aliases or a let binding on self, or run cue fix --exp=aliasv2. github.com - Behavior changed
From language version v0.18.0, embedding is strict and a struct embedding a closed value is closed to that value's fields. Use the postfix ... operator to embed without closing the struct, and run cue fix --exp=explicitopen before raising... github.com - Behavior changed
==
The == and != operators now compare integers and floats numerically wherever they appear, so {a: 1.0} == {a: 1} is true. Review comparisons that relied on the old result. github.com - Behavior changed
cue cmd
cue cmd unifies data files named on the command line with the loaded package, as the other commands do. Tool files can now see that data, so scripts relying on the old behavior may change output. github.com - Behavior changed
cue.Value.Equals
cue.Value.Equals now compares integers and floats numerically, matching the == operator. Check code that depended on the previous comparison. github.com - Behavior changed
list.Contains
list.Contains now compares integers and floats numerically, matching the == operator. Check code that depended on the previous comparison. github.com - Behavior changed
tls.caCert
tls.caCert now accepts CERTIFICATE PEM blocks and reports an error when it yields no certificates, instead of trusting nothing silently. Check inputs that previously produced no certificates. github.com
cue 0.18.0-alpha.1 breaking changes
- Removed
[string]?
The parser now rejects the optional and required markers on pattern constraints. Remove the markers; pattern constraints are already optional by construction. github.com - Behavior changed
==
The == and != bounds now apply to boolean values, so constraints like !=true behave differently than before. github.com - Behavior changed
cue fmt
The formatv2 experiment is now on by default, so cue fmt output may change for existing files. Set CUE_EXPERIMENT=formatv2=0 to keep the old formatter. github.com - Behavior changed
cue import
cue import now writes strings with hash-delimited quoting when that avoids escaping, changing output. github.com - Behavior changed
cue vet
cue vet uses every -d/--schema flag instead of only the last, and -e applies only to selected expressions. github.com - Behavior changed
cue.Context.Encode
cue.Context.Encode now honors the omitzero struct tag and renders json.Marshaler multi-line strings as CUE multi-line strings. github.com - Behavior changed
cue.format
The cue/format Go API now uses the rewritten formatter, so formatted output may differ. github.com - Default changed
yamlgoccy
The yamlgoccy experiment is enabled by default, changing the YAML implementation. Set CUE_EXPERIMENT=yamlgoccy=0 to use the old one. github.com
Related packages
- cuelang.org/go on Go modules
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.