1
0
mirror of https://github.com/S2-/securerandomstring.git synced 2025-08-02 18:30:04 +02:00

1.0.0: Add sync API and update async API to pass error to callback as the first argument.

This commit is contained in:
Mark Stosberg
2015-08-27 16:25:30 -04:00
parent 3358bf21fc
commit 1cc664c4fa
5 changed files with 37 additions and 11 deletions

17
CHANGELOG.md Normal file
View File

@@ -0,0 +1,17 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [1.0.0] 2015-08-27
### New Features
- New sync API was added. Like crypto.getRandomBytes(), it can throw an exception if the system
is short on entropy. (#1, @markstos)
### Breaking changes
- Async API now follows the Node.js convention of returning an error as the first argument
to the callback. The error might be populated if the system runs out of entropy. (#2, @markstos)