From 9e329d55a8d25b5857cfcb882d5ea383b4ec3e6f Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Mar 2023 16:51:53 +0000 Subject: [PATCH] Release 5.0.0-BETA1 --- changelogs/5.0-beta.md | 44 ++++++++++++++++++++++++++++++++++++++++++ src/VersionInfo.php | 6 +++--- 2 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 changelogs/5.0-beta.md diff --git a/changelogs/5.0-beta.md b/changelogs/5.0-beta.md new file mode 100644 index 000000000..0fef808fc --- /dev/null +++ b/changelogs/5.0-beta.md @@ -0,0 +1,44 @@ +**For Minecraft: Bedrock Edition 1.19.62** + +5.0.0 is a major update to PocketMine-MP, including many new features and API changes. It is **not** compatible with plugins written for previous versions of PocketMine-MP. + +**During the beta phase, no new features will be added.** + +This stage of development is focused on stability and cleaning up any major issues introduced during the alpha stage. + +## WARNING +**This is a BETA release.** This means that it may be unstable, and is not yet ready for production use. + +Since this version has undergone substantial changes compared to 4.x, plugins written for 4.x will need to be updated to work on this version. + +Breaking API changes may still occur during the beta phase, but only if they are strictly necessary to fix a problem prior to full release. + +**BACK UP your data before testing this.** This version will work with worlds and player data from 4.x, +BUT any world or player data loaded in 5.0.0 will not work in 4.x due to backwards-incompatible storage format changes. + +# 5.0.0-BETA1 +Released 7th March 2023. + +**This release includes changes from the following releases:** +- [All 5.0.0 alpha releases](https://github.com/pmmp/PocketMine-MP/blob/5.0.0-BETA1/changelogs/5.0-alpha.md) +- [4.15.2](https://github.com/pmmp/PocketMine-MP/blob/5.0.0-BETA1/changelogs/4.15.md#4152) +- [4.15.3](https://github.com/pmmp/PocketMine-MP/blob/5.0.0-BETA1/changelogs/4.15.md#4153) +- [4.16.0](https://github.com/pmmp/PocketMine-MP/blob/5.0.0-BETA1/changelogs/4.16.md#4160) + +## API +### `pocketmine\block` +- Improved documentation for the following methods: + - `Block->getTypeId()` + - `Block->getStateId()` + - `Block->describeType()` + - `Block->describeState()` + +### `pocketmine\command` +- The following API methods have been renamed: + - `Command->getPermission()` -> `Command->getPermissions()` + +## Internals +- The following methods have been renamed: + - `Block->computeStateData()` -> `Block->computeTypeAndStateData()` + - `Block->decodeStateData()` -> `Block->decodeTypeAndStateData()` +- Wall state data now packs connections into 7 bits instead of 8. \ No newline at end of file diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 51f9cca15..05e917d81 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,9 +31,9 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "5.0.0-ALPHA10"; - public const IS_DEVELOPMENT_BUILD = true; - public const BUILD_CHANNEL = "alpha"; + public const BASE_VERSION = "5.0.0-BETA1"; + public const IS_DEVELOPMENT_BUILD = false; + public const BUILD_CHANNEL = "beta"; private function __construct(){ //NOOP