diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ee52b12..02aa99f 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -27,10 +27,13 @@ jobs: - name: Create lib directory if not exists run: mkdir -p ballerina/lib - name: Run Trivy vulnerability scanner + env: + TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db + TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db uses: aquasecurity/trivy-action@master with: scan-type: 'rootfs' - scan-ref: '/github/workspace/ballerina/lib' + scan-ref: '${{ github.workspace.ballerina.lib }}/' format: 'table' timeout: '10m0s' exit-code: '1' diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index edfdf54..1147d9c 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -24,10 +24,13 @@ jobs: - name: Create lib directory if not exists run: mkdir -p ballerina/lib - name: Run Trivy vulnerability scanner + env: + TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db + TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db uses: aquasecurity/trivy-action@master with: scan-type: 'rootfs' - scan-ref: '/github/workspace/ballerina/lib' + scan-ref: '${{ github.workspace.ballerina.lib }}/' format: 'table' timeout: '10m0s' exit-code: '1' diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index ca76b79..874dbcb 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,13 +1,13 @@ [package] org = "ballerinax" name = "persist.inmemory" -version = "1.4.1" +version = "1.5.0" authors = ["Ballerina"] keywords = ["persist", "inmemory"] repository = "https://github.com/ballerina-platform/module-ballerinax-persist.inmemory" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.10.0-20241011-161100-51978649" +distribution = "2201.11.0" [platform.java21] graalvmCompatible = true @@ -15,11 +15,11 @@ graalvmCompatible = true [[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "persist.inmemory-native" -version = "1.4.1" -path = "../native/build/libs/persist.inmemory-native-1.4.1-SNAPSHOT.jar" +version = "1.5.0" +path = "../native/build/libs/persist.inmemory-native-1.5.0-SNAPSHOT.jar" [[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "persist-native" -version = "1.4.1" -path = "./lib/persist-native-1.4.1-20241001-120600-2395f0f.jar" +version = "1.5.0" +path = "./lib/persist-native-1.5.0-20241122-123800-2ae4d59.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index cc431a4..14008e9 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.10.0-20241011-161100-51978649" +distribution-version = "2201.11.0-20241121-075100-c4c87cbc" [[package]] org = "ballerina" @@ -53,7 +53,7 @@ scope = "testOnly" [[package]] org = "ballerina" name = "persist" -version = "1.4.1" +version = "1.5.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] @@ -78,7 +78,7 @@ modules = [ [[package]] org = "ballerina" name = "time" -version = "2.5.0" +version = "2.6.0" scope = "testOnly" dependencies = [ {org = "ballerina", name = "jballerina.java"} @@ -90,7 +90,7 @@ modules = [ [[package]] org = "ballerinax" name = "persist.inmemory" -version = "1.4.1" +version = "1.5.0" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "persist"}, diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index c2fab79..f44742e 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -7,7 +7,7 @@ keywords = ["persist", "inmemory"] repository = "https://github.com/ballerina-platform/module-ballerinax-persist.inmemory" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.10.0-20241011-161100-51978649" +distribution = "2201.11.0" [platform.java21] graalvmCompatible = true diff --git a/gradle.properties b/gradle.properties index b4453f5..0fb80b4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=io.ballerina.stdlib -version=1.4.1-SNAPSHOT +version=1.5.0-SNAPSHOT puppycrawlCheckstyleVersion=10.12.0 checkstyleToolVersion=10.12.0 @@ -11,19 +11,19 @@ testngVersion=7.6.1 gsonVersion=2.10 ballerinaGradlePluginVersion=2.0.1 -ballerinaLangVersion=2201.11.0-20241117-133400-a3054b77 +ballerinaLangVersion=2201.11.0-20241121-075100-c4c87cbc # Direct Dependencies # Level 01 -stdlibTimeVersion=2.6.0-20241113-073800-201b904 +stdlibTimeVersion=2.6.0-20241121-152300-eb1feff # Level 08 -stdlibPersistVersion=1.4.1-20241113-122000-306cc63 +stdlibPersistVersion=1.5.0-20241122-123800-2ae4d59 # Ballerinax Observer -observeVersion=1.4.0-20241113-092000-b83ae74 -observeInternalVersion=1.3.1-20241113-101700-265054d +observeVersion=1.4.0-20241122-101200-19a70b1 +observeInternalVersion=1.4.0-20241122-185200-9e5b1bb # Enabled publishing insecure checksums, due to fail to publish to maven central # Refer https://github.com/gradle/gradle/issues/11308 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9f4197d..e2847c8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME