Skip to content

Releases: venables/bookshelf-secure-password

v5.0.0

02 Dec 14:19
Compare
Choose a tag to compare

v4.0.0

14 Aug 18:49
Compare
Choose a tag to compare
  • [BREAKING CHANGE] Drop support for Node 4, 5, 6, 7. bookshelf-secure-password version 3.x of still supports those versions.
  • [IMPROVEMENT] Add support for Nodejs 12.x
  • [IMPROVEMENT] Update BCrypt to 3.x

v3.1.0

11 Apr 18:27
4b63224
Compare
Choose a tag to compare
  • Updates bcrypt to ^2.0.0 (uses 2b as default bcrypt version)

v3.0.1

20 Feb 19:51
Compare
Choose a tag to compare

Changes

  • Re-add crypt as dependency

v3.0.0

20 Feb 19:46
Compare
Choose a tag to compare

Breaking changes from v2:

  • Removes the ability to hash passwords immediately upon setting them on the model. This method used blocking Sync methods, which are against Node standards and would lead to scalability issues. Instead, this library only uses Async methods for password hashing.

If you prefer to use the blocking setter methods (not recommended), please use the v2.x releases.

v2.0.0

13 Feb 22:20
Compare
Choose a tag to compare

Breaking changes from v1:

  • Updates authenticate method to return a Promise. The Promise resolves to the authenticated Model, otherwise it rejects with a PasswordMismatchError

New features:

  • Adds optional "save-time" hashing method to allow performing password hashing as the model is saved to the database. This allows us to use async calls within BCrypt.

Other changes:

  • Updates bcrypt dependency to ^1.0.2
  • Drops lodash dependency
  • Adds 100% coverage test suite

v1.1.0

13 Feb 22:21
Compare
Choose a tag to compare
  • Updates bcrypt dependency
  • Updates lodash dependency