Breaking Changes
- Restructure the project & public API clarification from code by @ItsDrike in #1103
- This changes a lot of file paths and class names within mcstatus, you might see deprecation warnings if importing certain objects from the old paths.
- We also better clarify what is and what is not a part of the public API, no deprecations will be provided for things that we do not consider as public API, so you might face full import errors if you were using these, they will now live under
_prefixed symbols. - Specifically:
mcstatus.status_response->mcstatus.responses(which is also further divided into submodules, but you can import frommcstatus.responsesdirectly too through re-exports)mcstatus.forge_data->mcstatus.responses.forge(or the re-exports inmcstatus.responses)mcstatus.bedrock_status,mcstatus.pinger,mcstatus.legacy_status,mcstatus.querier-> considered private APImcstatus.protocol,mcstatus.address,mcstatus.dns-> considered private APImcstatus.motd.transformers,mcstatus.motd.simplifies-> considered private API- The typed dict definitions in
mcstatus.status_responseandmcstatus.forge_data-> considered private API
- CLI: use
StatusResponse.as_dict()in JSON command by @PerchunPak in #1102- This changes the JSON output of mcstatus CLI in an incompatible way, people relying on certain field names / value types might face breakages. The breaking changes only affect
queryresponses. - The following has changed specifically in the query response JSON:
- The
mapkey was renamed tomap_name - The
portvalue is now a JSON number type, not a string - New fields:
motd,game_id,game_type,players, andsoftwarewere added
- The
- This changes the JSON output of mcstatus CLI in an incompatible way, people relying on certain field names / value types might face breakages. The breaking changes only affect
Features / Improvements
- Support for Beta 1.8 to 1.3 servers by @will0hlep in #1117
- CLI: improve how player sample is displayed by @PerchunPak in #1121
Other changes
- Enable more ruff rules by @PerchunPak in #1110
- Fix CI status badge in README by @PerchunPak in #1119
- Add tests for
LegacyClient.parse_responseby @PerchunPak in #1120 - Improve coverage by @PerchunPak in #1122
New Contributors
- @will0hlep made their first contribution in #1117
Full Changelog: v12.2.1...v13.0.0