- revert style export changes
- fix style export in package.json (#239)
- fix putPiece with movable set to free from jumping back to previous position (#236)
- fixed promotion dialog with multiple board instances (#233)
- documentation has been removed from the main repo and moved to vue3-chessboard-docs (#235)
- fix resetBoard() method when a piece is selected(#221)
- update chessground to latest version (#219)
- fixed config option
movable.free = true
, not being able to make moves after the first one (promotions are still buggy in this mode)
reactive-config
- the board config object can now be made reactive (#190) @gavin-lb. Please visit the documentation for more information.history-viewer
- the board component now contains a history viewer (#200) @gavin-lb. Please visit the documentation for more information.
boardAPI
- the board api should not be used with a ref, as shown in earlier versions in the documentation. Please refer to the new documentation. Since using a ref can cause performance issues.
- new getIsCheck() method (9b9a4ac)
- fix legal move overwrite after setting the player color (28448be) @ddbogdanov
- emit move event after check and checkmate (b437455)
- fix config merge when player color is set (9b9a4ac)
- fix captured pawn visible after en passant with move method (cd64742)
- fix clearBord() method not working (9b9a4ac)
- updated dependencies
- added more test cases (9b9a4ac)
- multiplayer support through setting the player color as a prop to the board component (841dfac) @ddbogdanov
- update all dependencies
- emit check event on pgn load when in check (1c9cebf)
- remove event data from draw and stalemate events
- update foreach to for of loop
- improve coordinates
- if you are using TypeScript you need to change the type import "ChessboardAPI" to "BoardApi" (fbcd3c9)
- export all available types from the library (b4d1315)
- reduced bundle size (787c87e)
- added new move event (41bff37)
- fixed bug in inital fen (b272ec7)
- dependency version updates
v1.0.0. includes some breaking changes. Only breaking changes will be listed here. Refer to the new documentation to update your app to v1.0.0
- callback functions as props have been removed. Take a look at the documentation to see how to register callbacks in v1.0.0.
- board and game from the boardAPI have been made private. You need to use the corresponding method to achieve the same result. Visit the docs to get an overview of all available methods.
- If you encounter any issues visit the docs or open an issue.
- board: fix coordinates when board orientation is toggled (85ec6d5)
- board: remove duplicate styles (85ec6d5)
- implement new tsconfig structure & update testing suite/ci (6a4c2be)
- add html and App.vue for local testing (34fb7f0)
- board: fix undo while promoting (90c36de)
- board: fix reselect of pieces (9dde375)
- board: fix undo not being animated (09c888c)
- board: add callback functions for piece select and after move as props to board component (d6dc946)
- boardAPI: add method getOpeningName() to retrieve opening name for the current position from lichess api (d8457c5)
- boardAPI: add method getOpeningDescription() to retrieve opening description for the current position from wikibooks.org api (d8457c5)
- boardAPI: add makeMove() method to make a move programmatically on the board (8215b15), closes #18
- setup vitest and added some tests
- setup github actions for pull requests (runs type check, build, eslint and tests)
- code base cleaned up
- pinia is no longer required, it wasn't used extensivly and added unnecessary bloat (9a177c2)