Skip to content

Commit 2df67bb

Browse files
committed
[FIX] upgrade: half-versions are missing in mapping
Commit 4d671eb didn't add intermediary versions 12.5 and 14.5 in the mapping. As a result, `data.version` was transformed to `undefined` and the data would go through every upgrade steps from the very begining, which could obviously lead to crashes and corrupted data. closes #7367 Task: 5116401 Signed-off-by: Adrien Minne (adrm) <[email protected]>
1 parent f13dd1c commit 2df67bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/migrations/data.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ const LEGACY_VERSION_MAPPING = {
8080
17: "17.4",
8181
16: "17.3",
8282
15: "17.2",
83+
"14.5": "16.4.1",
8384
14: "16.4",
8485
13: "16.3",
86+
"12.5": "15.4.1",
8587
12: "15.4",
8688

8789
// not accurate starting at this point

0 commit comments

Comments
 (0)