mirror of
https://github.com/S2-/securerandomstring.git
synced 2025-08-02 10:20:05 +02:00
32 lines
986 B
Markdown
32 lines
986 B
Markdown
|
|
# Change Log
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
## [1.1.4] 2024-09-26
|
|
|
|
## Changes
|
|
|
|
- In previous versions, if there was not enough entropy on the system, `securerandomstring` would throw an exception. Now it will retry to generate a random string until it succeeds, or the call stack becomes full.
|
|
|
|
## [1.1.0] 2017-12-26
|
|
|
|
### New Features
|
|
|
|
- alphanumeric option to generate alphanumeric characters only.
|
|
|
|
## [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)
|
|
|
|
- `urlsafe` option was removed. All strings are URL-safe now. (#4, @S2-, @markstos)
|