2024-07-23 16:30:56 +00:00
|
|
|
Version 0.11.1, release 2024-07-23:
|
2024-03-03 15:15:04 +00:00
|
|
|
* Breaking:
|
2024-07-22 23:04:35 +00:00
|
|
|
- Move InnerJid into Jid and reformulate BareJid and FullJid in terms of
|
|
|
|
Jid.
|
2024-03-03 15:15:04 +00:00
|
|
|
- With the addition of `str`-like types for `DomainPart`, `NodePart` and
|
|
|
|
`ResourcePart`, the functions on `Jid`, `BareJid` and `FullJid` which
|
|
|
|
return the respective types have been changed to return references
|
|
|
|
instead. Use `ToOwned::to_owned` to obtain a copy or `.as_str()` to
|
|
|
|
obtain a plain `str` reference.
|
|
|
|
- The `node_str`, `domain_str` and `resource_str` functions returning str
|
|
|
|
references have been removed from the JID types. Use `.as_str()` or
|
|
|
|
`.map(|x| x.as_str())` on the corresponding `node`/`domain`/`resource`
|
|
|
|
functions instead.
|
2023-11-11 12:24:26 +00:00
|
|
|
* Additions:
|
|
|
|
- Add optional quote support. Implement quote::ToTokens for Jid, FullJid
|
|
|
|
and BareJid.
|
2024-03-03 15:15:04 +00:00
|
|
|
- `str`-like reference types have been added for `DomainPart`, `NodePart`
|
|
|
|
and `ResourcePart`, called `DomainRef`, `NodeRef` and `ResourceRef`
|
|
|
|
respectively.
|
2024-03-08 12:31:26 +00:00
|
|
|
- Convenience methods to combine `DomainPart` and `NodePart` to a
|
|
|
|
`BareJid` have been added, including
|
|
|
|
`impl From<DomainPart> for BareJid` and
|
|
|
|
`impl From<DomainPart> for Jid`, both of which are (unlike
|
|
|
|
`::from_parts`) copy-free.
|
2024-03-09 08:00:36 +00:00
|
|
|
- `as_str` methods have been added on all Jid types.
|
2024-07-22 23:04:35 +00:00
|
|
|
- Derive PartialOrd/Ord for Jid types.
|
|
|
|
- Implement `Borrow<Jid>` on `FullJid` and `BareJid`.
|
|
|
|
- Make the crate no_std
|
|
|
|
- Update to edition 2021.
|
|
|
|
- Use debug_tuple instead of string formatting to get standard-like
|
|
|
|
output.
|
|
|
|
- Improve perfs of comparison operators (#123)
|
|
|
|
- Add more test cases
|
|
|
|
- Fix clippy lints, cargo doc, and other warnings
|
2024-12-17 16:00:53 +00:00
|
|
|
- xso::FromXmlText and xso::AsXmlText are now implemented for NodePart,
|
|
|
|
DomainPart, and ResourcePart (!485)
|
|
|
|
|
2023-11-11 12:24:26 +00:00
|
|
|
|
2024-07-23 16:30:56 +00:00
|
|
|
Version 0.11.0, release 2024-07-23 [YANKED]
|
|
|
|
|
2023-08-17 10:41:17 +00:00
|
|
|
Version 0.10.0, release 2023-08-17:
|
2023-05-28 17:54:51 +00:00
|
|
|
* Breaking
|
|
|
|
- serde: Jid is now using untagged enum representation (#66)
|
2023-06-21 16:41:32 +00:00
|
|
|
- JidParseError has been renamed Error
|
|
|
|
- Jid::new, FullJid::new, and BareJid::new now take a single stringy argument and return a Result ;
|
|
|
|
to build JIDs from separate parts, use the from_parts() method instead (#204)
|
2023-05-28 18:02:09 +00:00
|
|
|
* Additions
|
2023-06-07 11:16:34 +00:00
|
|
|
- Parsing invalid JIDs with stringprep feature no longer results in panic,
|
2023-06-21 16:41:32 +00:00
|
|
|
returning Error with NodePrep, NamePrep or ResourcePrep variant instead (#84)
|
2023-07-15 17:25:14 +00:00
|
|
|
- Parsing already-normalized JIDs with stringprep is much faster, about 20 times.
|
2023-06-21 16:41:32 +00:00
|
|
|
- JID parts are now typed as NodePart, DomainPart and ResourcePart ; once part into those types,
|
|
|
|
JID operations cannot fail
|
|
|
|
- BareJid::with_resource appends a ResourcePart to a BareJid to produce a FullJid (#204)
|
|
|
|
- BareJid::with_resource_str appends a stringy resource to a BareJid to produce a FullJid, and can fail
|
|
|
|
in case of resource stringprep or length check error (#204)
|
|
|
|
- Jid::from_parts, BareJid::from_parts, and FullJid::from_parts enable to build JIDs from typed Parts
|
|
|
|
and cannot fail (#204)
|
|
|
|
- Jid::node(), BareJid::node(), and FullJid::node() now return an option of the typed NodePart ; the
|
|
|
|
node_str() method returns the same information as a string slice (#204)
|
|
|
|
- Jid::domain(), BareJid::domain(), and FullJid::domain() now return the typed DomainPart ; the
|
|
|
|
domain_str() method returns the same information as a string slice (#204)
|
|
|
|
- FullJid::resource() returns the typed ResourcePart ; the resource_str() method returns the same
|
|
|
|
information as a string slice (#204)
|
|
|
|
- Jid::resource() returns an optional typed ResourcePart ; the resource_str() method returns the same
|
|
|
|
information as a string slice (#204)
|
2023-08-17 10:40:54 +00:00
|
|
|
- Add serde_test in tests to ensure correctness of Serialize / Deserialize implementations.
|
2023-05-28 17:54:51 +00:00
|
|
|
|
2022-03-07 11:12:02 +00:00
|
|
|
Version 0.9.3, release 2022-03-07:
|
|
|
|
* Updates
|
|
|
|
- Bumped minidom to 0.14
|
|
|
|
|
2021-01-13 10:43:59 +00:00
|
|
|
Version 0.9.2, release 2021-01-13:
|
|
|
|
* Updates
|
|
|
|
- Bumped minidom to 0.13
|
|
|
|
|
2021-01-12 23:33:26 +00:00
|
|
|
Version 0.9.1, release 2021-01-13:
|
2020-05-07 19:39:37 +00:00
|
|
|
* Updates
|
|
|
|
- Added serde support behind "serde" feature
|
2021-01-12 23:33:26 +00:00
|
|
|
- Added equality operators between Jid, BareJid and FullJid.
|
2020-05-07 19:39:37 +00:00
|
|
|
|
2020-02-15 01:20:46 +00:00
|
|
|
Version 0.9.0, release 2020-02-15:
|
|
|
|
* Breaking
|
|
|
|
- Update minidom dependency to 0.12
|
|
|
|
|
2019-10-15 20:35:46 +00:00
|
|
|
Version 0.8, released 2019-10-15:
|
2019-09-13 01:26:06 +00:00
|
|
|
* Updates
|
|
|
|
- CI: Split jobs, add tests, and caching
|
2019-10-15 20:35:46 +00:00
|
|
|
* Breaking
|
|
|
|
- 0.7.1 was actually a breaking release
|
2019-09-13 01:26:06 +00:00
|
|
|
|
2019-09-12 22:42:18 +00:00
|
|
|
Version 0.7.2, released 2019-09-13:
|
|
|
|
* Updates
|
|
|
|
- Impl Error for JidParseError again, it got removed due to the failure removal but is still wanted.
|
|
|
|
|
2019-09-06 09:39:03 +00:00
|
|
|
Version 0.7.1, released 2019-09-06:
|
|
|
|
* Updates
|
|
|
|
- Remove failure dependency, to keep compilation times in check
|
|
|
|
- Impl Display for Jid
|
|
|
|
|
2019-07-25 23:43:57 +00:00
|
|
|
Version 0.7.0, released 2019-07-26:
|
|
|
|
* Breaking
|
|
|
|
- Update minidom dependency to 0.11
|
|
|
|
|
2019-07-20 17:14:12 +00:00
|
|
|
Version 0.6.2, released 2019-07-20:
|
|
|
|
* Updates
|
|
|
|
- Implement From<BareJid> and From<FullJid> for Jid
|
|
|
|
- Add node and domain getters on Jid
|
|
|
|
|
2019-06-10 21:17:24 +00:00
|
|
|
Version 0.6.1, released 2019-06-10:
|
|
|
|
* Updates
|
|
|
|
- Change the license from LGPLv3 to MPL-2.0.
|
|
|
|
|
2019-06-10 21:12:57 +00:00
|
|
|
Version 0.6.0, released 2019-06-10:
|
2019-06-10 20:06:57 +00:00
|
|
|
* Updates
|
2019-06-10 21:12:57 +00:00
|
|
|
- Jid is now an enum, with two variants, Bare(BareJid) and Full(FullJid).
|
2019-06-10 20:55:53 +00:00
|
|
|
- BareJid and FullJid are two specialised variants of a JID.
|
2019-06-10 20:06:57 +00:00
|
|
|
|
2019-01-16 12:27:54 +00:00
|
|
|
Version 0.5.3, released 2019-01-16:
|
|
|
|
* Updates
|
|
|
|
- Link Mauve bumped the minidom dependency version.
|
|
|
|
- Use Edition 2018, putting the baseline rustc version to 1.31.
|
|
|
|
- Run cargo-fmt on the code, to lower the barrier of entry.
|
|
|
|
|
2018-07-31 20:16:34 +00:00
|
|
|
Version 0.5.2, released 2018-07-31:
|
|
|
|
* Updates
|
|
|
|
- Astro bumped the minidom dependency version.
|
|
|
|
- Updated the changelog to reflect that 0.5.1 was never actually released.
|
|
|
|
|
|
|
|
Version 0.5.1, "released" 2018-03-01:
|
2018-03-01 15:27:59 +00:00
|
|
|
* Updates
|
|
|
|
- Link Mauve implemented failure::Fail on JidParseError.
|
|
|
|
- Link Mauve simplified the code a bit.
|
|
|
|
|
2018-02-18 20:38:07 +00:00
|
|
|
Version 0.5.0, released 2018-02-18:
|
|
|
|
* Updates
|
|
|
|
- Link Mauve has updated the optional `minidom` dependency.
|
|
|
|
- Link Mauve has added tests for invalid JIDs, which adds more error cases.
|
|
|
|
|
2017-12-27 16:23:28 +00:00
|
|
|
Version 0.4.0, released 2017-12-27:
|
|
|
|
* Updates
|
|
|
|
- Maxime Buquet has updated the optional `minidom` dependency.
|
|
|
|
- The repository has been transferred to xmpp-rs/jid-rs.
|
|
|
|
|
2017-10-31 21:53:10 +00:00
|
|
|
Version 0.3.1, released 2017-10-31:
|
2017-10-31 21:51:29 +00:00
|
|
|
* Additions
|
|
|
|
- Link Mauve added a minidom::IntoElements implementation on Jid behind the "minidom" feature. ( https://gitlab.com/lumi/jid-rs/merge_requests/9 )
|