Skip to content

Commit

Permalink
release v0.9.14
Browse files Browse the repository at this point in the history
  • Loading branch information
tias committed May 19, 2023
1 parent b6570ff commit 02bdcc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change log

## 0.9.14
Hotfix release

Our builtin-overwrites 'any' and 'all' returned BoolVal's, and they did not yet have a `__bool__()` property so they would be correctly evaluated when used in 'if' functions and other standard python contexts. This can easily break user code that uses `any` or `all` when doing 'from cpmpy import \*'.

Unfortunately we merged the BoolVal branch with the above behaviour, even though we had a version that fixed it, but this was not yet pushed to the branch.

* This hotfix release fixes it so that `any` and `all` return standard Booleans again (and BoolVal has a `__bool__()` also).

* We also include a small fix to make the Inverse global constraint decomposition work for non-variable arrays too.


## 0.9.13
Solid progress release.

Expand Down
2 changes: 1 addition & 1 deletion cpmpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""
# Tias Guns, 2019-2023

__version__ = "0.9.13"
__version__ = "0.9.14"


from .expressions import *
Expand Down

0 comments on commit 02bdcc3

Please sign in to comment.