Skip to content

0.15.0

Compare
Choose a tag to compare
@dktapps dktapps released this 13 Feb 13:07
· 26 commits to stable since this release
1f490cf

Changes since 0.14.x

This release modernizes the code to PHP 8.0 standards, and improves some internal structure to open the gates for future extension.
No significant changes have been made, and the API is mostly the same as 0.14.

API

  • Use typed properties and promoted properties wherever possible
  • Extracted generic session logic into raklib\generic\Session
  • raklib\server\Session is replaced by a much smaller raklib\server\ServerSession - it inherits most of its logic from generic\Session
  • Added specialized client\ClientSocket and server\ServerSocket with different functionality for each use case
  • isTemporal renamed to isTemporary wherever appropriate
  • Added DisconnectReason constants. All disconnect APIs now use these instead of hardcoded string messages.

Tools

  • Added new scripts:
    • tools/scan.php to scan for servers on a given broadcast address
    • tools/proxy.php to set up a simple tunnel between a client and server (useful for getting a Windows Minecraft client onto a WSL BDS instance)