From 46920818b5de1632991c29620b4822fd87f7946b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 19 Oct 2021 19:13:43 +0100 Subject: [PATCH] Release 4.0.0-BETA6 --- changelogs/4.0.md | 17 +++++++++++++++++ src/VersionInfo.php | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/changelogs/4.0.md b/changelogs/4.0.md index 70add2c99..708822771 100644 --- a/changelogs/4.0.md +++ b/changelogs/4.0.md @@ -1443,3 +1443,20 @@ Released 12th October 2021. ### World - The following API methods have signature changes: - `GeneratorManager->registerGenerator()` now requires a `\Closure $presetValidator` parameter. This is used to check generator options of worlds and configs before attempting to use them. + +# 4.0.0-BETA6 +Released 19th October 2021. + +## General +- Added support for Minecraft: Bedrock Edition 1.17.40. +- Removed support for earlier versions. +- CTRL+C signal handling has been restored, and is now supported on Windows. Pressing CTRL+C while the server is running will behave as if the `/stop` command was invoked. +- Added a script `tools/generate-permission-doc.php` to generate a Markdown file with a list of all permissions and their relationships. In the future, this will be used to maintain the official documentation, but plugin developers might find it useful for their own purposes too. +- [`respect/validation`](https://packagist.org/packages/respect/validation) is no longer a core dependency. + +## Fixes +- Fixed server crash when using `/give` to give an item with a too-large item ID, or `/clear` to clear an item that does not exist. + - Now, `LegacyStringToItemParser` is used exclusively, and numeric IDs are no longer parsed. + +## Gameplay +- Picking up some items from a dropped stack of items is now supported. This fixes various bugs with being unable to pick up items with an almost-full inventory. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 9bae4e775..c313f1193 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -30,9 +30,9 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "4.0.0-BETA6"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_NUMBER = 0; - public const BUILD_CHANNEL = ""; + public const BUILD_CHANNEL = "beta"; private function __construct(){ //NOOP