Skip to content

Commit

Permalink
Prepare 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Jun 11, 2021
1 parent 6d36418 commit 2dcc8ab
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
Changelog for python-chess
==========================

New in v1.6.0
-------------

New features:

* Allow offering a draw to XBoard engines using
``chess.engine.Protocol.play(..., draw_offered=True)``.
* Now detects insufficient material in Horde. Thanks @stevepapazis!

Changes:

* ``chess.engine.popen_engine(..., setpgrp=True)`` on Windows now merges
``CREATE_NEW_PROCESS_GROUP`` into ``creationflags`` instead of overriding.
On Unix it now uses ``start_new_session`` instead of calling ``setpgrp`` in
``preexec_fn``.
* Declare that ``chess.svg`` produces SVG Tiny 1.2, and prepare SVG 2 forwards
compatibility.

Bugfixes:

* Fix slightly off-center pawns in ``chess.svg``.
* Fix typing error in Python 3.10 (due to added ``int.bit_count``).

New in v1.5.0
-------------

Expand Down
2 changes: 1 addition & 1 deletion chess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

__email__ = "niklas.fiekas@backscattering.de"

__version__ = "1.5.0"
__version__ = "1.6.0"

import collections
import copy
Expand Down
1 change: 1 addition & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def check_git():
print(f"master is {behind} commit(s) behind origin/master")
sys.exit(1)


def test():
print("--- TEST ---------------------------------------------------------")
system("tox --skip-missing-interpreters")
Expand Down

0 comments on commit 2dcc8ab

Please sign in to comment.