From 8bdb8a743c711ae27ad4f0827c587fd83d18b526 Mon Sep 17 00:00:00 2001 From: Nuvindu Date: Sun, 22 Feb 2026 10:25:32 +0530 Subject: [PATCH 1/4] [Automated] Update the native jar versions --- module-ballerina-xsd/BalTool.toml | 4 ++-- module-ballerina-xsd/Ballerina.toml | 2 +- module-ballerina-xsd/Dependencies.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module-ballerina-xsd/BalTool.toml b/module-ballerina-xsd/BalTool.toml index 4fe9db3..4156dce 100644 --- a/module-ballerina-xsd/BalTool.toml +++ b/module-ballerina-xsd/BalTool.toml @@ -2,8 +2,8 @@ id = "xsd" [[dependency]] -path = "../xsd-cli/build/libs/xsd-cli-1.2.1-SNAPSHOT.jar" +path = "../xsd-cli/build/libs/xsd-cli-1.3.0-SNAPSHOT.jar" [[dependency]] -path = "../xsd-core/build/libs/xsd-core-1.2.1-SNAPSHOT.jar" +path = "../xsd-core/build/libs/xsd-core-1.3.0-SNAPSHOT.jar" diff --git a/module-ballerina-xsd/Ballerina.toml b/module-ballerina-xsd/Ballerina.toml index ce5daf4..b816e0d 100644 --- a/module-ballerina-xsd/Ballerina.toml +++ b/module-ballerina-xsd/Ballerina.toml @@ -2,7 +2,7 @@ distribution = "2201.11.0" org = "ballerina" name = "xsdtool" -version = "1.2.1" +version = "1.3.0" authors = ["Ballerina"] keywords = ["xsd", "xsd-tool"] repository = "https://github.com/ballerina-platform/xsd-tools" diff --git a/module-ballerina-xsd/Dependencies.toml b/module-ballerina-xsd/Dependencies.toml index 25cb719..d5af173 100644 --- a/module-ballerina-xsd/Dependencies.toml +++ b/module-ballerina-xsd/Dependencies.toml @@ -10,7 +10,7 @@ distribution-version = "2201.11.0" [[package]] org = "ballerina" name = "xsdtool" -version = "1.2.1" +version = "1.3.0" modules = [ {org = "ballerina", packageName = "xsdtool", moduleName = "xsdtool"} ] From ef95f8fd3fc88cae468a2caeb2cdddef87f231ca Mon Sep 17 00:00:00 2001 From: Nuvindu Date: Sun, 22 Feb 2026 10:28:56 +0530 Subject: [PATCH 2/4] Update the version to 1.3.0 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 3581c76..a18e473 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.caching=true group=io.ballerina -version=1.2.1-SNAPSHOT +version=1.3.0-SNAPSHOT # Dependencies ballerinaLangVersion=2201.11.0 From f88691c5c586258638f5feabcd51237cb5be1092 Mon Sep 17 00:00:00 2001 From: Nuvindu Date: Sun, 22 Feb 2026 10:44:26 +0530 Subject: [PATCH 3/4] Add changelog file to keep track of the changes --- changelog.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 changelog.md diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..ebffa2b --- /dev/null +++ b/changelog.md @@ -0,0 +1,76 @@ +# Change Log + +This file contains all the notable changes done to the Ballerina XSD Tool package through the releases. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added + +- [Add element annotation to record fields](https://github.com/ballerina-platform/xsd-tools/pull/40) +- Set the maximum maxOccurs value to 65535 + +### Fixed + +- [Support NMTOKENS as built-in type](https://github.com/ballerina-platform/xsd-tools/pull/38) +- Fix optional field generation for sequence groups +- Handle ambiguity when a single element inside a sequence +- Fix setting attributes and content fields optional +- Set sequenceGroup optional when all child elements are optional + +## [1.2.0] - 2025-02-02 + +### Added + +- [Add support for xs:include, attributeGroup, annotation, xs:any](https://github.com/ballerina-platform/xsd-tools/pull/35) +- Handle enum types +- Add xmldata:Any annotation for any elements + +### Fixed + +- Fix supporting minOccurs in anyElement +- Fix adding nil value to anydata type +- Improve the method to extract restriction base + +## [1.1.2] - 2024-10-24 + +### Added + +- Add support for converting keywords in XSD +- Support converting all floating point values + +### Fixed + +- Fix supporting double values +- Handle built-in types for the proper format + +## [1.1.1] - 2024-08-05 + +### Fixed + +- Fix substituting values in root elements + +## [1.1.0] - 2024-07-23 + +### Added + +- Add support to get resolved name metadata +- Export node package +- Add new record class to represent an XSD element +- Add new class to represent a node in the syntax tree +- Add enum for categorizing XSD components +- Add record to include syntax tree and diagnostics + +### Fixed + +- Fix XSD Element being used for record field type +- Fix not generating directories for a single XSD file +- Handle NPE when processing XSD elements +- Fix getting invalid types with the name anydata + +## [1.0.8] - 2024-04-02 + +### Fixed + +- Fix returning error when directly using help flag From d30728bc88d96b91e8727a5b9fb7b98e376b647d Mon Sep 17 00:00:00 2001 From: Nuvindu Date: Sun, 22 Feb 2026 10:59:01 +0530 Subject: [PATCH 4/4] Apply review suggestion --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index ebffa2b..4037bda 100644 --- a/changelog.md +++ b/changelog.md @@ -38,7 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - Add support for converting keywords in XSD -- Support converting all floating point values +- Support converting all floating-point values ### Fixed