- Fixes castling rights parsing from FEN.
- The FEN parser and writer now preserve syntactically valid castling rights even if there is no matching rook or king. Rename
unmovedRooks
tocastlingRights
.
- Fixes bugs in the PGN parser.
PieceKind
is now an enum.
Square
is now an extension type.- Introduce
File
andRank
types.
- Fix
Position.isLegal
that was generating illegal king moves. - Fix
Position.normalizeMove
that could turn an illegal move into a legal castling move.
- Add Piece.kind, Role.letter and Role.uppercaseLetter getters.
- Migrate SquareSet to an extension type.
- Upgrade fast_immutable_collections to version 10.0.0.
- Rename Rules to Rule and add rule getter to Position
- Fix parsing PGN from smartchess
- Add new
ply
getter toPosition
PgnNodeData
is no longer specified as immutable- Make
PgnComment
really immutable
- Add
PgnNodeData
as a bound toPgnNode
generic type parameter
- rename
Headers
toPgnHeaders
for consistency PgnGame
isn't a const constructor anymore- tweak
parseMultiGamePgn
signature for consistency
- add
makeSan
andmakeSanUnchecked
methods to thePosition
class. toSan
andplayToSan
are now deprecated.
- Initial version.