Skip to content

Tags: jnavila/python-chess

Tags

v0.11.1

Toggle v0.11.1's commit message

Verified

This tag was signed with the committer’s verified signature.
niklasf Niklas Fiekas
python-chess v0.11.1

Bugfixes:

* `syzygy.Tablebases.probe_dtz()` has was giving wrong results for some
  positions with possible en passant capturing. This was found and fixed
  upstream: official-stockfish/Stockfish#394.

* Ignore extra spaces in UCI `info` lines, as for example sent by the
  Hakkapeliitta engine. Thanks to Jürgen Précour for reporting

v0.11.0

Toggle v0.11.0's commit message

Verified

This tag was signed with the committer’s verified signature.
niklasf Niklas Fiekas
python-chess v0.11.0

Changes:

* **Chess960** support and the **representation of castling moves** has been
  changed.

  The constructor of board has a new `chess960` argument, defaulting to
  `False`: `Board(fen=STARTING_FEN, chess960=False)`. That property is
  available as `Board.chess960`.

  In Chess960 mode the behaviour is as in the previous release. Castling moves
  are represented as a king move to the corresponding rook square.

  In the default standard chess mode castling moves are represented with
  the standard UCI notation, e.g. `e1g1` for king-side castling.

  `Board.uci(move, chess960=None)` creates UCI representations for moves.
  Unlike `Move.uci()` it can convert them in the context of the current
  position.

  `Board.has_chess960_castling_rights()` has been added to test for castling
  rights that are impossible in standard chess.

  The modules `chess.polyglot`, `chess.pgn` and `chess.uci` will transparently
  handle both modes.

* In a previous release `Board.fen()` has been changed to only display an
  en passant square if a legal en passant move is indeed possible. This has
  now also been adapted for `Board.shredder_fen()` and `Board.epd()`.

New features:

* Get individual FEN components: `Board.board_fen()`, `Board.castling_xfen()`,
  `Board.castling_shredder_fen()`.

* Use `Board.has_legal_en_passant()` to test if a position has a legal
  en passant move.

* Make `repr(board.legal_moves)` human readable.

v0.10.1

Toggle v0.10.1's commit message

Verified

This tag was signed with the committer’s verified signature.
niklasf Niklas Fiekas
python-chess v0.10.1

Bugfixes:

* Fix use-after-free in Gaviota tablebase initialization.

v0.10.0

Toggle v0.10.0's commit message
Prepare release of v0.10.0

v0.9.1

Toggle v0.9.1's commit message
Prepare release of 0.9.1

v0.8.3

Toggle v0.8.3's commit message
Prepare release of 0.8.3

v0.9.0

Toggle v0.9.0's commit message
Prepare release of 0.9.0

v0.8.2

Toggle v0.8.2's commit message
Bump version to 0.8.2

v0.8.1

Toggle v0.8.1's commit message
Explicitly test Python 3.2 and Python 3.3

v0.8.0

Toggle v0.8.0's commit message
Do not clean-up after spur