Skip to content

Commit 550c179

Browse files
dktappsdries-c
andauthored
Bedrock 1.26.0 (#7010)
Co-authored-by: dries-c <15795262+dries-c@users.noreply.github.com>
1 parent 0075824 commit 550c179

7 files changed

Lines changed: 38 additions & 19 deletions

File tree

.github/workflows/draft-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
echo PM_VERSION=$PM_VERSION >> $GITHUB_OUTPUT
125125
echo PM_MAJOR=$(php build/dump-version-info.php major_version) >> $GITHUB_OUTPUT
126126
echo MCPE_VERSION=$(php build/dump-version-info.php mcpe_version) >> $GITHUB_OUTPUT
127+
echo MCPE_DISPLAY_VERSION=$(php build/dump-version-info.php mcpe_display_version) >> $GITHUB_OUTPUT
127128
echo CHANGELOG_FILE_NAME=$(php build/dump-version-info.php changelog_file_name) >> $GITHUB_OUTPUT
128129
echo CHANGELOG_MD_HEADER=$(php build/dump-version-info.php changelog_md_header) >> $GITHUB_OUTPUT
129130
echo PRERELEASE=$(php build/dump-version-info.php prerelease) >> $GITHUB_OUTPUT
@@ -176,7 +177,7 @@ jobs:
176177
tag: ${{ steps.get-pm-version.outputs.TAG_NAME }}
177178
token: ${{ secrets.GITHUB_TOKEN }}
178179
body: |
179-
**For Minecraft: Bedrock Edition ${{ steps.get-pm-version.outputs.MCPE_VERSION }}**
180+
**For Minecraft: Bedrock Edition ${{ steps.get-pm-version.outputs.MCPE_VERSION }} (display version ${{ steps.get-pm-version.outputs.MCPE_DISPLAY_VERSION }})**
180181
181182
Please see the [changelogs](${{ github.server_url }}/${{ github.repository }}/blob/${{ steps.get-pm-version.outputs.PM_VERSION }}/changelogs/${{ steps.get-pm-version.outputs.CHANGELOG_FILE_NAME }}#${{ steps.get-pm-version.outputs.CHANGELOG_MD_HEADER }}) for details.
182183

build/dump-version-info.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"base_version" => VersionInfo::BASE_VERSION,
3939
"major_version" => fn() => explode(".", VersionInfo::BASE_VERSION, limit: 2)[0],
4040
"mcpe_version" => ProtocolInfo::MINECRAFT_VERSION_NETWORK,
41+
"mcpe_display_version" => ProtocolInfo::MINECRAFT_VERSION,
4142
"is_dev" => VersionInfo::IS_DEVELOPMENT_BUILD,
4243
"changelog_file_name" => function() : string{
4344
$version = VersionInfo::VERSION();

changelogs/5.40.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 5.40.0
2+
Released 15th February 2026.
3+
4+
This is a support release for Minecraft: Bedrock Edition 1.26.0 (display version 26.0).
5+
6+
**Plugin compatibility:** Plugins for previous 5.x versions will run unchanged on this release, unless they use internal APIs, reflection, or packages like the `pocketmine\network\mcpe` or `pocketmine\data` namespace.
7+
Do not update plugin minimum API versions unless you need new features added in this release.
8+
9+
**WARNING: If your plugin uses the `pocketmine\network\mcpe` namespace, you're not shielded by API change constraints.**
10+
Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if you're using packets directly.
11+
12+
## General
13+
- Added support for Minecraft: Bedrock Edition 1.26.0 (display version 26.0). (@dries-c)
14+
- Removed support for earlier versions.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
"adhocore/json-comment": "~1.2.0",
3636
"netresearch/jsonmapper": "~v5.0.0",
3737
"pocketmine/bedrock-block-upgrade-schema": "~5.2.0+bedrock-1.21.110",
38-
"pocketmine/bedrock-data": "~6.3.0+bedrock-1.21.130",
38+
"pocketmine/bedrock-data": "~6.4.0+bedrock-1.26.0",
3939
"pocketmine/bedrock-item-upgrade-schema": "~1.16.0+bedrock-1.21.110",
40-
"pocketmine/bedrock-protocol": "~54.0.0+bedrock-1.21.130",
40+
"pocketmine/bedrock-protocol": "~55.0.0+bedrock-1.26.0",
4141
"pocketmine/binaryutils": "^0.2.1",
4242
"pocketmine/callback-validator": "^1.0.2",
4343
"pocketmine/color": "^0.3.0",

composer.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VersionInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
final class VersionInfo{
3333
public const NAME = "PocketMine-MP";
34-
public const BASE_VERSION = "5.39.4";
35-
public const IS_DEVELOPMENT_BUILD = true;
34+
public const BASE_VERSION = "5.40.0";
35+
public const IS_DEVELOPMENT_BUILD = false;
3636
public const BUILD_CHANNEL = "stable";
3737
public const GITHUB_URL = "https://github.com/pmmp/PocketMine-MP";
3838

src/network/mcpe/handler/PreSpawnPacketHandler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
use pocketmine\network\mcpe\protocol\types\LevelSettings;
4141
use pocketmine\network\mcpe\protocol\types\NetworkPermissions;
4242
use pocketmine\network\mcpe\protocol\types\PlayerMovementSettings;
43+
use pocketmine\network\mcpe\protocol\types\ServerTelemetryData;
4344
use pocketmine\network\mcpe\protocol\types\SpawnSettings;
4445
use pocketmine\player\Player;
4546
use pocketmine\Server;
@@ -109,6 +110,8 @@ public function setUp() : void{
109110
false,
110111
false,
111112
new NetworkPermissions(disableClientSounds: true),
113+
null,
114+
new ServerTelemetryData("", "", "", ""),
112115
[],
113116
0,
114117
));

0 commit comments

Comments
 (0)