New
Version 0.7.2
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
CodeandNameplate - [lib] Added new checked type for the
Passwordsection of a wormhole code - [lib] Added new
entropyfeature. When enabled, the entropy of the passed password will be checked on creation. This will change the signature ofMailboxConnection::create_with_passwordto require the password to be passed via the newPasswordwrapper type. - [lib][deprecated] Deprecated the
CodeandNameplateFrom<impl Into<String>>implementations andnew()methods. They are unchecked and will print a warning for now. These will be removed in the next breaking release.