ChangeLog

 1Version NEXT:
 20000-00-00 Jonas Schäfer <jonas@zombofant.net>
 3    * Breaking
 4      - The methods of `TextCodec<T>` now have `&self` receivers. This also
 5        implies that `#[xml(text(codec = ..))]` now takes expressions instead
 6        of type paths.
 7
 8        Because all implementations provided by `xso` were in fact unit
 9        structs, this should not change most invocations, with one exception:
10        The type argument of `Base64` was removed. Replace all `Base64<Foo>`
11        references with `Base64.filtered(Foo)` to update your code.
12
13        This change overall allows for more flexibility in the implementation
14        of text codecs.
15    * Added
16      - Support for child elements in derive macros. Child elements may also
17        be wrapped in Option or Box or in containers like Vec or HashSet.
18      - Support for overriding the names of the types generated by the derive
19        macros.
20      - Support for deriving FromXml and AsXml on enums.
21      - Support for extracting data from child elements without intermediate
22        structs.
23      - Support for collecting all unknown children in a single field as
24        collection of `minidom::Element`.
25      - Support for "transparent" structs (newtype-like patterns for XSO).
26      - FromXmlText and AsXmlText are now implemented for jid::NodePart,
27        jid::DomainPart, and jid::ResourcePart (!485)
28      - Support for optional child elements, the presence of which are
29        translated into a boolean (`#[xml(flag)]`).
30      - Generic TextCodec implementation for all base64 engines provided by
31        the base64 crate (if the `base64` feature is enabled).
32      - New `codec` field on `attribute` meta, to support decoding and
33        encoding using any `TextCodec`.
34      - Support for `no_std` usage (the alloc crate is required, though).
35
36Version 0.1.2:
372024-07-26 Jonas Schäfer <jonas@zombofant.net>
38    * Added
39      - FromXmlText and AsXmlText are now implemented on char.
40    * Fixed
41      - Docs build on docs.rs now shows feature-gated items.
42
43Version 0.1.1:
442024-07-25 Maxime pep Buquet <pep@bouah.net>
45    * Added
46      - Import various text codecs from parsers: FixedHex, ColonSeparatedHex,
47        EmptyAsError.
48
49Version 0.1.0:
502024-07-25 Jonas Schäfer <jonas@zombofant.net>
51    * Initial release of this crate