v1.0.0-beta.7
Pre-release
Pre-release
Breaking Changes
These two changes only impact users that retain PGN headers when calling .clear
or .load
.
clear(true)
should now be written asclear({ preserveHeader: true })
load(myFen, true)
should now be written asload(myFen, { preserveHeader: true })
Enhancements
- Add check for invalid pawn placement in validateFen (@Manukyanq - #412)
- Update castling rights and en passant square in
.put()
(@gavin-lb - 55181a9) - Add
skipValidation
option to.load
(@jhlywa - e2ff91c)
Bug Fixes
- Fix README shield links (@JamJomJim - #416)
- Fix three-fold repetition to only return true if the immediate position has been repeated 3 times (@gavin-lb - #144)
- Update internal king cache when overwriting the king via
put()
(@Manukyanq #426) - Always clear Setup and FEN when calling .clear() (@jhlywa - be03fe0)