Releases: Filipo11021/nodejs-password-hashing
Releases · Filipo11021/nodejs-password-hashing
v2.1.1
v2.1.0
v2.0.0
2.0.0 (2026-01-21)
Features
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
v1.0.1
v1.0.0
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)