diff --git a/build/php b/build/php index 8a396c63f..5016e0a3d 160000 --- a/build/php +++ b/build/php @@ -1 +1 @@ -Subproject commit 8a396c63fc5e79ea2849bfca100ea21a49ba2933 +Subproject commit 5016e0a3d54c714c12b331ea0474a6f500ffc0a3 diff --git a/changelogs/5.21.md b/changelogs/5.21.md index 9b3c2f89a..54bebf5db 100644 --- a/changelogs/5.21.md +++ b/changelogs/5.21.md @@ -110,3 +110,19 @@ Released 12th November 2024. - Fixed garbage collector cycle count increase on player disconnect. - Fixed weakness effect being applied to all attack types, causing damage splash potions to become weaker. - Fixed Enchanted Golden Apple regeneration effect amplifier to match vanilla. + +# 5.21.2 +Released 29th November 2024. + +## Fixes +- Fixed blocks destroyable by water being able to be placed inside water. +- Fixed deprecation warnings about nullable typehints on PHP 8.4. +- Fixed `Utils::getNiceClosureName()` not working correctly on PHP 8.4. +- Fixed incorrect break animations when breaking the block behind an instantly-breakable block like a torch. +- Fixed candle extinguish logic. +- Fixed various documentation issues around array key types. +- Introduced a new PHPStan rule along with `Utils::promoteKeys()` to improve PHPStan error reporting around unspecified array key types. Previously, some errors were missed due to PHPStan's BenevolentUnionType. + +## DevOps +- `pmmp/server-developers` team is now automatically requested for review on any new PR. +- `Status: Waiting on Author` label is now automatically removed from PRs when they are updated. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index bc1b24c62..efb38d71b 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,7 +31,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "5.21.2"; + public const BASE_VERSION = "5.21.3"; public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable";