Skip to content

Commit

Permalink
Prepare 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Sep 16, 2022
1 parent 9d68cef commit cb65881
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Changelog for python-chess
==========================

New in v1.9.3
-------------

Bugfixes:

* Fix some valid characters were not accepted in PGN tag names.

Changes:

* Skip over syntactically invalid PGN tags.
* Detect Antichess insufficient material with two opposing knights.

New features:

* Add `chess.Board.unicode(..., orientation=chess.WHITE)`.

New in v1.9.2
-------------

Expand Down
4 changes: 2 additions & 2 deletions 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.9.2"
__version__ = "1.9.3"

import collections
import copy
Expand Down Expand Up @@ -1221,7 +1221,7 @@ def __str__(self) -> str:

return "".join(builder)

def unicode(self, *, invert_color: bool = False, borders: bool = False, empty_square: str = "⭘", orientation:Color = WHITE) -> str:
def unicode(self, *, invert_color: bool = False, borders: bool = False, empty_square: str = "⭘", orientation: Color = WHITE) -> str:
"""
Returns a string representation of the board with Unicode pieces.
Useful for pretty-printing to a terminal.
Expand Down

0 comments on commit cb65881

Please sign in to comment.