diff --git a/sdml-cli/Cargo.toml b/sdml-cli/Cargo.toml index 87e0f50..06f7d88 100644 --- a/sdml-cli/Cargo.toml +++ b/sdml-cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sdml-cli" description = "Rust CLI for Simple Domain Modeling Language (SDML)" -version = "0.2.10" +version = "0.3.0" authors = ["Simon Johnston "] repository = "https://github.com/johnstonskj/rust-sdml.git" license-file = "../LICENSE" @@ -21,10 +21,10 @@ all-features = true clap = { version = "4.5", features = ["derive", "env", "wrap_help"] } clio = { version = "0.3.5", features = ["clap-parse"] } human-panic = "2.0.1" -sdml-core = { version = "0.2.17", features = ["serde", "terms"], path = "../sdml-core" } -sdml-errors = { version = "0.1.6", path = "../sdml-errors" } -sdml-generate = { version = "0.2.13", path = "../sdml-generate" } -sdml-parse = { version = "0.2.14", path = "../sdml-parse" } +sdml-core = { version = "0.3.0", features = ["serde", "terms"], path = "../sdml-core" } +sdml-errors = { version = "0.3.0", path = "../sdml-errors" } +sdml-generate = { version = "0.3.0", path = "../sdml-generate" } +sdml-parse = { version = "0.3.0", path = "../sdml-parse" } tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } tree-sitter-sdml = "0.3.2" diff --git a/sdml-cli/README.org b/sdml-cli/README.org index 2a2f71b..b62a53d 100644 --- a/sdml-cli/README.org +++ b/sdml-cli/README.org @@ -427,6 +427,11 @@ end * Changes +*Version 0.3.0* + +- Feature: updates to support the latest grammar, see ~sdml-core~. +- Refactor: use the latest ~Generator~ trait. + *Version 0.2.10* - Feature: added new command =doc-book= to create a more complex documentation output for a collection of modules. diff --git a/sdml-core/Cargo.toml b/sdml-core/Cargo.toml index 3059c9d..a151789 100644 --- a/sdml-core/Cargo.toml +++ b/sdml-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sdml-core" description = "Core Model for Simple Domain Modeling Language (SDML)" -version = "0.2.17" +version = "0.3.0" authors = ["Simon Johnston "] repository = "https://github.com/johnstonskj/rust-sdml.git" license-file = "../LICENSE" @@ -26,7 +26,7 @@ lazy_static = "1.4" ordered-float = { version = "4.2", features = ["serde"] } regex = "1.10.2" rust_decimal = { version = "1.34.2", features = ["serde"] } -sdml-errors = { version = "0.1.6", path = "../sdml-errors" } +sdml-errors = { version = "0.3.0", path = "../sdml-errors" } serde = { version = "1.0.195", features = ["derive"], optional = true } serde_json = { version = "1.0.113", optional = true } serde_regex = { version = "1.1", optional = true } diff --git a/sdml-core/README.org b/sdml-core/README.org index ffae509..a97ad8f 100644 --- a/sdml-core/README.org +++ b/sdml-core/README.org @@ -39,6 +39,16 @@ Note that other tools can use the =sdml_core= API to create or manipulate models * Changes +*Version 0.3.0* + +- Feature: update for the latest grammar. + - Updated ~Member~ to be a union of ~MemberDef~ and ~IdentifierReference~. + - Updated entity ~identity~ to be just a ~Member~. + - Updated ~PropertyDef~ to be a wrapper around ~MemberDef~. + - Fixed corresponding validation rules. +- Refactor: simplified the walker/visitor to pass model members rather than de-constructing them. +- Refactor: renamed and made some changes in the ~cache~ (now ~store~) and ~load~ modules. + *Version 0.2.17* - Feature: inverted the logic for determining whether a definition is incomplete. diff --git a/sdml-errors/Cargo.toml b/sdml-errors/Cargo.toml index 026f84b..0b302d2 100644 --- a/sdml-errors/Cargo.toml +++ b/sdml-errors/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sdml-errors" description = "Simple Domain Modeling Language (SDML) errors and diagnostics." -version = "0.1.6" +version = "0.3.0" authors = ["Simon Johnston "] repository = "https://github.com/johnstonskj/rust-sdml.git" license-file = "../LICENSE" diff --git a/sdml-errors/README.org b/sdml-errors/README.org index 6d1f6d1..da5cd99 100644 --- a/sdml-errors/README.org +++ b/sdml-errors/README.org @@ -36,6 +36,10 @@ The following figure demonstrates this package in the broader project context. * Changes +*Version 0.3.0* + +- Build: align version number with ~sdml-core~ supporting the latest grammar. + *Version 0.1.6* - Feature: add a new variant in =Error=, =GeneratorError= for use by the =sdml-generator= crate. @@ -61,13 +65,15 @@ The following figure demonstrates this package in the broader project context. *Version 0.1.2* -- Feature: add new diagnostic for =DoubleUnderscoredIdentifier= where an identifier include two (or more) consecutive underscore characters. +- Feature: add new diagnostic for =DoubleUnderscoredIdentifier= where an identifier include two (or more) consecutive + underscore characters. - Add new code to =ErrorCode=. - Add new function =double_underscored_identifier=. *Version 0.1.1* -- Feature: add new diagnostic for =PropertyReferenceNotProperty= where the property name in a member does not resolve to a property definition. +- Feature: add new diagnostic for =PropertyReferenceNotProperty= where the property name in a member does not resolve to a + property definition. - Add new code to =ErrorCode=. - Add new function =property_reference_not_property=. diff --git a/sdml-generate/Cargo.toml b/sdml-generate/Cargo.toml index 2368159..6af4cdb 100644 --- a/sdml-generate/Cargo.toml +++ b/sdml-generate/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sdml-generate" description = "Simple Domain Modeling Language (SDML) generated Artifacts" -version = "0.2.13" +version = "0.3.0" authors = ["Simon Johnston "] repository = "https://github.com/johnstonskj/rust-sdml.git" license-file = "../LICENSE" @@ -23,9 +23,9 @@ s-expr = [] [dependencies] nu-ansi-term = "0.50.0" regex = "1.10.3" -sdml-core = { version = "0.2.17", features = ["serde"], path = "../sdml-core" } -sdml-errors = { version = "0.1.6", path = "../sdml-errors" } -sdml-parse = { version = "0.2.14", path = "../sdml-parse" } +sdml-core = { version = "0.3.0", features = ["serde"], path = "../sdml-core" } +sdml-errors = { version = "0.3.0", path = "../sdml-errors" } +sdml-parse = { version = "0.3.0", path = "../sdml-parse" } serde = { version = "1.0.195", features = ["derive"] } serde_regex = "1.1.0" tempfile = "3.10.0" diff --git a/sdml-generate/README.org b/sdml-generate/README.org index 4f3db36..9defd2f 100644 --- a/sdml-generate/README.org +++ b/sdml-generate/README.org @@ -36,6 +36,16 @@ The following figure demonstrates this package in the broader project context. * Changes +*Version 0.3.0* + +- Feature: updates to support the latest grammar, see ~sdml-core~. +- Refactor: update generates which use the walker/visitor internally. +- Refactor: drop the old style /write/-style traits and unify into a single ~Generator~ trait. +- Feature: more flexible s-expression generator with more Lisp-y output. +- Test: added a set of macros to test generator output for the set of test examples. + - Added expected output for RDF turtle. + - Updated existing dependency-tree tests to use these macros. + *Version 0.2.13* - Feature: added new command =doc-book= to create a more complex documentation output for a collection of modules. diff --git a/sdml-parse/Cargo.toml b/sdml-parse/Cargo.toml index cf68b59..9e07b51 100644 --- a/sdml-parse/Cargo.toml +++ b/sdml-parse/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sdml-parse" description = "Parser for Simple Domain Modeling Language (SDML)" -version = "0.2.14" +version = "0.3.0" authors = ["Simon Johnston "] repository = "https://github.com/johnstonskj/rust-sdml.git" license-file = "../LICENSE" @@ -16,8 +16,8 @@ all-features = true [dependencies] codespan-reporting = "0.11.1" rust_decimal = "1.30.1" -sdml-core = { version = "0.2.16", features = ["serde"], path = "../sdml-core" } -sdml-errors = { version = "0.1.5", path = "../sdml-errors" } +sdml-core = { version = "0.3.0", features = ["serde"], path = "../sdml-core" } +sdml-errors = { version = "0.3.0", path = "../sdml-errors" } search_path = "0.1.4" serde = { version = "1.0.195", features = ["derive"] } serde_json = "1.0.111" diff --git a/sdml-parse/README.org b/sdml-parse/README.org index a8c205a..9be59ee 100644 --- a/sdml-parse/README.org +++ b/sdml-parse/README.org @@ -37,6 +37,10 @@ The following figure demonstrates this package in the broader project context. * Changes +*Version 0.3.0* + +- Feature: updates to support the latest grammar, see ~sdml-core~. + *Version 0.2.13-0.2.14* - Build: update dependency from =sdml_error= to =sdml-errors=.