From 45c34f147744f2de760f549b7735bc9c313fbc61 Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Wed, 29 Apr 2020 04:25:08 -0500 Subject: [PATCH] release 5.2.0 --- assets/js/main.js | 2 +- docs/CHANGELOG.md | 5 +++++ package-lock.json | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/js/main.js b/assets/js/main.js index 589f6f9..2b3b36d 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -5,7 +5,7 @@ import io from 'socket.io-client' const app = new App() document.addEventListener('DOMContentLoaded', function () { - const socket = io.connect('http://localhost:8080', { + const socket = io.connect({ reconnect: true, reconnectDelay: 1000, reconnectionAttempts: 10 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 347473b..377b4d8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,8 @@ +**5.2.0** *(Apr 29 2020)* +- Updated protocol to use serverIds instead of string names. This will reduce wasted bandwidth when pushing updates. +- Removed "updatePeak", "peaks" and "updateHistoryGraph" socket events. Their behavior has been optimized and merged into "update". +- Removed various legacy code. + **5.1.2** *(Apr 22 2020)* - Fixes the historical graph overflowing the maximum graphDuration value. diff --git a/package-lock.json b/package-lock.json index 08f317a..22a0c9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "minetrack", - "version": "5.1.2", + "version": "5.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index df644e5..5633989 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minetrack", - "version": "5.1.2", + "version": "5.2.0", "description": "A Minecraft server tracker that lets you focus on the basics.", "main": "main.js", "dependencies": {