Skip to content

Commit

Permalink
Prepare v0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Nov 20, 2017
1 parent 814f0d0 commit bea1e9b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Changelog for python-chess
==========================

New in v0.22.0
--------------

Changes:

* `len(board.legal_moves)` **replaced by** `board.legal_moves.count()`.
Previously `list(board.legal_moves)` was generating moves twice, resulting in
a considerable slowdown. Thanks to Martin C. Doege for reporting.
* XBoard: `offer_draw` renamed to `draw`.

New features:

* XBoard: Added `DrawHandler`.

New in v0.21.2
--------------

Expand Down
2 changes: 1 addition & 1 deletion chess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

__email__ = "[email protected]"

__version__ = "0.21.2"
__version__ = "0.22.0"

import collections
import copy
Expand Down

0 comments on commit bea1e9b

Please sign in to comment.