Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.3.2 (2021-09-15)

Fixed

  • Remove unused lifetimes (#760)

0.3.1 (2021-09-14) [YANKED]

Added

  • PasswordHashString (#758)

Fixed

  • Handling of empty salts in fmt::Display impl for PasswordHash (#748)
  • MSRV regression from base64ct (#757)

0.3.0 (2021-08-27) [YANKED]

Added

  • More details to ParamValueInvalid (#713)
  • SaltInvalid error (#713)
  • version param to PasswordHasher (#719)
  • ParamsString::add_b64_bytes method (#722)

Changed

  • Rename PasswordHash::hash_password_simple => PasswordHash::hash_password (#720)
  • Rename PasswordHash::hash_password => PasswordHash::hash_password_customized (#720)
  • Rename Error::B64 => Error::B64Encoding (#721)

0.2.3 (2021-08-23)

Changed

  • Make max lengths of Value and Salt both 64 (#707)

0.2.2 (2021-07-20)

Changed

  • Pin subtle dependency to v2.4 (#689)

Added

  • Re-export rand_core (#683)

0.2.1 (2021-05-05)

Changed

  • Use subtle crate for comparing hash Output (#631)

0.2.0 (2021-04-29)

Changed

  • Allow specifying output length and version with params (#615)
  • Allow passing &str, &Salt, or &SaltString as salt (#615)
  • Simplify error handling (#615)

0.1.4 (2021-04-19)

Added

  • Length constants (#600)

Changed

  • Deprecate functions for obtaining length constants (#600)

0.1.3 (2021-04-17)

Changed

  • Update docs for PHC string field (#593)

Fixed

  • Broken b64 links in rustdoc (#594)

0.1.2 (2021-03-17)

Changed

  • Bump base64ct dependency to v1.0 (#579)

0.1.1 (2021-02-01)

Added

  • Encoding enum with bcrypt and crypt(3) Base64 support (#515)
  • Support for using PasswordHash with an alternate Encoding (#518)

Changed

  • Bump base64ct dependency to v0.2 (#519)

0.1.0 (2021-01-28)

  • Initial release