Skip to content

Commit 30ac7f0

Browse files
committed
Prepare changelog and tweak engine docs
1 parent d879a58 commit 30ac7f0

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

CHANGELOG.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
Changelog for python-chess
22
==========================
33

4+
Upcoming in the next release
5+
----------------------------
6+
7+
Changes:
8+
9+
* `chess.variant.GiveawayBoard` **now starts with castling rights**.
10+
`chess.variant.AntichessBoard` is the same variant without castling rights.
11+
* UCI info parser no longer reports errors when encountering unknown tokens.
12+
* Performance improvements for repetition detection.
13+
* Since Python 3.8: `chess.syzygy`/`chess.polyglot` use `madvise(MADV_RANDOM)`
14+
to prepare table/book files for random access.
15+
16+
Bugfixes:
17+
18+
* Fix syntax error in type annotation of `chess.engine.run_in_background()`.
19+
* Fix castling rights when king is exploded in Atomic. Mitigated by the fact
20+
that the game is over and that it did not affect FEN.
21+
* Fix insufficient material with underpromoted pieces in Crazyhouse. Mitigated
22+
by the fact that affected positions are unreachable in Crazyhouse.
23+
24+
Features:
25+
26+
* Support `wdl` in UCI info (usually activated with `UCI_ShowWDL`).
27+
428
New in v0.28.3
529
--------------
630

docs/engine.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ implements an abstraction for playing moves and analysing positions with
66
both kinds of engines.
77

88
The preferred way to use the API is with an
9-
`asyncio <https://docs.python.org/3/library/asyncio.html>`_ event loop.
9+
`asyncio <https://docs.python.org/3/library/asyncio.html>`_ event loop
10+
(examples show usage with Python 3.7 or later).
1011
The examples also show a synchronous wrapper
1112
:class:`~chess.engine.SimpleEngine` that automatically spawns an event loop
1213
in the background.
@@ -111,8 +112,8 @@ Example: Let Stockfish play against itself, 100 milliseconds per move.
111112
``depth``, ``seldepth``, ``time`` (in seconds), ``nodes``, ``nps``,
112113
``tbhits``, ``multipv``.
113114

114-
Others: ``currmove``, ``currmovenumber``, ``hashfull``,
115-
``cpuload``, ``refutation``, ``currline``, ``ebf`` and ``string``.
115+
Others: ``currmove``, ``currmovenumber``, ``hashfull``, ``cpuload``,
116+
``refutation``, ``currline``, ``ebf``, ``wdl``, and ``string``.
116117

117118
.. py:attribute:: draw_offered
118119

0 commit comments

Comments
 (0)