0
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2024-11-21 16:35:25 +00:00
PocketMine-MP/changelogs/4.22.md
2023-07-11 16:01:38 +01:00

3.1 KiB

4.22.0

Released 7th June 2023.

For Minecraft: Bedrock Edition 1.20.0

This is a support release for Minecraft: Bedrock Edition 1.20.0.

Plugin compatibility: Plugins for previous 4.x versions will run unchanged on this release, unless they use internal APIs, reflection, or packages like the pocketmine\network\mcpe namespace. Do not update plugin minimum API versions unless you need new features added in this release.

WARNING: If your plugin uses the pocketmine\network\mcpe namespace, you're not shielded by API change constraints. Consider using the mcpe-protocol directive in plugin.yml as a constraint if you're using packets directly.

Interim releases

If you're upgrading from 4.20.x directly to 4.22.x, please also read the following changelogs, as the interim releases contain important changes:

  • 4.21.0 - PHP 8.1 minimum version, minor performance improvements

General

  • Added support for Minecraft: Bedrock Edition 1.20.0.
  • Removed support for older versions.

Fixes

  • Removed deprecated ReflectionProperty::setAccessible() calls.
  • Fixed jukebox music not stopping when destroyed by an explosion.

4.22.1

Released 9th June 2023.

Fixes

  • Replaced workaround for an old teleporting client bug:
    • This workaround broke due to an additional client bug introduced by 1.20, causing players to become frozen to observers when teleported.
    • The original client bug has still not been fixed, meaning a new workaround was needed, but no perfect solution could be found.
    • The new workaround involves broadcasting teleport movements as regular movements, which causes unwanted interpolation between the old and new positions, but otherwise works correctly. This solution is not ideal, but it is the best we can do for now.
    • See issues #4394 and #5810 for more details.

4.22.2

Released 1st July 2023.

Changes

  • Added obsoletion warnings to the server log at the end of the startup sequence.

Fixes

  • Fixed players being disconnected en masse with "Not authenticated" messages.
    • This occurred due to a check intended to disable the old authentication key after July 1st.
    • We expected that the new key would have been deployed by Mojang by now, but it seems like that has not yet happened.
    • Due to the lack of a hard date for the key changeover, we guessed that July 1st would be a safe bet, but this appears to have backfired.
    • This version will accept both old and new keys indefinitely.
    • A security release will be published to remove the old key after the transition occurs.

4.22.3

Released 11th July 2023.

Fixes

  • Fixed mishandling of NBT leading to a server crash when editing signs.
  • Fixed an edge case crash that could occur in AsyncTask->__destruct() when thread-local storage referenced other AsyncTask objects.

Internals

  • Added a concurrency lock to prevent the update-updater-api GitHub Action from running for multiple releases at the same time (which would have caused one of them to fail due to git conflicts).