From 67762167344559b8597324f56b6d93b19ac67dc0 Mon Sep 17 00:00:00 2001 From: Albert Julius Liu Date: Wed, 5 Jun 2024 01:35:50 -0700 Subject: [PATCH] v1.5.0a0 * 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. --- CHANGELOG.md | 13 +++++++++++++ src/icepool/__init__.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab4b7cd6..dc4dc681 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/src/icepool/__init__.py b/src/icepool/__init__.py index 915acde3..4a3cb860 100644 --- a/src/icepool/__init__.py +++ b/src/icepool/__init__.py @@ -19,7 +19,7 @@ __docformat__ = 'google' -__version__ = '1.4.0' +__version__ = '1.5.0a0' from typing import Final