Releases: zhelyabuzhsky/stockfish
Releases · zhelyabuzhsky/stockfish
3.28.0
What's Changed
- Made the SF process exit cleanly by @johndoknjas in #105
- Configured Github Actions to post coverage on external PRs by @kieferro in #106
- Increased coverage with further tests by @kieferro in #107
- Made small changes in the is_fen_valid function by @johndoknjas in #108
Full Changelog: 3.27.0...3.28.0
3.27.0
What's Changed
- Fix of promotion bug by @kieferro in #100
- Added parameter to get_board_visual to see the board from black's point of view by @kieferro in #104
- Added adding test coverage comment to CI by @zhelyabuzhsky in #102
- Added fen validation and misc by @johndoknjas in #101
Full Changelog: 3.26.0...3.27.0
3.26.0
What's Changed
- Put default value for hash back at 16 MB. by @johndoknjas in #96
- Added stockfish engine crash handling by @kieferro in #98
New Contributors
Full Changelog: 3.25.2...3.26.0
3.25.2
What's Changed
- Discarded any remaining _stockfish.stdout lines, if a function is done reading but some lines are left over. Prevented the wdl bug mentioned in issue #92.
- Got rid of '-' chars in the major version, in case there are any.
- Updated the readme with some explanations in the parameters and major version sections.
Great work by @johndoknjas in #93
Full Changelog: 3.24.0...3.25.2
3.24.0
What's Changed
- Added the function that says whether a move will be a direct capture, en passant, or not a capture.
- Added the function that says what's on a given square.
- Added the function allowing the user to update the engine parameters, on an already created Stockfish instance.
- If the user wants to set the elo rating/skill level to a certain value (in a call to either the constructor or the update function above), then also set UCI_LimitStrength to be true/false respectively.
- If the user updates the engine parameters, call the set_position() function again.
- Got rid of some unneeded code for WDL stuff.
- Updated a few default parameters to match with the current stockfish defaults.
- Modified the test_get_evaluation_cp function.
- Updated a few tests to get them to pass with SF 15.
- Used the position mentioned in issue #65 to create a test case for Chess960.
- Added a test for the Stockfish constructor.
Great work done by @johndoknjas in #89
Full Changelog: 3.23.0...3.24.0
3.23.0
What's Changed
- Added
btime
andwtime
options toget_best_move
method by @janfranchini in #85
Full Changelog: 3.22.1...3.23.0
3.22.1
What's Changed
- Modified tests for various SF versions by @johndoknjas in #83
- fixed and improved some tests
- a new method
is_development_build_of_engine
is added to models.py, that determines if the stockfish major version represents a dd/mm/yy date (which is the case if SF is a development build instead of a main release)
Full Changelog: 3.22.0...3.22.1
3.22.0
What's Changed
-
Prevented potential errors with the SF process, and misc. by @johndoknjas in #80
- If the user calls the
__del__
method themselves, this could potentially result in an error, since the OS may call__del__
later. So in each call to__del__
, ensure that self._stockfish is still running (i.e.,= None
). - A check is also implemented in the _put function, such that if self._stockfish isn't running, or if the "quit" command has already been sent to Stockfish, then the stdin.write() and stdin.flush() lines won't be executed.
- Renamed the self.stockfish instance variable to self._stockfish, in order to indicate that it should be treated as private.
- Changed the default search depth from 2 to 15, in case the user doesn't set it themselves. 15 is a good depth value since it's nearly instantaneous while still being fairly strong.
- Added to the example in the readme for creating a Stockfish instance, in order to show how to send all the optional arguments together.
- If the user calls the
-
Fixed README.md by @zhelyabuzhsky in #82
Full Changelog: 3.21.0...3.22.0
3.21.0
What's Changed
- Added getting the WDL stats for a position by @johndoknjas in #77
Full Changelog: 3.20.0...3.21.0
3.20.0
What's Changed
- Added
bench
command (benchmark
method) by @Pavocracy in #75
Full Changelog: 3.19.0...3.20.0