Stockfish

Latest version: v3.28.0

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

3.22.1

What's Changed
* Modified tests for various SF versions by johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/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**: https://github.com/zhelyabuzhsky/stockfish/compare/3.22.0...3.22.1

3.22.0

What's Changed
* Prevented potential errors with the SF process, and misc. by johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/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.

* Fixed README.md by zhelyabuzhsky in https://github.com/zhelyabuzhsky/stockfish/pull/82


**Full Changelog**: https://github.com/zhelyabuzhsky/stockfish/compare/3.21.0...3.22.0

3.21.0

What's Changed
* Added getting the WDL stats for a position by johndoknjas in https://github.com/zhelyabuzhsky/stockfish/pull/77


**Full Changelog**: https://github.com/zhelyabuzhsky/stockfish/compare/3.20.0...3.21.0

3.20.0

What's Changed
* Added `bench` command (`benchmark` method) by Pavocracy in https://github.com/zhelyabuzhsky/stockfish/pull/75


**Full Changelog**: https://github.com/zhelyabuzhsky/stockfish/compare/3.19.0...3.20.0

3.19.0

* dropped support of python 3.6

3.18.0

* added column labels in get_board_visual (thank you, JanFranchini)

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.