From 91d431c0d9114ba7f9ecb9fa29fc66ab334b345f Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Sun, 9 Aug 2020 13:42:58 +0200 Subject: [PATCH] Prepare 0.31.4 --- CHANGELOG.rst | 15 +++++++++++++++ chess/__init__.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 428423d56..bb99529cd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,21 @@ Changelog for python-chess ========================== +New in 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. + New in v0.31.3 -------------- diff --git a/chess/__init__.py b/chess/__init__.py index 807353afc..2efe2b3b0 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -24,7 +24,7 @@ __email__ = "niklas.fiekas@backscattering.de" -__version__ = "0.31.3" +__version__ = "0.31.4" import collections import copy