diff --git a/BUILDING.md b/BUILDING.md index 4db556baf..369e57e63 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -34,5 +34,11 @@ Run `composer make-server` using your preferred PHP binary. It'll drop a `Pocket You can also use the `--out` option to change the output filename. +There is a bug in PHP that might cause an error which looks like this: +``` +Fatal error: Uncaught BadMethodCallException: unable to create temporary file in PocketMine-MP/build/server-phar.php:119 +``` +You can work around it by setting `ulimit -n` to some bigger number, e.g. `8192`, or by updating your PHP version to at least 7.4.16 or 8.0.3. + ## Running PocketMine-MP from source code Run `src/PocketMine.php` using your preferred PHP binary. diff --git a/changelogs/3.17.md b/changelogs/3.17.md index 6c78eaafe..8888583a7 100644 --- a/changelogs/3.17.md +++ b/changelogs/3.17.md @@ -41,3 +41,10 @@ Plugin developers should **only** update their required API to this version if y - `CraftItemEvent->getOutputs()` now returns a list starting at offset 0, instead of random offsets. (Note that the contents still won't be ordered.) - Fixed a bug that broke synchronized building, bridging, towering and more. - Objects in memory dumps no longer show inherited properties multiple times. + +# 3.17.5 +- Reduced CPU wastage by the logger thread. +- Fixed LevelDB deprecation errors on PHP 8.0. +- Added some protocol changes for 1.16.200 which were previously overlooked. +- Player XUIDs are now tracked. If a player's XUID does not match the previously recorded XUID when they next join the server, they will be kicked. This can be disabled by the `player.verify-xuid` setting in `pocketmine.yml`. +- `BUILDING.md` now has a note about `build/server-phar.php`'s compression bug (a bug in PHP). diff --git a/composer.json b/composer.json index 24edcc476..d6d32465a 100644 --- a/composer.json +++ b/composer.json @@ -49,7 +49,7 @@ "respect/validation": "^2.0" }, "require-dev": { - "phpstan/phpstan": "0.12.75", + "phpstan/phpstan": "0.12.76", "phpstan/phpstan-phpunit": "^0.12.6", "phpstan/phpstan-strict-rules": "^0.12.2", "phpunit/phpunit": "^9.2" diff --git a/composer.lock b/composer.lock index 2f4cda7c4..d59fa9f92 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1b623b79eb37edb4b40b970cc95e2c70", + "content-hash": "e4cfe198391e336599789b5df4cabfd3", "packages": [ { "name": "adhocore/json-comment", @@ -1579,16 +1579,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.75", + "version": "0.12.76", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "2e4738cd67e0163861a065180eff7eb5c8417d6e" + "reference": "7aaaf9a759a29795e8f46d48041af1c1f1b23d38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2e4738cd67e0163861a065180eff7eb5c8417d6e", - "reference": "2e4738cd67e0163861a065180eff7eb5c8417d6e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7aaaf9a759a29795e8f46d48041af1c1f1b23d38", + "reference": "7aaaf9a759a29795e8f46d48041af1c1f1b23d38", "shasum": "" }, "require": { @@ -1619,7 +1619,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.75" + "source": "https://github.com/phpstan/phpstan/tree/0.12.76" }, "funding": [ { @@ -1635,7 +1635,7 @@ "type": "tidelift" } ], - "time": "2021-02-11T13:58:47+00:00" + "time": "2021-02-13T11:47:44+00:00" }, { "name": "phpstan/phpstan-phpunit",