diff --git a/CHANGELOG.md b/CHANGELOG.md index 66b6d28..54b762e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to the KoalaSync browser extension and relay server. --- +## [v2.0.8] — 2026-06-03 + +### Fixed +- Fixed a bug where switching language inside the extension popup overwrote dynamic fields (such as active room ID, connection status, active server details, and video debug info) with default localized placeholder texts. +- Fixed a version reporting mismatch where the copied logs (debug reports) and connection handshake parameters incorrectly reported the hardcoded `1.9.0` version instead of the actual installed manifest version. + +--- + ## [v2.0.7] — 2026-06-03 ### Added diff --git a/extension/background.js b/extension/background.js index 72a4606..b2f491e 100644 --- a/extension/background.js +++ b/extension/background.js @@ -1,4 +1,4 @@ -import { EVENTS, PROTOCOL_VERSION, OFFICIAL_SERVER_URL, OFFICIAL_SERVER_TOKEN, APP_VERSION, EPISODE_LOBBY_TIMEOUT, FORCE_SYNC_TIMEOUT } from './shared/constants.js'; +import { EVENTS, PROTOCOL_VERSION, OFFICIAL_SERVER_URL, OFFICIAL_SERVER_TOKEN, EPISODE_LOBBY_TIMEOUT, FORCE_SYNC_TIMEOUT } from './shared/constants.js'; import { generateUsername } from './shared/names.js'; import { loadLocale, getMessage, SUPPORTED_LANGUAGES } from './i18n.js'; @@ -457,7 +457,7 @@ async function connect() { url.pathname = '/socket.io/'; url.searchParams.set('EIO', '4'); url.searchParams.set('transport', 'websocket'); - url.searchParams.set('version', APP_VERSION); + url.searchParams.set('version', chrome.runtime.getManifest().version); url.searchParams.set('token', OFFICIAL_SERVER_TOKEN); socket = new WebSocket(url.toString()); @@ -1353,7 +1353,7 @@ async function handleAsyncMessage(message, sender, sendResponse) { reconnectSlowMode: reconnectFailed, roomId: currentRoom ? currentRoom.roomId : null, serverUrl: currentServerUrl, - version: APP_VERSION, + version: chrome.runtime.getManifest().version, protocolVersion: PROTOCOL_VERSION, roomPassword: currentRoom ? currentRoom.password : null }); diff --git a/extension/popup.html b/extension/popup.html index 22eeb37..8a2ed5d 100644 --- a/extension/popup.html +++ b/extension/popup.html @@ -375,9 +375,9 @@