From cd2a1fdc1d2c327894b3b489937e9d6abb34e472 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:03:27 +0000 Subject: [PATCH 1/3] Bump build/php from `8a396c6` to `5016e0a` (#6541) --- build/php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 2bd9f4108bdf1261fefba78bc7e61526a0097334 Mon Sep 17 00:00:00 2001 From: "Dylan T." Date: Fri, 29 Nov 2024 20:42:14 +0000 Subject: [PATCH 2/3] 5.21.2 (#6545) --- changelogs/5.21.md | 16 ++++++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) 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..7b574b4f0 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -32,7 +32,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "5.21.2"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; /** From 9cab72ed5907b3d26040e88f89b7353b0de03ec3 Mon Sep 17 00:00:00 2001 From: "pmmp-restrictedactions-bot[bot]" <188621379+pmmp-restrictedactions-bot[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:43:17 +0000 Subject: [PATCH 3/3] 5.21.3 is next Commit created by: https://github.com/pmmp/RestrictedActions/actions/runs/12090411351 --- src/VersionInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 7b574b4f0..efb38d71b 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,8 +31,8 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "5.21.2"; - public const IS_DEVELOPMENT_BUILD = false; + public const BASE_VERSION = "5.21.3"; + public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; /**