MISC: Add removal of fuzzy matching to list of breaking changes (#2149)

This commit is contained in:
catloversg
2025-05-30 17:38:56 +07:00
committed by GitHub
parent 296295b490
commit e34a29c458
4 changed files with 194 additions and 148 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ import { exportMaterial } from "../Corporation/Actions";
import { getGoSave, loadGo } from "../Go/SaveLoad";
import { showAPIBreaks } from "./APIBreaks/APIBreak";
import { breakInfos261 } from "./APIBreaks/2.6.1";
import { breakInfos300 } from "./APIBreaks/3.0.0";
import { breakingChanges300 } from "./APIBreaks/3.0.0";
/** Function for performing a series of defined replacements. See 0.58.0 for usage */
function convert(code: string, changes: [RegExp, string][]): string {
@@ -527,7 +527,7 @@ Error: ${e}`,
loadGo(JSON.stringify(freshSaveData));
}
if (ver < 39) {
showAPIBreaks("2.6.1", ...breakInfos261);
showAPIBreaks("2.6.1", breakInfos261);
}
if (ver < 42) {
// All whitespace except for spaces was allowed in filenames
@@ -547,6 +547,6 @@ Error: ${e}`,
if (found) Terminal.error("Filenames with whitespace found and corrected, see console for details.");
}
if (ver < 44) {
showAPIBreaks("3.0.0", ...breakInfos300);
showAPIBreaks("3.0.0", breakingChanges300);
}
}