- TypeScript type declarations (
index.d.ts)
- Breaking: Minimum Node.js version is now 18.0.0
- Updated NAN to 2.25.0 for Node.js 25 compatibility
- Updated mocha to 11.3.0 and chai to 6.2.2
- Replaced
NODE_MODULEwithNAN_MODULE_WORKER_ENABLEDfor proper module registration - Fixed null pointer subtraction warnings in sha256crypt.c and sha512crypt.c using
uintptr_t
- Support for Node.js 25
- New ES6 async/await compatible functions:
sha256cryptAsync()andsha512cryptAsync() - These functions return Promises and can be used with modern async/await syntax
- Full test coverage for the new async functions
- Updated documentation to include examples of the new async/await API
- Input validation and error handling to prevent crashes
- Support for Node.js 16-23
- Asynchronous support through optional callback functions
- Windows build compatibility improvements
- Cross-platform portability enhancements
- Updated nan to latest version 2.14.0 to make it work under Node.js v12
- Replaced endian.h with portable_endian.h for better cross-platform support
See git history for older changes.