Releases: Morgul/rpgdice
Releases · Morgul/rpgdice
v1.2.2
There's no API changes, we just added a much more uniform random number generator.
Features
- Switched to using
crypto.randomBytes
for the random number generator.
- Added a script to measure the distribution of generated random numbers.
Breaking Changes
v1.2.1
Minor bug fix; fixed an issue with the min()
and max()
functions.
Fixes
- FIXED:
min()
and max()
returned NaN
if you performed an operation on their results.
v1.2.0
There are no syntax changes this release; instead we just added two new default functions: min()
and max()
, as well as some minor documentation updates.
Features
- Added
min()
function: min(5, 2)
.
- Added
max()
function: max(5, 2)
.
Breaking Changes
v1.1.0
This release introduces a backwards compatible change to the variable syntax, to allow for nested variables. Support for nesting currently requires the variable to be escaped, i.e. 'foo.bar'
or '[foo.bar]'
.
Features
- Added support for nested variables:
floor('foo.bar.baz' / 2)
Breaking Changes
v1.0.0
This is our first 'production ready' release! We've been using rpgdice
for months now, and haven't had any issues, so it seemed like a good time to cut our first release!