269b3d89a2
Update build/php submodule to pmmp/PHP-Binaries@39885cf248
2023-11-09 19:03:12 +00:00
08f9873c32
Update build/php submodule to pmmp/PHP-Binaries@3c3c483baa
2023-11-09 18:30:03 +00:00
3c614b505d
Merge branch 'stable' into minor-next
2023-10-16 21:28:59 +01:00
660e2b8173
Update build/php to pmmp/php-build-scripts@a34e48e7da
2023-10-09 18:22:28 +01:00
7dcd2592d4
RuntimeDataDescriber: Support dynamically describing arbitrary enums ( #6039 )
...
Previously, we were using codegen to support describing a fixed set of enums.
Instead, we implement an enum() function, allowing any native PHP enum to be described.
All enums used in runtime data have been migrated to native PHP 8.1 enums in minor-next to facilitate this.
This implementation:
- is faster (in extreme cases by 40x, such as with PotionType)
- requires way less code
- does not require a build step
- is way more flexible
This fixes #5877 , increasing the range of stuff that plugins are now able to do.
EnumTrait enums are not supported, as it's easier and cleaner to just support native enums. Most core EnumTrait enums have been migrated to native enums by now to facilitate this.
2023-09-07 20:07:14 +01:00
6887fcd590
RuntimeEnum(De)SerializerTrait no longer uses legacy accessors for enum members
2023-09-07 19:40:14 +01:00
ec1cd5967d
Added private constructors for new internal classes
2023-09-06 12:12:11 +01:00
5a010e8213
Merge branch 'minor-next' into stable
2023-09-06 12:06:15 +01:00
0920c76a35
Bump build/php from 8884039
to 3331f8c
( #6031 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `8884039` to `3331f8c`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](8884039bee...3331f8c0d5
)
---
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-09-06 08:37:05 +01:00
9fdb6ba5aa
Mark some new things as internal
2023-08-25 14:02:49 +01:00
4a0a538278
CS
2023-08-25 13:27:40 +01:00
2912e7ca29
...
2023-08-25 13:27:11 +01:00
31d8cc1cb5
Generate and use constants for pocketmine.yml constant names
...
a couple of usages of properties that no longer exist couldn't be migrated.
in addition, this revealed a couple of dead properties in the default file.
this is not an ideal solution (I'd much rather model the configs using classes and map them) but in the absence of a good and reliable library to do that, this is the next best thing.
2023-08-25 13:23:38 +01:00
b56f1b679e
Deduplicate a bunch of repeated type ID map code
2023-08-25 12:30:54 +01:00
09c9dfb576
Bump build/php from d75f83e
to 8884039
( #6018 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `d75f83e` to `8884039`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](d75f83e7ef...8884039bee
)
---
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-08-25 09:43:05 +01:00
f2b710c083
Bump build/php from a053f65
to d75f83e
( #6017 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `a053f65` to `d75f83e`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](a053f65e18...d75f83e7ef
)
---
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-08-24 08:31:31 +01:00
cfa2df82eb
Merge branch 'legacy/pm4' into stable
2023-08-21 16:07:56 +01:00
7f78ec0a32
Include PHP binary URLs in GitHub releases and build info
2023-08-21 16:05:59 +01:00
983aa79a0b
Bump build/php from ed0bc4d
to a053f65
( #5993 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `ed0bc4d` to `a053f65`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](ed0bc4d2af...a053f65e18
)
---
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-08-15 09:30:51 +01:00
dd79d4c463
Updated build/php submodule to pmmp/PHP-Binaries@ed0bc4d2af
2023-08-08 17:44:13 +01:00
3afe3b7f44
Merge branch 'stable' into minor-next
2023-07-24 12:02:24 +01:00
fd23281183
Merge branch 'legacy/pm4' into stable
2023-07-24 12:00:29 +01:00
70dd8732e2
Update build/php to pmmp/PHP-Binaries@46604f2f6a
2023-07-24 11:59:11 +01:00
83d11c7429
Implemented Big & Small dripleaf ( #5835 )
2023-07-17 16:30:52 +01:00
d2f4ba74c6
Updated build/php submodule to pmmp/PHP-Binaries@e0c918d137
2023-07-13 12:59:43 +01:00
b7210755a7
1.20.10
2023-07-12 13:39:39 +01:00
4daacb2ab7
Merge branch 'legacy/pm4' into stable
2023-07-12 12:11:36 +01:00
f7977c9668
Update build/php submodule to pmmp/PHP-Binaries@16378ffcc3
2023-07-12 12:10:09 +01:00
2654fb294b
Merge branch 'stable' into minor-next
2023-06-26 16:08:22 +01:00
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
288ebfa08a
Fixed a bunch of item IDs being missing
...
these items were all pretending to be blockitems when I dumped data, and I wasn't aware that they'd been omitted.
2023-06-13 18:15:47 +01:00
1d25e15ec8
Bump build/php from fcbc15f
to 8cb2a2b
( #5820 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `fcbc15f` to `8cb2a2b`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](fcbc15f23e...8cb2a2b218
)
---
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-11 14:45:01 +01:00
9a67e3d660
PM5-specific changes for 1.20.0.23 beta
2023-06-07 21:08:41 +01:00
1706fb43eb
Updated build/php submodule to pmmp/PHP-Binaries@fcbc15f23e
2023-06-03 21:27:54 +01:00
0ed5e94a72
Merge branch 'minor-next' into major-next
2023-05-30 16:15:56 +01:00
ea92a23d0d
Bump build/php from b1d5c0d
to f2ece7b
( #5765 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `b1d5c0d` to `f2ece7b`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](b1d5c0d737...f2ece7b30d
)
---
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-05-29 21:37:18 +01:00
bdb0ed0701
Consistently use 'mob head' terminology in the API
...
previously, we were sometimes using 'mob head' and other times 'skull', sometimes even within the same file.
2023-05-26 15:08:00 +01:00
57330a7186
Bump build/php from f860ade
to b1d5c0d
( #5760 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `f860ade` to `b1d5c0d`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](f860ade30a...b1d5c0d737
)
---
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-05-23 12:27:12 +01:00
d2c34615f5
Update build/php to pmmp/PHP-Binaries@b1d5c0d737
2023-05-22 22:35:39 +01:00
ee9ce8a4f4
Merge branch 'minor-next' into major-next
2023-05-17 15:45:03 +01:00
0547383296
Update build/php submodule to pmmp/PHP-Binaries@f860ade30a
2023-05-17 15:08:05 +01:00
043350753b
Drop PHP 8.0, 8.1 is now minimum version
2023-05-17 13:53:57 +01:00
0dca85af44
Merge branch 'minor-next' into major-next
2023-04-26 23:28:27 +01:00
eb130f2906
Move primary version to PHP 8.1
...
8.0 is still supported for now, but won't be updated any longer.
2023-04-26 16:03:33 +01:00
10f3145af2
Merge branch 'minor-next' into major-next
2023-03-29 23:22:02 +01:00
eca9fe50b6
Bump build/php from a464454
to 9d8807b
( #5654 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `a464454` to `9d8807b`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](a464454d1e...9d8807be82
)
---
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-03-27 13:03:30 +01:00
abd4ef01eb
Merge branch 'minor-next' into major-next
2023-03-15 23:02:41 +00:00
e0fdbe6eb1
make-release: don't automatically push
...
this is rather obnoxious when attempting to push test releases to a
fork.
2023-03-15 20:47:01 +00:00
b266f45152
Bump build/php from 71b9f9d
to a464454
( #5637 )
...
Bumps [build/php](https://github.com/pmmp/php-build-scripts ) from `71b9f9d` to `a464454`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases )
- [Commits](71b9f9d2d7...a464454d1e
)
---
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-03-15 13:44:20 +00:00
c500ccd891
Merge branch 'minor-next' into major-next
2023-03-14 18:43:43 +00:00