diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..4037bda --- /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 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 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"} ]