From 58c1bfe5d292c55956f7013aafd6faa1c33253b4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 25 Nov 2022 15:20:15 +0000 Subject: [PATCH] Release 4.10.2 --- changelogs/4.10.md | 15 +++++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/changelogs/4.10.md b/changelogs/4.10.md index 66989b33d..c8ff6a045 100644 --- a/changelogs/4.10.md +++ b/changelogs/4.10.md @@ -36,3 +36,18 @@ Released 7th November 2022. - Added validation for the array given to `BaseInventory->setContents()` to ensure that it contains only `Item` instances. - Silenced `PlayerAuthInputPacket` spam when the session is in the "spawn response" state. - Updated to PHPStan 1.9. + +# 4.10.2 +Released 25th November 2022. + +## Fixes +- Fixed crashes on macOS and Linux when using console colours without the `TERM` environment variable set. +- Fixed crashdumps not being generated when error messages contained invalid UTF-8 characters. + +## Documentation +- Clarified documentation of caching behaviour for `Internet::getIP()`. +- Added and improved documentation for many `Inventory` methods. +- Rewritten documentation for `PlayerCreationEvent` with warnings and more detail. + +## Internals +- Non-arrow projectile damage is now unscaled. Scaling according to velocity is only applied to arrows. This currently doesn't cause any observable change in behaviour, but is required for future additions. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 2f4ef94fd..a4431852a 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.10.2"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){