From 1542ab63d191895640730e5dc33abf263d223f4f Mon Sep 17 00:00:00 2001 From: extremeheat Date: Mon, 18 Jul 2022 22:03:01 -0400 Subject: [PATCH] Release 3.15.0 (#236) * Update options.js * Update package.json * Update README.md * Update index.d.ts * Update HISTORY.md --- HISTORY.md | 5 +++++ README.md | 2 +- index.d.ts | 2 +- package.json | 2 +- src/options.js | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index c5e1156..5528d70 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ +## 3.15.0 +* 1.19.10 support +* Remove Realm fetch when joining via invite (#228) @LucienHH +* Add Realm support to Relay (#226) @ATXLtheAxolotl + ## 3.14.0 * 1.19 support * Better handle ping timeout, update documentation (#218) @stevarino diff --git a/README.md b/README.md index a72aea1..0c2a1db 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, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1 + - Supports Minecraft Bedrock version 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10 - 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 37ff132..5570ae3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2,7 +2,7 @@ import EventEmitter from "events" import { Realm } from "prismarine-realms" declare module "bedrock-protocol" { - type Version = '1.19.2' | '1.19.1' | '1.18.31' | '1.18.30' | '1.18.12' | '1.18.11' | '1.18.10' | '1.18.2' | '1.18.1' | '1.18.0' | '1.17.41' | '1.17.40' | '1.17.34' | '1.17.30' | '1.17.11' | '1.17.10' | '1.17.0' | '1.16.220' | '1.16.210' | '1.16.201' + type Version = '1.19.10' | '1.19.2' | '1.19.1' | '1.18.31' | '1.18.30' | '1.18.12' | '1.18.11' | '1.18.10' | '1.18.2' | '1.18.1' | '1.18.0' | '1.17.41' | '1.17.40' | '1.17.34' | '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 2977877..f4aaeb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bedrock-protocol", - "version": "3.14.0", + "version": "3.15.0", "description": "Minecraft Bedrock Edition protocol library", "main": "index.js", "scripts": { diff --git a/src/options.js b/src/options.js index db3bee2..a4288fb 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.19.1' +const CURRENT_VERSION = '1.19.10' const Versions = Object.fromEntries(mcData.versions.bedrock.filter(e => e.releaseType === 'release').map(e => [e.minecraftVersion, e.version]))