jid: Add a failible DomainRef::with_node_str()

This matches BareJid::with_resource_str() in that it allows the user to
parse a &str into a NodePart and construct the BareJid in one call.
This commit is contained in:
Link Mauve 2026-06-07 19:54:19 +02:00 • committed by Jonas Schäfer
commit 393feb8d5e
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Version NEXT, release XXXX-XX-XX:
* Changes:
- Add a `DomainRef::with_node_str()` method, matching `with_resource_str()`
but for `with_node()`.
Version 0.12.2, release 2025-02-26:
* Changes:
- Add a `NodeRef::unescape()` method, to implement XEP-0106 escaping.