Skip to content

Releases: OwenCochell/mctools

1.4.1

02 Sep 22:44

Choose a tag to compare

This release adds some minor fixes to the async clients

Once again, special thanks to ciherrera20 for these fixes!

Bug Fixes

  • Added better error handling in protocol objects
  • Protocol objects will not close the socket if not connected
  • Added parent method calls and made the order of these calls more consistent
  • Added missing timeout parameter in protocol objects

1.4.0

24 Aug 21:33

Choose a tag to compare

This release adds async clients that can be utilized in asyncio event loops.

Special thanks to ciherrera20 for developing these components!

Added

  • Added async clients for RCON, QUERY, and PING operations
  • Added async protocol objects, which should lead to improved performance in asyncio loops
  • Documentation changes regarding the async clients

1.3.0

11 Mar 00:29

Choose a tag to compare

This release contains some minor redesigns and bugfixes.

Bug Fixes

  • Removes an unnecessary ping operation when doing a ping request without asking for stats.
  • Removed a lot of bug prone behavior from the decoders and clients

Added

  • LOTS of typing additions! These are added using the python typing system, as well as via docstrings.
    Most of these changes are applied to internal components, as the high-level
    user facing methods were already mostly-typed.

  • Added some unit tests for decoders, tests for other components will be added at a later date!

Changed

  • PINGPackets, QUERYPackets, and some RCONPackets now determine state by using ints and globally defined values,
    which should be slightly faster and should reduce the risk of bugs where packet
    types differ across the codebase.

  • Many changes to make the codebase more clear and less bug prone.

  • Project now has a pyproject.toml file which is used for tool configuration and building.

  • Moved changelog from README.md to CHANGELOG.md

1.2.2

04 May 21:54

Choose a tag to compare

Removed some debugging print statements.

1.2.1

08 Apr 20:10

Choose a tag to compare

We now correctly disable length checking in RCONClient if specified by the user.

The 'set_timeout()' method in BaseProtocol will now work correctly even if the protocol object is not started.
This change applies to all clients, as they all use this method.

Added a 'DEFAULT_TIMEOUT' constant and moved some protocol attributes to BaseProtocol to prevent redundancy.
Protocol objects now inits the parent BaseProtocol object.

Fixed some spelling errors, added more type hinting, made some more minor changes to the documentation.

1.2.0

16 Aug 01:43
a0be34c

Choose a tag to compare

Clients (of any type!) can now be started after being stopped, so creating a new client after stopping it is no longer necessary.

The PINGClient will now auto stop itself after each operation.

Fixed a bug where the QUERYClient did not auto-start itself.

The documentation was updated to reflect these changes, and it now explains stopping/starting clients a lot better.

1.1.2 Release

09 Jun 01:51

Choose a tag to compare

Fixed an issue where outgoing packet size check does not correctly identify when packets are too big

1.1.1 Release

27 Apr 03:43

Choose a tag to compare

Fixed a minor bug where the clients will hang if the remote host closes the connection.

1.1.0 Release

09 Sep 16:21

Choose a tag to compare

Release for mctools version 1.1.0. This release contains the wheel and source distribution for mctools, as well as an executable for mcli, built using pyinstaller.

mctools 1.0.0

09 Jul 00:24

Choose a tag to compare

Release for mctools version 1.0.0. This release contains the wheel and source distribution for mctools, as well as an executable for mcli, built using pyinstaller.