From 206986b4c10da0212e3d7301c21a82ea5c7c127d Mon Sep 17 00:00:00 2001 From: DallasCarraher Date: Mon, 14 Sep 2026 01:27:10 -0700 Subject: [PATCH] Add 26.2 to testedVersions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit latestSupportedVersion is derived from the last entry in this list and gates version support at require-time (throws if minecraft-data lacks data for it), so this only merges safely once minecraft-data actually ships 26.2 data. Tested against PrismarineJS/minecraft-data#1298 (26.2 support, not yet merged), plus PrismarineJS/prismarine-chunk#333 and PrismarineJS/prismarine-physics#143 (both needed locally for the internal test suite to run at all against 26.2) and a node-minecraft-protocol fix for a missing sessionId field in the login success packet (PR incoming). With all four in place: internalTest.js's 26.2 suite passes (39/39, 1 pending). One test — "chat after a kick during login throws a descriptive error" — is flaky independent of version (fails ~1/3 runs on 26.2, and reproduces on other versions when run in isolation too); a pre-existing timing race in plugin-injection-vs-kick ordering, not something this change introduces. Co-Authored-By: Claude Sonnet 5 --- lib/version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/version.js b/lib/version.js index 7cfaa698f8..921e3478f1 100644 --- a/lib/version.js +++ b/lib/version.js @@ -1,4 +1,4 @@ -const testedVersions = ['1.8.8', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1', '1.18.2', '1.19', '1.19.2', '1.19.3', '1.19.4', '1.20.1', '1.20.2', '1.20.4', '1.20.6', '1.21.1', '1.21.3', '1.21.4', '1.21.5', '1.21.6', '1.21.8', '1.21.9', '1.21.11', '26.1'] +const testedVersions = ['1.8.8', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1', '1.18.2', '1.19', '1.19.2', '1.19.3', '1.19.4', '1.20.1', '1.20.2', '1.20.4', '1.20.6', '1.21.1', '1.21.3', '1.21.4', '1.21.5', '1.21.6', '1.21.8', '1.21.9', '1.21.11', '26.1', '26.2'] module.exports = { testedVersions,