0.2.7 2024-04-28 ================ - Fix bug: IP4 IP6 returned an incorrectly formed network addess with CIDR notation. - Increased SPF length to 512 0.2.6 2023-12-18 ================ - Add Serialize and Deserialize Support - Requires the serde feature to be enabled. 0.2.5 2023-11-04 ================ - Add support to Mechanism `exist` for Macro Expansion. Strings starting with `%` will now be matched. Support contributed by [22ca54d00f05391d6ffee4bc23a5ba60](phttps://github.com/22ca54d00f05391d6ffeoe4bc23a5ba60) 0.2.4 2022-01-19 ================ - Remove code which has been deprecated since 0.2.0 - Implement `strict-dns` feature - Use crate `addr` to validate *domain* information for `a`, `mx`, `ptr`, `include`, and `exists` - See: `examples/build-spf-strict.rs` - Deprecate `Mechanism::new_` functions. - Breaking Change: Rename some `MechanismError::` messages. 0.2.3 2021-12-09 ================ - Add `#[cfg(feature = warn-dns)]` to code documentation to remove warnings and errors when feature is not enabled. 0.2.2 2021-12-09 ================ - Add Feature (warn-dns) With this feature enabled any malformed DNS records will cause `has_warnings()` to be set to `true`. Their values can then be accessed using `warnings()`. Even though they are invalid. No error will be generated. 0.2.1 2021-11-03 ================ - Documentation Update 0.2.0 2021-11-02 ================ Breaking Changes. ================================================================ - as_spf() removed. Replaced with a *Display* trait. Use `to_string()` - .parse() removed. Replaced with *FromStr* trait. Use `parse::()` Changes ======= - Bump Version to 0.2.0 - Add this CHANGELOG.md file. - Complete re-orginisation of the crate's module layout. - Note that spf::{qualifier::Qualifier, kinds::MechanismKind, mechanism::Mechanism} no longer exist. These can now be accessed more simply as: - mechanism::{Qualifer, Kind, Mechanism} - Correct license reference to correctly show as MIT license - Introduced ability to build SPF records programmatically. - See examples/build-new-spf.rs - Implemented **Display** trait for structs *Spf* and *Mechanism* - This also depreciates the previously implemented *as_spf()* and *string()* methods. - implemented **FromStr** trait for Struct *Spf* - Implemented Errors for `Mechanism` - Improved regular expressions to handle more strings when parsing.