From 10feeea4cafc0fd09cdd31266ab35bb8ac557211 Mon Sep 17 00:00:00 2001 From: extremeheat Date: Mon, 4 Oct 2021 13:27:38 -0400 Subject: [PATCH] Release 3.6.0 (#141) --- HISTORY.md | 4 ++++ README.md | 2 +- index.d.ts | 2 +- package.json | 2 +- src/options.js | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index ac575724..d63898e1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +## 3.6.0 +* 1.17.30 support +* minecraft-data used for protocol data + ## 3.5.1 * Fix 1.17.10 npc packet serialization (#119) diff --git a/README.md b/README.md index a4ca3467..75071329 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Minecraft Bedrock Edition (aka MCPE) protocol library, supporting authentication ## Features - - Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10 + - Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30 - Parse and serialize packets as JavaScript objects - Automatically respond to keep-alive packets - [Proxy and mitm connections](docs/API.md#proxy-docs) diff --git a/index.d.ts b/index.d.ts index 3e9d8014..e3eeb553 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ import EventEmitter from "events" declare module "bedrock-protocol" { - type Version = '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201' + type Version = '1.17.32' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201' enum title { MinecraftNintendoSwitch, MinecraftJava } diff --git a/package.json b/package.json index bb886ab3..003ee35a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bedrock-protocol", - "version": "3.5.1", + "version": "3.6.0", "description": "Minecraft Bedrock Edition protocol library", "main": "index.js", "scripts": { diff --git a/src/options.js b/src/options.js index ac06ac7c..776293ba 100644 --- a/src/options.js +++ b/src/options.js @@ -3,7 +3,7 @@ const mcData = require('minecraft-data') // Minimum supported version (< will be kicked) const MIN_VERSION = '1.16.201' // Currently supported verson. Note, clients with newer versions can still connect as long as data is in minecraft-data -const CURRENT_VERSION = '1.17.10' +const CURRENT_VERSION = '1.17.30' const Versions = Object.fromEntries(mcData.versions.bedrock.filter(e => e.releaseType === 'release').map(e => [e.minecraftVersion, e.version]))