16987 Commits

Author SHA1 Message Date
Dylan K. Taylor
200e5f940c
Release 5.2.1 5.2.1 2023-07-11 16:04:42 +01:00
Dylan K. Taylor
9365ffa7fa
Merge branch 'legacy/pm4' into stable 2023-07-11 16:02:06 +01:00
Dylan K. Taylor
cfd9950b02
4.22.4 is next 2023-07-11 16:01:42 +01:00
Dylan K. Taylor
8ebcdb452d
Release 4.22.3 4.22.3 2023-07-11 16:01:38 +01:00
Dylan K. Taylor
ef85fbffe1
Merge branch 'legacy/pm4' into stable 2023-07-11 15:10:55 +01:00
Dylan K. Taylor
aacc00a911
update-updater-api: do not allow multiple jobs to run simultaneously
this would result in git conflicts if multiple releases are made at the same time

closes #5814
2023-07-11 15:10:35 +01:00
Dylan K. Taylor
0c250a2ef0
InGamePacketHandler: fixed inconsistent handling of invalid data in BlockActorDataPacket 2023-07-11 12:53:29 +01:00
Dylan K. Taylor
8f217ca6e0
Fixed borked changelog links 2023-07-04 16:12:01 +01:00
Dylan K. Taylor
f0d5647aa2
5.2.1 is next 2023-07-04 15:58:09 +01:00
Dylan K. Taylor
e6de9a70a2
Release 5.2.0 5.2.0 2023-07-04 15:58:09 +01:00
Dylan K. Taylor
a34514c6a1
RuntimeDataDescriber: document that this is a sealed interface 2023-07-04 15:56:03 +01:00
Dylan K. Taylor
6a80b210d4
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2023-07-04 14:44:00 +01:00
Dylan K. Taylor
02ffb04b92
Merge branch 'minor-next' into stable 2023-07-04 14:43:23 +01:00
Dylan T
6cbb03bf9b
README: change title of discussion section
[ci skip]

I've always hated the way the / looks here
2023-07-03 18:18:30 +01:00
Dylan K. Taylor
3abd592b1f
Update to pmmp/BedrockBlockUpgradeSchema@3.0.0 2023-07-03 18:07:51 +01:00
Dylan K. Taylor
644b417d2c
BlockStateData: added auxiliary toVanillaNbt() helper method
toNbt() adds PM version metadata, which might not always be desired.
2023-07-03 14:05:17 +01:00
Dylan K. Taylor
588a754f1c
Merge branch 'legacy/pm4' into stable 2023-07-01 13:33:59 +01:00
Dylan K. Taylor
70dd9c7371
AsyncTask: fixed reentrancy bug tested by f8e6f036affaaca135103556bd2c7f15a943d29b 2023-07-01 13:27:32 +01:00
Dylan K. Taylor
f8e6f036af
AsyncPoolTest: added failing test case for AsyncTask::__destruct() reentrancy bug 2023-07-01 13:24:50 +01:00
Dylan K. Taylor
a2a7006878
Merge branch 'stable' into minor-next 2023-07-01 12:25:11 +01:00
Dylan K. Taylor
b78c18ad2d
changelog: fix header size :(
[ci skip]
2023-07-01 12:23:19 +01:00
Dylan K. Taylor
41281db6a5
5.1.4 is next 2023-07-01 12:18:13 +01:00
Dylan K. Taylor
2278275505
Release 5.1.3 5.1.3 2023-07-01 12:18:10 +01:00
Dylan K. Taylor
53a6d8451b
Merge branch 'legacy/pm4' into stable 2023-07-01 12:05:42 +01:00
Dylan K. Taylor
bbabccfc89
4.22.3 is next 2023-07-01 12:04:59 +01:00
Dylan K. Taylor
1698eac6dc
Release 4.22.2 4.22.2 2023-07-01 12:04:59 +01:00
Dylan K. Taylor
83378d9403
Merge branch 'legacy/pm4' into stable 2023-07-01 11:57:59 +01:00
Dylan K. Taylor
321972b87b
Composer: do not allow automatic minor dependency updates
manual intervention should always be used here, since we need to present a consistent API to plugins.
2023-07-01 11:57:13 +01:00
Dylan K. Taylor
24b74a96eb
Merge branch 'legacy/pm4' into stable 2023-07-01 11:52:42 +01:00
Dylan K. Taylor
e61796b146
Composer: do not allow automatic minor dependency updates
manual intervention should always be used here, since we need to present a consistent API to plugins.
2023-07-01 11:49:44 +01:00
Dylan K. Taylor
c86c9b3ead
Update Composer dependencies 2023-07-01 11:43:36 +01:00
Dylan K. Taylor
249ef9c534
ProcessLoginTask: remove old key expiry
since we don't have a hard date for this, and I've already made one wrong educated guess, I'd rather not have another massive outage.
A security update will have to be made to remove the old key as soon as the new one is rolled. This is not ideal, but it's the least disruptive option.
2023-07-01 11:41:04 +01:00
Dylan K. Taylor
17842703a1
Merge branch 'legacy/pm4' into stable 2023-07-01 10:29:23 +01:00
Dylan K. Taylor
f4dab17a1b
Added deprecation notices 2023-07-01 10:29:14 +01:00
Dylan K. Taylor
eed423505e
Merge branch 'legacy/pm4' into stable 2023-07-01 10:28:34 +01:00
Dylan K. Taylor
c165670e0a
Added support for using and generating blockstate upgrade schemas using newFlattenedName rules
see pmmp/BedrockBlockUpgradeSchema@f426fccbee
2023-06-26 16:20:01 +01:00
Dylan K. Taylor
882d50b14e
Reapply 470a3e1a3: tools/generate-blockstate-upgrade-schema: reduce dependencies for generating blockstate mappings 2023-06-26 16:09:51 +01:00
Dylan K. Taylor
0b0b72f596
Reapply b8788c55c: tools/generate-blockstate-upgrade-schema: improve property remapping checks
this is now able to determine which properties were renamed and/or changed when multiple renames occurred in a single version.
This also fixes unrelated properties being considered mapped to each other when there was only one property in the old and new state (e.g. mapped_type and deprecated for hay_bale in 1.10). Now, these are properly considered as unrelated.
2023-06-26 16:09:09 +01:00
Dylan K. Taylor
2654fb294b
Merge branch 'stable' into minor-next 2023-06-26 16:08:22 +01:00
Dylan K. Taylor
2b40c1a5be
Revert "tools/generate-blockstate-upgrade-schema: improve property remapping checks"
This reverts commit b8788c55c58effd04f5d8774ae04dd1656813abb.

This changes behaviour, so it needs to target minor-next.
2023-06-26 16:07:52 +01:00
Dylan K. Taylor
74d219dcb6
Revert "tools/generate-blockstate-upgrade-schema: reduce dependencies for generating blockstate mappings"
This reverts commit 470a3e1a3acfeb3f524e47082160ab6461b2474f.

This changes behaviour, so it needs to target minor-next.
2023-06-26 16:07:23 +01:00
Dylan K. Taylor
470a3e1a3a
tools/generate-blockstate-upgrade-schema: reduce dependencies for generating blockstate mappings 2023-06-26 12:40:17 +01:00
Dylan K. Taylor
ad67fb7291
BlockStateUpgradeSchemaModelBlockRemap: added missing @required tag 2023-06-24 16:22:29 +01:00
Dylan K. Taylor
3eed0a4620
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2023-06-24 16:14:37 +01:00
Dylan K. Taylor
b8788c55c5
tools/generate-blockstate-upgrade-schema: improve property remapping checks
this is now able to determine which properties were renamed and/or changed when multiple renames occurred in a single version.
This also fixes unrelated properties being considered mapped to each other when there was only one property in the old and new state (e.g. mapped_type and deprecated for hay_bale in 1.10). Now, these are properly considered as unrelated.
2023-06-24 16:14:28 +01:00
Dylan K. Taylor
c06763c59b
Fixed crash in CakeWithCandle when block-picking 2023-06-23 12:55:47 +01:00
dependabot[bot]
881451c40c
Bump build/php from 8cb2a2b to 2a21c57 (#5856)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `8cb2a2b` to `2a21c57`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](8cb2a2b218...2a21c57900)

---
updated-dependencies:
- dependency-name: build/php
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 11:00:59 +01:00
Dylan K. Taylor
36f52f1ade
AsyncTask: remove ArrayObject hack
this is no longer a concern with pmmpthread + PHP 8.1 and up. The behaviour that caused statics to be inherited was caused by bugs in PHP 8.0 and below, which have now been fixed.
2023-06-22 13:58:48 +01:00
Dylan K. Taylor
0240d35c05
AsyncTask and AsyncPool no longer tolerate uncaught errors in tasks
Since task execution depends on tasks executing sequentially on a particular worker in some cases (e.g. PopulationTask must be preceded by GeneratorRegisterTask), it doesn't make sense to continue task execution if an error occurs.
Moreover, a task crashing may render the whole server unstable, as it leaves the server in an undefined state. This is the same kind of problem we fixed with scheduled tasks in PM3.

In versions past, pthreads was unreliable enough that random tasks would crash without an obvious reason, forcing us to accommodate this. I still don't know the origin or frequency of said issues, but I think it's time to rip the band-aid off and solve these problems for real.
2023-06-22 13:29:36 +01:00
Dylan K. Taylor
8dedbb7471
World: clamp clickVector components from 0-1
this ensures that #5827 won't randomly start crashing if clients give bad values.
2023-06-21 16:59:14 +01:00