diff --git a/Cargo.lock b/Cargo.lock index ba6b64c..0c55912 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -945,7 +945,7 @@ checksum = "a62ce76d9b56901b19a74f19431b0d8b3bc7ca4ad685a746dfd78ca8f4fc6bda" [[package]] name = "xmlity" -version = "0.0.7" +version = "0.0.8" dependencies = [ "pretty_assertions", "rstest", @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "xmlity-derive" -version = "0.0.7" +version = "0.0.8" dependencies = [ "darling", "proc-macro2", @@ -965,7 +965,7 @@ dependencies = [ [[package]] name = "xmlity-quick-xml" -version = "0.0.7" +version = "0.0.8" dependencies = [ "criterion", "ntest", diff --git a/Cargo.toml b/Cargo.toml index 7fbd98f..ab4ff78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["xmlity", "xmlity-derive", "xmlity-quick-xml"] [workspace.package] -version = "0.0.7" +version = "0.0.8" edition = "2021" rust-version = "1.82.0" authors = ["Lukas Friman "] @@ -17,6 +17,6 @@ exclude = ["xmlity-book/"] thiserror = "^2.0.4" pretty_assertions = "^1.4.1" rstest = "^0.25.0" -xmlity-derive = { version = "^0.0.7", path = "./xmlity-derive" } -xmlity = { version = "^0.0.7", path = "./xmlity" } -xmlity-quick-xml = { version = "^0.0.7", path = "./xmlity-quick-xml" } +xmlity-derive = { version = "^0.0.8", path = "./xmlity-derive" } +xmlity = { version = "^0.0.8", path = "./xmlity" } +xmlity-quick-xml = { version = "^0.0.8", path = "./xmlity-quick-xml" } diff --git a/README.md b/README.md index fe3b195..e60238f 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ To get started, we recommend you check out the [XMLity book](https://xmlity.luka ```toml [dependencies] -xmlity = { version = "0.0.7", features = ["derive"] } +xmlity = { version = "0.0.8", features = ["derive"] } -xmlity-quick-xml = "0.0.7" +xmlity-quick-xml = "0.0.8" ``` 2. Write defintions and use: diff --git a/xmlity-derive/CHANGELOG.md b/xmlity-derive/CHANGELOG.md index 70d5d2a..5e723bd 100644 --- a/xmlity-derive/CHANGELOG.md +++ b/xmlity-derive/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.8](https://github.com/lukasfri/xmlity/compare/xmlity-derive-v0.0.7...xmlity-derive-v0.0.8) - 2025-07-27 + +### Added + +- *(derive)* Adds `ignore_comments` option to easily ignore comments in elements and values. ([#120](https://github.com/lukasfri/xmlity/pull/120)) +- Adds external data support to deserialization process. ([#116](https://github.com/lukasfri/xmlity/pull/116)) +- *(derive)* Adds `serialize_with`/`deserialize_with`/`with` for easy `(De)serialize` implementations. ([#109](https://github.com/lukasfri/xmlity/pull/109)) + +### Fixed + +- *(derive)* Support serialization of enums with no arms. ([#113](https://github.com/lukasfri/xmlity/pull/113)) + ## [0.0.7](https://github.com/lukasfri/xmlity/compare/xmlity-derive-v0.0.6...xmlity-derive-v0.0.7) - 2025-06-23 ### Added diff --git a/xmlity-quick-xml/CHANGELOG.md b/xmlity-quick-xml/CHANGELOG.md index 4ffd972..010b32a 100644 --- a/xmlity-quick-xml/CHANGELOG.md +++ b/xmlity-quick-xml/CHANGELOG.md @@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.8](https://github.com/lukasfri/xmlity/compare/xmlity-quick-xml-v0.0.7...xmlity-quick-xml-v0.0.8) - 2025-07-27 + +### Added + +- *(derive)* Adds `ignore_comments` option to easily ignore comments in elements and values. ([#120](https://github.com/lukasfri/xmlity/pull/120)) +- Adds external data support to deserialization process. ([#116](https://github.com/lukasfri/xmlity/pull/116)) +- *(derive)* Adds `serialize_with`/`deserialize_with`/`with` for easy `(De)serialize` implementations. ([#109](https://github.com/lukasfri/xmlity/pull/109)) + +### Fixed + +- *(value)* Fix stack overflow for subvalue in struct from value. ([#125](https://github.com/lukasfri/xmlity/pull/125)) +- *(value)* Fixed `deserialize_seq` on most XML value types. ([#124](https://github.com/lukasfri/xmlity/pull/124)) +- *(quick-xml)* Fix bug in sub-access of attributes in elements. ([#123](https://github.com/lukasfri/xmlity/pull/123)) +- *(core)* [**breaking**] Change `SerializeSeq` trait to return `()` for each individual element. ([#115](https://github.com/lukasfri/xmlity/pull/115)) +- *(quick-xml)* Fixed sequence-based text values (enums) not being supported in attributes. ([#114](https://github.com/lukasfri/xmlity/pull/114)) +- *(derive)* Support serialization of enums with no arms. ([#113](https://github.com/lukasfri/xmlity/pull/113)) + +### Other + +- *(derive)* Adds test for `extendable = "iterator"` option. ([#119](https://github.com/lukasfri/xmlity/pull/119)) + ## [0.0.7](https://github.com/lukasfri/xmlity/compare/xmlity-quick-xml-v0.0.6...xmlity-quick-xml-v0.0.7) - 2025-06-23 ### Added diff --git a/xmlity-quick-xml/Cargo.toml b/xmlity-quick-xml/Cargo.toml index 9cf6106..a054165 100644 --- a/xmlity-quick-xml/Cargo.toml +++ b/xmlity-quick-xml/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "xmlity-quick-xml" description = "XMLity implementation of quick-xml." -version = "0.0.7" +version = "0.0.8" edition.workspace = true rust-version.workspace = true authors.workspace = true diff --git a/xmlity/CHANGELOG.md b/xmlity/CHANGELOG.md index 735fc64..86f0940 100644 --- a/xmlity/CHANGELOG.md +++ b/xmlity/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.8](https://github.com/lukasfri/xmlity/compare/xmlity-v0.0.7...xmlity-v0.0.8) - 2025-07-27 + +### Added + +- *(core)* Infallible error types. ([#122](https://github.com/lukasfri/xmlity/pull/122)) +- *(value)* Make visitors of XML value types public. ([#117](https://github.com/lukasfri/xmlity/pull/117)) +- Adds external data support to deserialization process. ([#116](https://github.com/lukasfri/xmlity/pull/116)) +- *(core)* Add `(De)serialize` impl for `isize`/`usize` non-zero types. ([#112](https://github.com/lukasfri/xmlity/pull/112)) +- *(core)* Add `(De)serialize` impls for non-zero primitives. ([#111](https://github.com/lukasfri/xmlity/pull/111)) + +### Fixed + +- *(value)* Fix stack overflow for subvalue in struct from value. ([#125](https://github.com/lukasfri/xmlity/pull/125)) +- *(value)* Fixed `deserialize_seq` on most XML value types. ([#124](https://github.com/lukasfri/xmlity/pull/124)) +- *(core)* [**breaking**] Change `SerializeSeq` trait to return `()` for each individual element. ([#115](https://github.com/lukasfri/xmlity/pull/115)) + ## [0.0.7](https://github.com/lukasfri/xmlity/compare/xmlity-v0.0.6...xmlity-v0.0.7) - 2025-06-23 ### Added