Skip to content

Latest commit

 

History

History
167 lines (124 loc) · 5.01 KB

CHANGELOG.md

File metadata and controls

167 lines (124 loc) · 5.01 KB

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.5.0 (2023-03-04)

Added

  • Error::OutputSize (#1026)
  • std::error::Error::source for Error (#1264)
  • getrandom feature (#1267)

Changed

  • Use Salt type with PasswordHasher (#1187)
  • Rename Salt::new => Salt::from_b64 (#1266)
  • Rename Salt::b64_decode => Salt::decode_b64 (#1266)
  • Rename SaltString::new => SaltString::from_b64 (#1266)
  • Rename SaltString::b64_decode => SaltString::decode_b64 (#1266)
  • Rename SaltString::b64_encode => SaltString::encode_b64 (#1266)

Fixed

  • Allow Salt to be exactly the same amount as MAX_LENGTH value (#1246)

0.4.2 (2022-06-27)

Fixed

  • docs.rs metadata (#1031)

0.4.1 (2022-04-22)

Added

  • authentication category to Cargo.toml (#976)

0.4.0 (2022-03-09)

Changed

  • Leverage const_panic; MSRV 1.57 (#896)
  • Rust 2021 edition upgrade (#897)
  • Make Ident::new fallible; add Ident::new_unwrap (#896, #960)

Fixed

  • Better Debug/Display impls for SaltString (#804)

Removed

  • base64ct version restrictions (#914)

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