Skip to content

python-chess v0.31.4

Compare
Choose a tag to compare
@niklasf niklasf released this 09 Aug 11:46
· 734 commits to master since this release
v0.31.4
Bugfixes:

* Fix inconsistency where `board.is_legal()` was not accepting castling moves
  in Chess960 notation (when board is in standard mode), while all other
  methods did.
* Fix `chess.pgn.GameNode.set_clock()` with negative or floating point values.
* Avoid leading and trailing spaces in PGN comments when setting annotations.

New features:

* Finish typing and declare support for mypy.