Skip to content

Commit

Permalink
Prepare 0.27.3
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Mar 21, 2019
1 parent 5a3dffb commit e853203
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -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
--------------

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.27.2"
__version__ = "0.27.3"

import collections
import collections.abc
Expand Down

0 comments on commit e853203

Please sign in to comment.