Releases: py-mine/mcstatus
v12.0.2
What's Changed
- Move
typing_extensions
totyping.TYPE_CHECKING
block in main.py by @PerchunPak in #1018 - Bump version to v12.0.2 by @PerchunPak in #1019
Full Changelog: v12.0.1...v12.0.2
v12.0.1
What's Changed
- Use query_port in async_query() calls by @yousefalshaikh17 in #1009
- Don't use deprecated properties in our CLI by @PerchunPak in #1010
New Contributors
- @yousefalshaikh17 made their first contribution in #1009
Full Changelog: v12.0.0...v12.0.1
v12.0.0
Breaking changes
-
Rewrite Query response class to #306 style by @PerchunPak in #536
We've completely rewritten the query response class to match #306 style, check out the docs for more information:
https://mcstatus.readthedocs.io/en/stable/api/basic/#mcstatus.responses.QueryResponse -
Remove deprecated code by @RainerZufall187 in #682
-
Make all our dataclasses frozen by @PerchunPak in #743
-
Rename
status_response.py
toresponses.py
by @PerchunPak in #687 -
Migrate from poetry & tox to uv by @ItsDrike in #950
This should not impact our usual users, but can be a breaking change for anyone who packages our software.
New features
-
Implement Forge Data Decoder by @CoolCat467 in #578
-
Bedrock support in the CLI and misc improvements by @katrinafyi in #849
-
Accept tries counter for query functions by @kevinkjt2000 in #633
-
Add
as_dict
to responses by @PerchunPak in #861 and #1003 -
Add query_port to JavaServer init by @kevinkjt2000 in #1001
You can now set a port for status and a port for query in the same instance of
JavaServer
!
Bug fixes
- Handle missing MOTD by @PerchunPak in #993
- Fix showing motd in JSON representation (cli) by @ItsDrike in #826
- Use search suffixes properly in DNS logic by @katrinafyi in #858
- Enable TCP_NODELAY for
TCPAsyncSocketConnection
by @Fallen-Breath in #966
Small improvements
- README: add Contributing section by @katrinafyi in #851
- Fix #850 with doc expectations by @kevinkjt2000 in #1002
This excludes a lot of improvements to the internal developing process.
New Contributors
- @RainerZufall187 made their first contribution in #682
- @katrinafyi made their first contribution in #851
- @Fallen-Breath made their first contribution in #966
Full Changelog: v11.1.1...v12.0.0
v11.1.1
What's Changed
Fixed
- Allow strings in extra Motd by @PerchunPak in #715
- Transform MOTD to string in FAQ example by @PerchunPak in #681
Internal
- Update pre-commit hooks by @CoolCat467 in #690
- Enable pre-commit.ci and enable config file sorting by @CoolCat467 in #697
Full Changelog: v11.1.0...v11.1.1
v11.1.0
What's Changed
Added
- Support Python 3.12 by @PerchunPak in #647
- Add enforces_secure_chat to JavaStatusResponse by @Nixuge in #675, #678
Changed
- Raise warning when resolving
localhost
IP on MacOS by @PerchunPak in #620
Because of some mysterious reasons, we can't resolve localhost into IP. Please, replace 'localhost' with '127.0.0.1' (or '::1' for IPv6) in your code to remove the warning. - Improve MOTD simplifies by @PerchunPak in #638
Internal
- Fix py-mine's logo on pypi by @PerchunPak in #612
- Update Minecraft Wiki links to new domain after fork by @misode in #641
- Use default bump strategy for dependabot by @PerchunPak in #585
New Contributors
Full Changelog: v11.0.1...v11.1.0
v11.0.1
What's Changed
- Implement reading and writing boolean values by @CoolCat467 in #555
- Move zeros in the packet to follow documentation update by @DAMcraft in #576
- Create publish action by @kevinkjt2000 in #571
- Prepare pyproject.toml with dynamic version by @kevinkjt2000 in #581
- Fix server icon saving example by @ItsDrike in #591
- Replace flake8 with ruff linter by @ItsDrike in #590
- Move to PyPI Trusted Publisher Management by @ItsDrike in #603
- Fix
translate
field name confusion by @PerchunPak in #608 - Fix poetry-dynamic-versioning for PEP 517 builds by @tjni in #609
New Contributors
Full Changelog: v11.0.0...v11.0.1
v11.0.0
Major Changes
Thanks to significant contributions from the community, mcstatus has a major release with substantial documentation improvements. Major thanks to @PerchunPak, @ItsDrike, people who provided feedback, and anyone else mentioned below! Check out the stable docs here https://mcstatus.readthedocs.io/en/stable/
What's Changed
- Move zeros in the packet to follow documentation update @DAMcraft #576
- Adjust deprecation dates by @kevinkjt2000 in #531
- Remove dead code from complex testing system by @PerchunPak in #535
- Test JavaStatusResponse.raw too by @PerchunPak in #537
- Ignore exceptions on socket close by @PerchunPak in #540
- Update and unpin some dependencies by @PerchunPak in #550
- Mark
MCServer
as Public API by @PerchunPak in #455 - Ignore all .coverage files by @kevinkjt2000 in #452
- Add
pytest-rerunfailures
by @PerchunPak in #461 - Rework docstrings to the Sphinx style by @PerchunPak in #458
- Rewrite answer objects by @PerchunPak in #306
- Sphinx docs by @PerchunPak in #477
- Fix documentation by @PerchunPak in #484
- Use faster ItsDrike/setup-poetry in favor of HassanAbouelela/actions/setup-python by @ItsDrike in #487
- Add FAQ to docs by @PerchunPak in #504
- Fix typo with old attributes' names in README by @PerchunPak in #514
- Deprecate
favicon
attribute properly by @PerchunPak in #513 - Raise better error if server doesn't return a full answer by @PerchunPak in #512
- Remove the type validation system in status responses by @PerchunPak in #515
- Add example "Using platform-specific attribute on multi-platform status" by @PerchunPak in #505
- Use
increase-if-necessary
strategy for dependabot by @PerchunPak in #522 - Rewrite MOTD parser by @PerchunPak in #335
v11.0.0-rc3
v11.0.0-rc2
What's Changed
- Adjust deprecation dates by @kevinkjt2000 in #531
- Remove dead code from complex testing system by @PerchunPak in #535
- Test
JavaStatusResponse.raw
too by @PerchunPak in #537 - Ignore exceptions on socket close by @PerchunPak in #540
- Update and unpin some dependencies by @PerchunPak in #550
Full Changelog: v11.0.0-rc1...v11.0.0-rc2
v11.0.0-rc1
What's Changed
- Mark
MCServer
as Public API by @PerchunPak in #455 - Ignore all .coverage files by @kevinkjt2000 in #452
- Add
pytest-rerunfailures
by @PerchunPak in #461 - Rework docstrings to the Sphinx style by @PerchunPak in #458
- Rewrite answer objects by @PerchunPak in #306
- Sphinx docs by @PerchunPak in #477
- Fix documentation by @PerchunPak in #484
- Use faster ItsDrike/setup-poetry in favor of HassanAbouelela/actions/setup-python by @ItsDrike in #487
- Add FAQ to docs by @PerchunPak in #504
- Fix typo with old attributes' names in README by @PerchunPak in #514
- Deprecate
favicon
attribute properly by @PerchunPak in #513 - Raise better error if server doesn't return a full answer by @PerchunPak in #512
- Remove the type validation system in status responses by @PerchunPak in #515
- Add example "Using platform-specific attribute on multi-platform status" by @PerchunPak in #505
- Use
increase-if-necessary
strategy for dependabot by @PerchunPak in #522 - Rewrite MOTD parser by @PerchunPak in #335
Full Changelog: v10.0.3...v11.0.0-rc1