Releases: notnil/chess
Bug Fixes and Minor Updates
Image Improvements and Bug Fix
- #103 Accessors for HalfMoveClock() and EnPassantSquare() from @bbars
- #101 issue resolved by adding support for image generation from Black's perspective @aimerneige
- #108 resolved an issue w/ the Half Clock being computed in correcting after castling from @farouk-chessly
Move History Added
- Fixes feature request #88 by adding Move History
- Fixes issues with openings datasource by switching to the lichens repo (thanks Lichess!)
Fix for Comments in NewGame
Comments weren't being copied when reading PGNs in NewGame (they worked via Scanner)
PGN Comments Write Bug Fix
Closes #95 which showed that comments were being read, but not written to output PGN text.
PGN Parsing Bug Fix
A bug fix from @sumnerevans fixing a bug with PGN parsing and closing #90
Enhanced PGN Parser Flexibility
Special thanks to @sumnerevans for enhancing the PGN parsing experience my making the parser more flexible closing several issues:
Comments Support
This release adds comments to the PGN parsing capabilities. This was inspired by the need to parse Stockfish evaluation values out of the Lichess Database. There is also some minor updates to tests and hash function.
Position Binary Marshaler
Positions can be be serialized and deserialized in binary.
PGN Scanner, UCI Notation Fix
Special thanks to @AubreySLavigne for finding the issue with Long Algebraic Notation. Long Algebraic Notation was actually encoding and decoding in UCI notation. To fix this a new UCI notation was created and Long Algebraic Notation was corrected. This can break some clients if you depended on the broken behavior.
A new type Scanner replaces GamesFromPGN to handle large database files that can't fit all games into memory.