From e7d17eb4d327f6573ae702273e3838305844d2d6 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 4 Jan 2022 20:51:36 +0000 Subject: [PATCH] Release 4.0.5 --- changelogs/4.0.md | 11 ++++++++++- src/VersionInfo.php | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/changelogs/4.0.md b/changelogs/4.0.md index 211b825e8..a12c11cd4 100644 --- a/changelogs/4.0.md +++ b/changelogs/4.0.md @@ -1590,4 +1590,13 @@ Released 1st January 2022. - Fixed message length limit for chat (now 512 instead of 255, and accounts for UTF-8). - Fixed incorrect message being displayed when trying to sleep in a bed which is too far away. - Fixed missing space between `Kicked by admin.` and `Reason` when using `/kick` to kick a player. -- Fixed client-side performance issue of entities with very large scale. \ No newline at end of file +- Fixed client-side performance issue of entities with very large scale. + +# 4.0.5 +Released 4th January 2022. + +## Fixes +- Fixed several denial-of-service attack vectors related to writable book text length and encoding. +- Fixed several denial-of-service attack vectors related to skin data field lengths. +- Fixed food bar desync when cancelling `PlayerItemConsumeEvent` in a plugin. +- Fixed compass needles not updating when the world spawn is changed. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 5cd6474d5..65bfbab9c 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 = "4.0.5"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){