From e85320373bfbfbfb23205d1945c81ec8926c4132 Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Thu, 21 Mar 2019 11:24:12 +0100 Subject: [PATCH] Prepare 0.27.3 --- CHANGELOG.rst | 29 +++++++++++++++++++++++++++++ chess/__init__.py | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ff879cf4f..6d12615c9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,35 @@ Changelog for python-chess ========================== +New in v0.27.3 +-------------- + +Changes: + +* `XBoardProtocol` will no longer raise an exception when the engine resigned. + Instead it sets a new flag `PlayResult.resigned`. `resigned` and + `draw_offered` are keyword-only arguments. +* Renamed `chess.pgn.{Game,Header,Board}Creator` to + `{Game,Headers,Board}Builder`. Aliases kept in place. + +Bugfixes: + +* Make `XBoardProtocol` robust against engines that send a move after claiming + a draw or resigning. Thanks @pascalgeo. +* `XBoardProtocol` no longer ignores `Hint:` sent by the engine. +* Fix handling of illegal moves in `XBoardProtocol`. +* Fix exception when engine is shut down while pondering. +* Fix unhandled internal exception and file descriptor leak when engine + initialization fails. +* Fix `HordeBoard.status()` when black pieces are on the first rank. + Thanks @Wisling. + +New features: + +* Added `chess.pgn.Game.builder()`, `chess.pgn.Headers.builder()` and + `chess.pgn.GameNode.dangling_node()` to simplify subclassing `GameNode`. +* `EngineProtocol.communicate()` is now also available in the synchronous API. + New in v0.27.2 -------------- diff --git a/chess/__init__.py b/chess/__init__.py index 8c0cc0628..10448c407 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -26,7 +26,7 @@ __email__ = "niklas.fiekas@backscattering.de" -__version__ = "0.27.2" +__version__ = "0.27.3" import collections import collections.abc