Socha

Latest version: v3.2.1

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

Scan your dependencies

Page 4 of 7

1.0.8

What's Changed
**General Changes:**

- Refactored typos and improved code readability by jnccd in https://github.com/maxblan/socha-python-client/pull/30 and by maxblan in https://github.com/maxblan/socha-python-client/pull/32.

**Code Organization and Structure:**

- Added dataclasses for Field and Board classes in `socha/api/plugin/penguins/board.py`, providing more concise and readable code, as well as immutability and hashability for game logic.
- Replaced some method names with more descriptive ones and removed unnecessary comments and type hints for constructor parameters.
- Added dataclasses to the coordinate module to simplify the implementation of Vector, CartesianCoordinate, and HexCoordinate classes.
- Modified Vector, Coordinate, CartesianCoordinate, and HexCoordinate classes to use the `dataclass` decorator and define attributes in the class header. Removed `__init__`, `__repr__`, and `__eq__` methods from these classes.
- Added dataclass for GameState.
- Added several dataclasses for the XML protocol to support administration.
- Added a super class.
- Adjusted tests for new dataclasses.

**Headless Mode and Administrator Activities:**

- Added feature for headless running and administrator activities.
- Added configurations to Starter for headless and administrator mode.
- Added log levels and verbose option to `socha`.

**Bug Fixes:**

- Fixed a bug where the main logic was not being copied.
- Fixed a bug that caused infinite copying.

**Documentation and Miscellaneous:**

- Added code of conduct by maxblan in https://github.com/maxblan/socha-python-client/pull/23.
- Added new contribution guidelines by maxblan in https://github.com/maxblan/socha-python-client/pull/22.
- Cleanup by maxblan in https://github.com/maxblan/socha-python-client/pull/31.

**Full Changelog**: https://github.com/maxblan/socha-python-client/compare/v1.0.7...v1.0.8

1.0.7

What's Changed
* fix(package builder): error with compressing the package by maxblan in https://github.com/maxblan/socha-python-client/pull/29


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.6...v1.0.7

1.0.6

What's Changed
* Improved package builder. It now recognises all imported modules and creates its own build directory.

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.5...v1.0.6

1.0.5

What's Changed
* fix(game state): error that caused the opponent not updating by FalconsSky in https://github.com/FalconsSky/socha-python-client/pull/27


**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.4...v1.0.5

1.0.4

What's Changed

Added

- Added test for game state.

Fixed

- Fixed imports in test.
- make `team_enum` optional by jnccd in https://github.com/FalconsSky/socha-python-client/pull/24

Improved

- Split up `penguin` classes into separate files.
- Improved copying of objects for `penguin` which now works almost twice as fast.

Changed

- Fixed a problem in `package_builder` which is why it was copying the newly created folder again.

Removed

- Removed `setup` because it was redundant.

Other

- Manually garbage collected after object handling in `game client`.
- Added check for the current team in `starter`.
- Adjusted test for new pattern in `perform_move`.

New Contributors
* jnccd made their first contribution in https://github.com/FalconsSky/socha-python-client/pull/24

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.3...v1.0.4

1.0.3

What's Changed
- fix(package builder): builder copies now script files and empty directories

- fix(reservation): error that occurred when the user tried to join with reservation code

**Full Changelog**: https://github.com/FalconsSky/socha-python-client/compare/v1.0.2...v1.0.3

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.