Skip to content

Commit

Permalink
Merge pull request #93 from ballerina-platform/graalvm-fix
Browse files Browse the repository at this point in the history
Fix GraalVM test failure after mssql driver version update
  • Loading branch information
warunalakshitha authored Nov 20, 2024
2 parents d6d152c + 7dd786e commit d7eba46
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 39 deletions.
14 changes: 7 additions & 7 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "ballerinax"
name = "persist.sql"
version = "1.4.1"
version = "1.4.2"
authors = ["Ballerina"]
keywords = ["persist", "sql", "mysql", "mssql", "sql-server"]
repository = "https://github.com/ballerina-platform/module-ballerinax-persist.sql"
Expand All @@ -15,17 +15,17 @@ graalvmCompatible = true
[[platform.java21.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "persist.sql-native"
version = "1.4.1"
path = "../native/build/libs/persist.sql-native-1.4.1.jar"
version = "1.4.2"
path = "../native/build/libs/persist.sql-native-1.4.2-SNAPSHOT.jar"

[[platform.java21.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "persist-native"
version = "1.4.0"
path = "./lib/persist-native-1.4.0.jar"
version = "1.4.1"
path = "./lib/persist-native-1.4.1-20241113-122000-306cc63.jar"

[[platform.java21.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "sql-native"
version = "1.14.0"
path = "./lib/sql-native-1.14.0.jar"
version = "1.15.0-20241116-124800-0bc6a40"
path = "./lib/sql-native-1.15.0-20241116-124800-0bc6a40.jar"
6 changes: 3 additions & 3 deletions ballerina/CompilerPlugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ id = "persist.sql-compiler-plugin"
class = "io.ballerina.stdlib.persist.sql.compiler.PersistSqlCompilerPlugin"

[[dependency]]
path = "../compiler-plugin/build/libs/persist.sql-compiler-plugin-1.4.1.jar"
path = "../compiler-plugin/build/libs/persist.sql-compiler-plugin-1.4.2-SNAPSHOT.jar"

[[dependency]]
path = "./lib/persist-native-1.4.0.jar"
path = "./lib/persist-native-1.4.1-20241113-122000-306cc63.jar"

[[dependency]]
path = "./lib/persist-compiler-plugin-1.4.0.jar"
path = "./lib/persist-compiler-plugin-1.4.1-20241113-122000-306cc63.jar"
67 changes: 39 additions & 28 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.10.0-20241011-161100-51978649"
distribution-version = "2201.11.0-20241117-133400-a3054b77"

[[package]]
org = "ballerina"
name = "auth"
version = "2.12.0"
version = "2.12.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -23,7 +23,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "cache"
version = "3.8.0"
version = "3.8.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "constraint"},
Expand All @@ -35,7 +35,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "constraint"
version = "1.5.0"
version = "1.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -44,17 +44,27 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.7.2"
version = "2.7.3"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
]

[[package]]
org = "ballerina"
name = "data.jsondata"
version = "0.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.object"}
]

[[package]]
org = "ballerina"
name = "file"
version = "1.10.0"
version = "1.10.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -73,6 +83,7 @@ dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "data.jsondata"},
{org = "ballerina", name = "file"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -95,7 +106,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "io"
version = "1.6.1"
version = "1.6.2"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
Expand All @@ -112,7 +123,7 @@ modules = [
[[package]]
org = "ballerina"
name = "jwt"
version = "2.13.0"
version = "2.13.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -227,7 +238,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.10.0"
version = "2.10.1"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -241,7 +252,7 @@ modules = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.10.0"
version = "2.10.2"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -253,7 +264,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.12.0"
version = "2.12.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand All @@ -267,15 +278,15 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.3.0"
version = "1.4.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "os"
version = "1.8.0"
version = "1.8.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -285,7 +296,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "persist"
version = "1.4.0"
version = "1.4.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -296,7 +307,7 @@ modules = [
[[package]]
org = "ballerina"
name = "sql"
version = "1.14.0"
version = "1.15.0"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -310,7 +321,7 @@ modules = [
[[package]]
org = "ballerina"
name = "task"
version = "2.5.0"
version = "2.5.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -334,7 +345,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.4.0"
version = "2.6.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -345,7 +356,7 @@ modules = [
[[package]]
org = "ballerina"
name = "url"
version = "2.4.0"
version = "2.4.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -354,7 +365,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "uuid"
version = "1.8.0"
version = "1.8.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -366,7 +377,7 @@ dependencies = [
[[package]]
org = "ballerinai"
name = "transaction"
version = "1.10.1"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand All @@ -388,7 +399,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "h2.driver"
version = "1.1.0"
version = "1.1.1"
scope = "testOnly"
modules = [
{org = "ballerinax", packageName = "h2.driver", moduleName = "h2.driver"}
Expand All @@ -397,7 +408,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "java.jdbc"
version = "1.12.0"
version = "1.12.2"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -413,7 +424,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "mssql"
version = "1.13.0"
version = "1.13.2"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -428,7 +439,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "mssql.driver"
version = "1.6.0"
version = "1.6.1"
scope = "testOnly"
modules = [
{org = "ballerinax", packageName = "mssql.driver", moduleName = "mssql.driver"}
Expand All @@ -437,7 +448,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "mysql"
version = "1.13.0"
version = "1.13.2"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -462,7 +473,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "persist.sql"
version = "1.4.1"
version = "1.4.2"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "log"},
Expand All @@ -487,7 +498,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "postgresql"
version = "1.13.0"
version = "1.13.3"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -503,7 +514,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "postgresql.driver"
version = "1.5.1"
version = "1.5.2"
scope = "testOnly"
modules = [
{org = "ballerinax", packageName = "postgresql.driver", moduleName = "postgresql.driver"}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ stdlibSqlVersion=1.15.0-20241116-124800-0bc6a40
# Ballerina external dependency
stdlibH2DriverVersion=1.1.1-20241116-205700-cf03680
stdlibMysqlDriverVersion=1.7.1-20241116-205100-72cd8ab
stdlibMssqlDriverVersion=1.6.1-20241116-205000-d3351e2
stdlibMssqlDriverVersion=1.6.1-20241120-092500-526bfdf
stdlibPostgresqlDriverVersion=1.5.2-20241116-204700-582e4be

# Ballerinax Observer
Expand Down

0 comments on commit d7eba46

Please sign in to comment.