From 32fe23486e838f0c674132c72f45a23691ebf40e Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Mon, 20 Sep 2021 15:16:53 +0300 Subject: [PATCH] feat: introduce temporary protocol version 2 --- lib/version/protocolVersion.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/version/protocolVersion.js b/lib/version/protocolVersion.js index 7161d534..cd467193 100644 --- a/lib/version/protocolVersion.js +++ b/lib/version/protocolVersion.js @@ -1,5 +1,5 @@ module.exports = { - latestVersion: 1, + latestVersion: 2, // Even if we bumping protocol version, previous versions of entity structures // can be still compatible, that allow to not update clients so often. // @@ -7,5 +7,6 @@ module.exports = { // [protocolVersion]: [minimumCompatibleProtocolVersions] compatibility: { 1: 1, + 2: 1, }, };