remove old backstage injection and remove all legacy code

This commit is contained in:
KingKDot
2026-08-20 10:57:56 -05:00
parent ea22c83c37
commit 4ed32f6b65
43 changed files with 142 additions and 5795 deletions
+22 -4
View File
@@ -1,6 +1,6 @@
{
"$schema": "./wire-contract.schema.json",
"schemaVersion": 1,
"schemaVersion": 2,
"protocolVersion": 1,
"encoding": "messagepack",
"compatibility": "additive",
@@ -8,32 +8,50 @@
"defaultVersion": 1,
"overrides": {
"backstage_start_browser_injected": {
"latestVersion": 2,
"latestVersion": 3,
"minVersion": 2,
"changes": {
"2": {
"breaking": true,
"summary": "Use a Backstage injection DLL with a randomized reflective-loader export",
"migration": "Keep the v1 payload fields unchanged but supply a DLL exporting ReflectiveLoader; v2 supplies the same payload with a DLL whose loader export is x followed by six lowercase hexadecimal digits"
},
"3": {
"breaking": true,
"summary": "Remove the legacy fixed-export injection DLL; only the randomized-export Rust DLL is served",
"migration": "v2 payloads are unchanged and remain valid. v1 is no longer supported: clients that require a DLL exporting the fixed ReflectiveLoader name are rejected at negotiation and must be upgraded to accept a DLL whose loader export is x followed by six lowercase hexadecimal digits"
}
}
},
"backstage_start_chrome_injected": {
"latestVersion": 2,
"latestVersion": 3,
"minVersion": 2,
"changes": {
"2": {
"breaking": true,
"summary": "Use a Backstage injection DLL with a randomized reflective-loader export",
"migration": "Keep the v1 payload fields unchanged but supply a DLL exporting ReflectiveLoader; v2 supplies the same payload with a DLL whose loader export is x followed by six lowercase hexadecimal digits"
},
"3": {
"breaking": true,
"summary": "Remove the legacy fixed-export injection DLL; only the randomized-export Rust DLL is served",
"migration": "v2 payloads are unchanged and remain valid. v1 is no longer supported: clients that require a DLL exporting the fixed ReflectiveLoader name are rejected at negotiation and must be upgraded to accept a DLL whose loader export is x followed by six lowercase hexadecimal digits"
}
}
},
"backstage_start_process_injected": {
"latestVersion": 2,
"latestVersion": 3,
"minVersion": 2,
"changes": {
"2": {
"breaking": true,
"summary": "Use a Backstage injection DLL with a randomized reflective-loader export",
"migration": "Keep the v1 payload fields unchanged but supply a DLL exporting ReflectiveLoader; v2 supplies the same payload with a DLL whose loader export is x followed by six lowercase hexadecimal digits"
},
"3": {
"breaking": true,
"summary": "Remove the legacy fixed-export injection DLL; only the randomized-export Rust DLL is served",
"migration": "v2 payloads are unchanged and remain valid. v1 is no longer supported: clients that require a DLL exporting the fixed ReflectiveLoader name are rejected at negotiation and must be upgraded to accept a DLL whose loader export is x followed by six lowercase hexadecimal digits"
}
}
}
+1
View File
@@ -35,6 +35,7 @@
"required": ["latestVersion", "changes"],
"properties": {
"latestVersion": { "type": "integer", "minimum": 2 },
"minVersion": { "type": "integer", "minimum": 1 },
"changes": {
"type": "object",
"patternProperties": {