changelog: mention pocketmine subdirectory removal

This commit is contained in:
Dylan K. Taylor 2021-12-01 22:15:38 +00:00
parent edc3bae172
commit bd8308cc6f
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -241,6 +241,7 @@ This version features substantial changes to the network system, improving coher
- A new "plugin greylist" feature has been introduced, which allows whitelisting or blacklisting plugins from loading. See `plugin_list.yml`.
### Internals
- The `pocketmine` subdirectory has been removed from `src`. [PSR-4 autoloading is now used thanks to Composer](https://github.com/pmmp/PocketMine-MP/blob/4.0.0/composer.json#L63).
- Crashdump rendering has been separated from crashdump data generation. This allows rendering crashdumps from existing JSON data.
- Direct iteration of arrays with string keys is now disallowed by a custom PHPStan rule. This is because numeric strings are casted to integers when used as array keys, which produces a variety of unexpected behaviour particularly for iteration.
- To iterate on arrays with string keys, `Utils::stringifyKeys()` must now be used.