Skip to content

Commit 2dcc8ab

Browse files
committed
Prepare 1.6.0
1 parent 6d36418 commit 2dcc8ab

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

CHANGELOG.rst

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

4+
New in v1.6.0
5+
-------------
6+
7+
New features:
8+
9+
* Allow offering a draw to XBoard engines using
10+
``chess.engine.Protocol.play(..., draw_offered=True)``.
11+
* Now detects insufficient material in Horde. Thanks @stevepapazis!
12+
13+
Changes:
14+
15+
* ``chess.engine.popen_engine(..., setpgrp=True)`` on Windows now merges
16+
``CREATE_NEW_PROCESS_GROUP`` into ``creationflags`` instead of overriding.
17+
On Unix it now uses ``start_new_session`` instead of calling ``setpgrp`` in
18+
``preexec_fn``.
19+
* Declare that ``chess.svg`` produces SVG Tiny 1.2, and prepare SVG 2 forwards
20+
compatibility.
21+
22+
Bugfixes:
23+
24+
* Fix slightly off-center pawns in ``chess.svg``.
25+
* Fix typing error in Python 3.10 (due to added ``int.bit_count``).
26+
427
New in v1.5.0
528
-------------
629

chess/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
__email__ = "niklas.fiekas@backscattering.de"
2929

30-
__version__ = "1.5.0"
30+
__version__ = "1.6.0"
3131

3232
import collections
3333
import copy

release.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def check_git():
2525
print(f"master is {behind} commit(s) behind origin/master")
2626
sys.exit(1)
2727

28+
2829
def test():
2930
print("--- TEST ---------------------------------------------------------")
3031
system("tox --skip-missing-interpreters")

0 commit comments

Comments
 (0)