Skip to content

Commit

Permalink
internal/cueversion: update LanguageVersion for v0.10.1
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Id0399520f5b7debdfaefaf5707f4d06a683faeb4
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202888
Reviewed-by: Roger Peppe <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
  • Loading branch information
mvdan committed Oct 22, 2024
1 parent f08f84d commit 05ef577
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cmd/cue/cmd/testdata/script/modedit_nomajorversion.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ cmp cue.mod/module.cue want-module-2
-- want-module --
module: "test.example"
language: {
version: "v0.10.0"
version: "v0.10.1"
}
-- want-module-2 --
module: "other.example"
language: {
version: "v0.10.0"
version: "v0.10.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ language: {
-- want-stderr-3 --
language version "v0.4.3" is too early for module.cue schema (earliest allowed is v0.8.0-alpha.0)
-- want-stderr-4 --
language version "v2.3.4" may not be after current language version v0.10.0
language version "v2.3.4" may not be after current language version v0.10.1
-- want-stderr-5 --
cannot parse result: invalid module.cue file: source field is not allowed at this language version; need at least v0.9.0-alpha.0
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmp stderr ${WORK}/v0.99.0-toonew.stderr
cmp stderr ${WORK}/v0.99.0-toonew.stderr

-- bugfix-newer-toonew.stderr --
language version "v0.10.99" declared in module.cue is too new for current language version "v0.10.0"
language version "v0.10.99" declared in module.cue is too new for current language version "v0.10.1"
-- bugfix-newer/cue.mod/module.cue --
module: "downstream.example"
language: version: "v0.9.0"
Expand All @@ -88,7 +88,7 @@ package subpkg
"hello from bugfix-newer.example"

-- v0.99.0-toonew.stderr --
language version "v0.99.0" declared in module.cue is too new for current language version "v0.10.0"
language version "v0.99.0" declared in module.cue is too new for current language version "v0.10.1"
-- v0.99.0/cue.mod/module.cue --
module: "downstream.example"
language: version: "v0.9.0"
Expand Down
2 changes: 1 addition & 1 deletion internal/cueversion/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
// This determines the latest version of CUE that
// is accepted by the module.
func LanguageVersion() string {
return "v0.10.0"
return "v0.10.1"
}

// ModuleVersion returns the version of the cuelang.org/go module as best as can
Expand Down

0 comments on commit 05ef577

Please sign in to comment.