Skip to content

Releases: edloidas/roll-parser

v2.3.2

04 Jun 19:59
Compare
Choose a tag to compare

Notable changes

Updated:

  • Fixed invalid rolls handling, when used in the terminal.

v2.3.1

04 Jun 13:57
Compare
Choose a tag to compare

Notable changes

Updated:

  • Fixed missing link to executables in package.json

v2.3.0

04 Jun 13:45
Compare
Choose a tag to compare

Notable changes

Added:

  • Binaries to be able to run roll-parser from the console.

v2.2.0

04 Jun 13:44
Compare
Choose a tag to compare

Notable changes

Added:

  • Browser full and minified bundle

v2.1.1

31 May 15:58
Compare
Choose a tag to compare

Notable changes

Updated:

  • Fixed random function name typo: ramdom => random

v2.1.0

31 May 14:56
Compare
Choose a tag to compare

Notable changes

Updated:

  • Roll and parse&roll methods are now using converters, so the plain objects can be passed without risks.
  • parse() and parseAndRoll() functions will return null, if null or `undefined is passed.

Added:

  • Converters to convert any parameters to Roll and WodRoll objects.

v2.0.3

31 May 08:18
Compare
Choose a tag to compare

Notable changes

Updated:

  • Fixed rollClassic() generating identical values each dice roll.
  • Fixed rollWod() incorrectly counting the number of success dice rolls.

v2.0.2

31 May 08:13
Compare
Choose a tag to compare

Notable changes

Updated:

  • Fixed npm package config by adding src dir to distribution.

v2.0.1

30 May 09:07
Compare
Choose a tag to compare

npm distribution is broken for this version. Fixed in v2.0.2.

Notable changes

Updated:

  • Documentation and README fixes.

v2.0.0

30 May 08:31
Compare
Choose a tag to compare

npm distribution is broken for this version. Fixed in v2.0.2.

Notable changes

Updated:

  • Parser names.
  • List of exported functions.

Added:

  • Support of WoD notation: 4d10!>6f1.
  • Roll generators for dice rolling, according to the parsed notation.
  • WodRoll object for parsed WoD notation. Same as Roll for simple or classic notations.
  • Result object, that represents the dice rolls result.
  • Documentation for functions in code (JSDoc) and API reference.

Removed:

  • Range from classic and simple notations: 2d10+1 (3, 8) => 2d10.