Fix StableVersions back to 1.14, make EarlyAccessVersions 1.15

This commit is contained in:
Dylan Thinnes 2022-08-19 17:48:39 +01:00
parent 12818dc58f
commit edf20bf4a7
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ class EngineInfoTest extends AnyWordSpec with Matchers {
"Daml-LF Engine supports LF versions: 1.6, 1.7, 1.8, 1.11, 1.12, 1.13, 1.14"
engineEarlyAccess.show shouldBe
"Daml-LF Engine supports LF versions: 1.6, 1.7, 1.8, 1.11, 1.12, 1.13, 1.14"
"Daml-LF Engine supports LF versions: 1.6, 1.7, 1.8, 1.11, 1.12, 1.13, 1.14, 1.15"
engineInfoDev.show shouldBe
"Daml-LF Engine supports LF versions: 1.6, 1.7, 1.8, 1.11, 1.12, 1.13, 1.14, 1.15, 1.dev"

View File

@ -65,7 +65,7 @@ object LanguageVersion {
// All the stable versions.
val StableVersions: VersionRange[LanguageVersion] =
VersionRange(min = v1_6, max = v1_15)
VersionRange(min = v1_6, max = v1_14)
// All versions compatible with legacy contract ID scheme.
val LegacyVersions: VersionRange[LanguageVersion] =
@ -74,11 +74,11 @@ object LanguageVersion {
// All the stable and preview versions
// Equals `Stable` if no preview version is available
val EarlyAccessVersions: VersionRange[LanguageVersion] =
StableVersions
StableVersions.copy(max = v1_15)
// All the versions
val DevVersions: VersionRange[LanguageVersion] =
StableVersions.copy(max = v1_dev)
EarlyAccessVersions.copy(max = v1_dev)
val defaultV1: LanguageVersion = StableVersions.max