Skip to content

Commit

Permalink
Merge pull request #1763 from DimuthuMadushan/master
Browse files Browse the repository at this point in the history
Update the Ballerina Lang Version
  • Loading branch information
DimuthuMadushan authored Feb 21, 2024
2 parents 32dac2a + bb0236e commit 0410cc5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ballerina-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.8.0"
distribution-version = "2201.8.5"

[[package]]
org = "ballerina"
Expand Down
2 changes: 1 addition & 1 deletion ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["gql", "network", "query", "service"]
repository = "https://github.com/ballerina-platform/module-ballerina-graphql"
icon = "icon.png"
license = ["Apache-2.0"]
distribution = "2201.8.0"
distribution = "2201.8.5"

[platform.java17]
graalvmCompatible = true
Expand Down
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.8.0"
distribution-version = "2201.8.5"

[[package]]
org = "ballerina"
Expand Down
4 changes: 2 additions & 2 deletions ballerina/engine.bal
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ isolated class Engine {
if cache is cache:Cache {
return cache.put(key, value, maxAge);
}
return error("Cache table not found!");
return error("Cache table not found. Caching functionality requires Ballerina version 2201.8.5 or newer.");
}

isolated function getFromCache(string key) returns any|error {
cache:Cache? cache = self.cache;
if cache is cache:Cache {
return cache.get(key);
}
return error("Cache table not found!");
return error("Cache table not found. Caching functionality requires Ballerina version 2201.8.5 or newer.");
}

isolated function validate(string documentString, string? operationName, map<json>? variables)
Expand Down
2 changes: 1 addition & 1 deletion build-config/resources/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords = ["gql", "network", "query", "service"]
repository = "https://github.com/ballerina-platform/module-ballerina-graphql"
icon = "icon.png"
license = ["Apache-2.0"]
distribution = "2201.8.0"
distribution = "2201.8.5"

[platform.java17]
graalvmCompatible = true
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.caching=true
group=io.ballerina.stdlib
version=1.11.0-SNAPSHOT
ballerinaLangVersion=2201.8.0
ballerinaLangVersion=2201.8.5

checkstylePluginVersion=10.12.0
spotbugsPluginVersion=5.0.14
Expand Down

0 comments on commit 0410cc5

Please sign in to comment.