Skip to content

Releases: Morgul/rpgdice

v1.2.2

28 Dec 18:32
Compare
Choose a tag to compare

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

  • None.

v1.2.1

05 Nov 01:47
Compare
Choose a tag to compare

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

05 Nov 01:32
Compare
Choose a tag to compare

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

  • None.

v1.1.0

05 Nov 01:24
Compare
Choose a tag to compare

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

  • None

v1.0.0

05 Nov 01:29
Compare
Choose a tag to compare

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!