Skip to content

Releases: dcodeIO/bcrypt.js

v3.0.0

13 Feb 18:24
Compare
Choose a tag to compare

Breaking changes

  • Modernize project structure (2f45985)
    The project now exports an ECMAScript module by default, albeit with an UMD fallback, ships with types, the dist/ directory no longer exists in version control, and Closure Compiler externs have been removed.
  • Generate 2b hashes by default (d36bfb4)
    This library was not affected by the bug that led to incrementing the bcrypt version from 2a to 2b, but nowadays most implementations use 2b, including the native bcrypt binding, so this change aligns with them. Existing hashes will continue to work, but test logic that generates hashes and compares them literally might need to be updated to account for the new default.

Features

  • Add helper to check for password input length (d5656b3)

Other

  • Update publish workflow (2a9bea9)
  • Add note on using the ESM variant in the browser (e09eb9a)
  • Update types (58333a1)
  • Merge lint and test workflows (2e3b176)
  • Fix tests (ec02e8a)
  • Update legacy fallback to handle crypto dependency (9db275f)
  • Update lint workflow title (ac70ac5)
  • Adapt crypto module usage for ESM environments (574d690)
  • Format with prettier (e746547)
  • Rename default branch to 'main' (548559d)
  • Update description to mention TypeScript support (4977df0)
  • Add stale action for issues and PRs (a84d4e4)
  • Fix typo (c8c9c01)
  • Fix Node.js version in CI (1b54cc4)

Backlog from v2

  • Added externs to .npmignore (#124) (7e2e93a)
    The npm package does not need externs as it is needed only for closure compiler. Added it in .npmignore since bcryptjs overrides global module and process in WebStorm IDE.
  • Make sure the bin script uses LF (684fac6)
  • Post-merge; Clean up a bit (b09f7f2)
  • Improve safeStringCompare using xor (#77) (648482a)
  • Added bin entry (49a1d1a)

v2.4.3

13 Feb 18:37
Compare
Choose a tag to compare

Last v2 before restructuring the project to export an ECMAScript module by default.

2.4.0

04 Jan 16:53
Compare
Choose a tag to compare
Merge pull request #48 from JakobLofgren/master

Add Promise example in Async code examples

2.0.0

15 Jul 01:14
Compare
Choose a tag to compare
Cleanup, Bower support, ISAAC build

1.0.1

09 Jun 21:17
Compare
Choose a tag to compare
Do not throw if hash.length != 60

1.0.0

08 Jun 20:46
Compare
Choose a tag to compare
Validate (UTF8) compatibility with bcrypt, fixes #4