Skip to content

Commit

Permalink
v1.5.0a0
Browse files Browse the repository at this point in the history
* Providing only a `drop` argument to `lowest()` or `highest()` will now keep all other elements rather than just the first non-dropped element.
* `depth` argument to `Die.reroll()` is now mandatory.
* `tuple` outcomes are now auto-`tupleize`d again during `Die` construction.
* Add `Die.stochastic_round()` method.
* Add `percent` option to `Population.probability` methods.
* Add new `again_count` mode for handling `Again`, which limits the total number of dice.
* Improved ability to `keep` from both ends for certain types of multiset expressions.
* Rename `func` parameters to `function`.
* Experimental `Die.reroll_to_pool()` method.
* Experimental `all_straights_reduce_counts` and `argsort` multiset evaluations.
  • Loading branch information
HighDiceRoller committed Jun 5, 2024
1 parent afd2392 commit 6776216
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## v1.5.0

* Providing only a `drop` argument to `lowest()` or `highest()` will now keep all other elements rather than just the first non-dropped element.
* `depth` argument to `Die.reroll()` is now mandatory.
* `tuple` outcomes are now auto-`tupleize`d again during `Die` construction.
* Add `Die.stochastic_round()` method.
* Add `percent` option to `Population.probability` methods.
* Add new `again_count` mode for handling `Again`, which limits the total number of dice.
* Improved ability to `keep` from both ends for certain types of multiset expressions.
* Rename `func` parameters to `function`.
* Experimental `Die.reroll_to_pool()` method.
* Experimental `all_straights_reduce_counts` and `argsort` multiset evaluations.

## v1.4.0

* Rename `keep_counts` to `keep_counts_ge`. Add `le`, `lt`, `gt`, `eq`, and `ne` variants.
Expand Down
2 changes: 1 addition & 1 deletion src/icepool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

__docformat__ = 'google'

__version__ = '1.4.0'
__version__ = '1.5.0a0'

from typing import Final

Expand Down

0 comments on commit 6776216

Please sign in to comment.