Skip to content

Releases: Filipo11021/nodejs-password-hashing

v2.1.1

26 Jan 10:46

Choose a tag to compare

2.1.1 (2026-01-26)

Bug Fixes

v2.1.0

23 Jan 23:01

Choose a tag to compare

2.1.0 (2026-01-23)

Features

  • add pepper support to argon2 hashing (#34) (4d508df)

v2.0.0

21 Jan 22:46

Choose a tag to compare

2.0.0 (2026-01-21)

Features

  • #33: tree-shake unused drivers when importing single driver (e0d7bf0), closes #33

BREAKING CHANGES

  • #33: Root package exports have been removed. Import directly from subpaths instead:

Before:
import { createArgon2Hashing, createScryptHashing, Hashing, HashingDep } from '@filipo11021/nodejs-password-hashing'

After:
import { createArgon2Hashing } from '@filipo11021/nodejs-password-hashing/argon2'
import { createScryptHashing } from '@filipo11021/nodejs-password-hashing/scrypt'
import type { Hashing, HashingDep } from '@filipo11021/nodejs-password-hashing/contracts'

v1.0.2

21 Jan 15:56

Choose a tag to compare

1.0.2 (2026-01-21)

Bug Fixes

  • #31: Options config type resolves to any instead of proper type inference (73c551e)

v1.0.1

19 Jan 23:41

Choose a tag to compare

1.0.1 (2026-01-19)

Bug Fixes

  • include dist folder in published package (#28) (001a6a5)

v1.0.0

18 Jan 02:34

Choose a tag to compare

1.0.0 (2026-01-18)

Bug Fixes

  • add range validation for PHC formatter schema to prevent DoS (e14a856)
  • argon2: match PHC formatter id to the actual algorithm variant used (58e7ac1)
  • phc-formatter: resolve type mismatch, correctly infer type of version (f04af05)
  • phc-formatter: update main test flow to use version field (0682a0a)
  • prevent exception-based attacks with malformed hash input (13006a6)
  • run tests from nested directories (ed7bb4d)

Features

  • #10: implement automated release flow with semantic-release (#14) (db9edd3), closes #10
  • #2: Add version support to Argon2 hashing and remove unnecessary phc formatter abstraction (de3ad30), closes #2
  • #3: Make salt size configurable (84fe6d4), closes #3
  • #4: Use standard parameter names in PHC format (41a2712), closes #4
  • #5: Validate options when creating hashing instance (cd303be), closes #5
  • add test coverage script (42b5045)
  • detect hashes created with different configuration (0ac626d)