From b5fc31a7818abfe7600ee36277e83fa4bcc182b5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 7 Jun 2023 21:23:54 +0100 Subject: [PATCH] Release 4.22.0 --- changelogs/4.22.md | 24 ++++++++++++++++++++++++ src/VersionInfo.php | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 changelogs/4.22.md diff --git a/changelogs/4.22.md b/changelogs/4.22.md new file mode 100644 index 000000000..bf6b6dc53 --- /dev/null +++ b/changelogs/4.22.md @@ -0,0 +1,24 @@ +# 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](https://github.com/pmmp/PocketMine-MP/blob/4.22.0/changelogs/4.21.md#4210) - 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. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index b6253b570..817d1d623 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 = "4.21.2"; - public const IS_DEVELOPMENT_BUILD = true; + public const BASE_VERSION = "4.22.0"; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){