Skip to content

Version 0.7.2

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Oct 16:22
· 21 commits to main since this release
0.7.2
1195b8a

Changed

  • [all][\breaking] Code words with a secret password section shorter than 4 bytes are no longer accepted. This only breaks completely invalid uses of the code.
  • [all] Code words with a weak password section or a non-integer nameplate will throw an error in the long. This error can be upgraded to a hard error by enabling the "entropy" feature. This feature will become the default in the next major release.
  • [lib] Implemented FromStr for Code and Nameplate
  • [lib] Added new checked type for the Password section of a wormhole code
  • [lib] Added new entropy feature. When enabled, the entropy of the passed password will be checked on creation. This will change the signature of MailboxConnection::create_with_password to require the password to be passed via the new Password wrapper type.
  • [lib][deprecated] Deprecated the Code and Nameplate From<impl Into<String>> implementations and new() methods. They are unchecked and will print a warning for now. These will be removed in the next breaking release.