Skip to content

Releases: avrae/d20

v1.1.2

08 Jul 18:47
Compare
Choose a tag to compare

Adds type hints to main roll methods and utils, preventing IDEs like PyCharm from reading the docstrings and complaining about types

v1.1.1

22 Jun 20:40
Compare
Choose a tag to compare
  • Fixes an issue where utils.tree_map would not copy a Set's values, leading to map operations modifying the cached expression/AST (see avrae/avrae#1537)

v1.1.0

25 Mar 22:26
Compare
Choose a tag to compare
  • Added support for percentile dice (Xd% => {0, 10, ..., 90}) (thanks @dalemyers!)
  • Fixed an issue where requirements.txt was missing while building from sdist (thanks @nikkobautista!)
  • Fixed some inconsistent indentation in README

v1.0.4

09 Jul 18:39
Compare
Choose a tag to compare

Changes the grammar of dice to be explicit in where whitespace is allowed, handling many more comment ambiguity cases.

v1.0.3

18 May 19:03
Compare
Choose a tag to compare

Handles more comment ambiguities in parsing when allow_comments=True.

v1.0.2

04 May 21:39
Compare
Choose a tag to compare

Fixes an issue where RollResult.total and RollResult.result would not represent the most up-to-date result of the expression (in case the expression was directly modified)

v1.0.1

01 Apr 18:21
Compare
Choose a tag to compare
  • Handles a case where an invalid dice expression would raise UnexpectedCharacters instead of RollSyntaxError

v1.0.0

02 Mar 21:36
Compare
Choose a tag to compare

Initial release

v1.0.0rc3

28 Feb 20:24
Compare
Choose a tag to compare
  • Fixes an issue where annotations would not bubble up out of the child of Parenthetical objects when using utils.simplify_expr_annotations()

v1.0.0rc2

24 Feb 21:49
Compare
Choose a tag to compare
  • made utils.simplify_expr_annotations() not annotate the right sides of multiplicative binops in ambiguity resolution