Bump version, update changelog and add an isSignificant field

main
peshomir 2026-01-25 22:52:18 +02:00
parent debe92afb4
commit 43c46f3a3a
2 changed files with 8 additions and 10 deletions

View File

@ -1,5 +1,5 @@
import versionData from '../version.json'; import versionData from '../version.json';
const { version, lastUpdated } = versionData; const { version, lastUpdated, isSignificant } = versionData;
import settingsManager from './settings.js'; import settingsManager from './settings.js';
import { clanFilter, leaderboardFilter } from "./clanFilters.js"; import { clanFilter, leaderboardFilter } from "./clanFilters.js";
@ -22,7 +22,7 @@ __fx.isCustomLobbyVersion = window.location.href.startsWith("https://fxclient.gi
const savedVersion = localStorage.getItem("fx_version"); const savedVersion = localStorage.getItem("fx_version");
if (savedVersion !== version && !__fx.isCustomLobbyVersion) { if (savedVersion !== version && !__fx.isCustomLobbyVersion) {
localStorage.setItem("fx_version", version); localStorage.setItem("fx_version", version);
if (savedVersion !== null) displayChangelog(); if (savedVersion !== null && isSignificant) displayChangelog();
} }
__fx.settingsManager = settingsManager; __fx.settingsManager = settingsManager;

View File

@ -1,11 +1,9 @@
{ {
"version": "0.6.18", "version": "0.6.18.1",
"lastUpdated": "Dec 30", "lastUpdated": "Jan 25",
"changes": [ "changes": [
"Updated custom lobbies to the latest version", "Fixes for game update v2.15.3",
"When creating a custom lobby, you can now select a region where it will be created", "The \"What's new\" screen is no longer shown automatically after insignificant updates (such as this one)"
"The latency to the custom lobby server is displayed below the header in the custom lobby UI", ],
"Improved the propaganda blocking feature", "isSignificant": false
"Added automatic patches for the special custom lobby version (https://fxclient.github.io/custom-lobbies) which continues to serve its purpose of guaranteeing access to custom lobbies while allowing the regular version to quickly be updated to the latest Territorial.io version, neglecting the custom lobby patches if needed"
]
} }