From 3ec560075b8026e16ae340f21f808bd438ecd79b Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 2 Aug 2024 19:00:31 +0530 Subject: [PATCH 1/4] [Automated] Update native jar versions in toml files --- ballerina/Ballerina.toml | 8 ++++---- ballerina/CompilerPlugin.toml | 2 +- ballerina/Dependencies.toml | 31 +++++++++++++++++++++++++++++-- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index b6b4ab37..14f16217 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,13 +1,13 @@ [package] org = "ballerina" name = "xmldata" -version = "2.7.1" +version = "2.8.0" authors = ["Ballerina"] keywords = ["xml", "json"] repository = "https://github.com/ballerina-platform/module-ballerina-xmldata" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.8.0" +distribution = "2201.10.0" [platform.java17] graalvmCompatible = true @@ -15,5 +15,5 @@ graalvmCompatible = true [[platform.java17.dependency]] groupId = "io.ballerina.stdlib" artifactId = "xmldata-native" -version = "2.7.1" -path = "../native/build/libs/xmldata-native-2.7.1-SNAPSHOT.jar" +version = "2.8.0" +path = "../native/build/libs/xmldata-native-2.8.0-SNAPSHOT.jar" diff --git a/ballerina/CompilerPlugin.toml b/ballerina/CompilerPlugin.toml index 62dc54a4..719e3551 100644 --- a/ballerina/CompilerPlugin.toml +++ b/ballerina/CompilerPlugin.toml @@ -3,4 +3,4 @@ id = "xmldata-compiler-plugin" class = "io.ballerina.stdlib.xmldata.compiler.XmldataCompilerPlugin" [[dependency]] -path = "../compiler-plugin/build/libs/xmldata-compiler-plugin-2.7.1-SNAPSHOT.jar" +path = "../compiler-plugin/build/libs/xmldata-compiler-plugin-2.8.0-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index f190db3f..3f776741 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.8.0" +distribution-version = "2201.10.0-20240802-124900-0b8d2ff7" [[package]] org = "ballerina" @@ -15,6 +15,26 @@ modules = [ {org = "ballerina", packageName = "jballerina.java", moduleName = "jballerina.java"} ] +[[package]] +org = "ballerina" +name = "lang.__internal" +version = "0.0.0" +scope = "testOnly" +dependencies = [ + {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "lang.object"} +] + +[[package]] +org = "ballerina" +name = "lang.array" +version = "0.0.0" +scope = "testOnly" +dependencies = [ + {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "lang.__internal"} +] + [[package]] org = "ballerina" name = "lang.error" @@ -24,6 +44,12 @@ dependencies = [ {org = "ballerina", name = "jballerina.java"} ] +[[package]] +org = "ballerina" +name = "lang.object" +version = "0.0.0" +scope = "testOnly" + [[package]] org = "ballerina" name = "test" @@ -31,6 +57,7 @@ version = "0.0.0" scope = "testOnly" dependencies = [ {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "lang.array"}, {org = "ballerina", name = "lang.error"} ] modules = [ @@ -40,7 +67,7 @@ modules = [ [[package]] org = "ballerina" name = "xmldata" -version = "2.7.1" +version = "2.8.0" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "test"} From 217617b05b055b84d1ee0f188b079076b60d9ec8 Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 2 Aug 2024 19:02:26 +0530 Subject: [PATCH 2/4] update to next minor version --- build-config/resources/Ballerina.toml | 2 +- gradle.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index 9498507d..c340d0a0 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -7,7 +7,7 @@ keywords = ["xml", "json"] repository = "https://github.com/ballerina-platform/module-ballerina-xmldata" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.8.0" +distribution = "2201.10.0" [platform.java17] graalvmCompatible = true diff --git a/gradle.properties b/gradle.properties index dc5a0880..a29211f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ org.gradle.caching=true group=io.ballerina.stdlib -version=2.7.1-SNAPSHOT -ballerinaLangVersion=2201.8.0 +version=2.8.0-SNAPSHOT +ballerinaLangVersion=2201.10.0-20240802-124900-0b8d2ff7 checkstyleToolVersion=10.12.0 puppycrawlCheckstyleVersion=10.12.0 From 8c51e4bab2e2d7edfcd3dd739069188422870e08 Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 2 Aug 2024 19:17:07 +0530 Subject: [PATCH 3/4] Add deprecation notes --- README.md | 2 ++ ballerina/Module.md | 2 ++ ballerina/Package.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 936904fe..cf5e937b 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ Ballerina XmlData Library [![GitHub Last Commit](https://img.shields.io/github/last-commit/ballerina-platform/module-ballerina-xmldata.svg)](https://github.com/ballerina-platform/module-ballerina-xmldata/commits/master) [![Github issues](https://img.shields.io/github/issues/ballerina-platform/ballerina-standard-library/module/xmldata.svg?label=Open%20Issues)](https://github.com/ballerina-platform/ballerina-standard-library/labels/module%2Fxmldata) +>**Deprecation Notice:** This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the [`ballerina/data.xmldata`](https://central.ballerina.io/ballerina/data.xmldata/latest) library for continued support and updates. For more information, see the new [XML to Record conversion example](https://ballerina.io/learn/by-example/xml-to-record/) and [XML to record conversion with projection example](https://ballerina.io/learn/by-example/xml-to-record-with-projection/). + This library provides APIs to perform conversions between XML and JSON/Ballerina records. It provides APIs to get natural representations of data in XML from JSON and to get JSON or Ballerina records data from natural representations of data in XML. ## Issues and projects diff --git a/ballerina/Module.md b/ballerina/Module.md index a6cb3320..1f71fef3 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -1,3 +1,5 @@ +>**Deprecation Notice:** This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the [`ballerina/data.xmldata`](https://central.ballerina.io/ballerina/data.xmldata/latest) library for continued support and updates. For more information, see the new [XML to Record conversion example](https://ballerina.io/learn/by-example/xml-to-record/) and [XML to record conversion with projection example](https://ballerina.io/learn/by-example/xml-to-record-with-projection/). + ## Overview This module provides APIs to perform conversions between XML and JSON/Ballerina records. It provides APIs to get natural representations of data in XML from JSON and to get JSON or Ballerina records data from natural representations of data in XML. diff --git a/ballerina/Package.md b/ballerina/Package.md index 6f0068db..ce31c7fa 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -1,3 +1,5 @@ +>**Deprecation Notice:** This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the [`ballerina/data.xmldata`](https://central.ballerina.io/ballerina/data.xmldata/latest) library for continued support and updates. For more information, see the new [XML to Record conversion example](https://ballerina.io/learn/by-example/xml-to-record/) and [XML to record conversion with projection example](https://ballerina.io/learn/by-example/xml-to-record-with-projection/). + ## Package overview This package provides APIs to perform conversions between XML and JSON/Ballerina records. It provides APIs to get natural representations of data in XML from JSON and to get JSON or Ballerina records data from natural representations of data in XML. From 1ce2c2755ad4c854bbdb5d0cf16ce07f05d7b2fb Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Mon, 5 Aug 2024 11:00:24 +0530 Subject: [PATCH 4/4] Update gradle.properties --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index a29211f9..418791a7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ org.gradle.caching=true group=io.ballerina.stdlib version=2.8.0-SNAPSHOT -ballerinaLangVersion=2201.10.0-20240802-124900-0b8d2ff7 +ballerinaLangVersion=2201.10.0-20240803-215800-d7bdc125 checkstyleToolVersion=10.12.0 puppycrawlCheckstyleVersion=10.12.0