create depreciation scanning tool

This commit is contained in:
zefie
2026-05-03 15:23:23 -04:00
parent 4347543ef7
commit 0c5dc17ae6
5 changed files with 408 additions and 17 deletions

View File

@@ -37,7 +37,7 @@ if (minisrv_config.config.hide_incomplete_features) {
}
/* We need to fix most webtv viewers for this, since they spoof a build that doesn't support messenger?
if (!session_data.hasCap("client-can-use-messenger")) {
if (!session_data.capabilities.get("client-can-use-messenger")) {
removeSettingByUrl("wtv-setup:/messenger");
}
*/

View File

@@ -0,0 +1,18 @@
[
{
"id": "session_data.hasCap",
"pattern": "session\\_data\\.hasCap\\s*\\(",
"flags": "g",
"message": "session_data.hasCap() is deprecated and will be removed",
"removeVersion": "0.9.80",
"replacement": "Use session_data.capabilities.get() instead"
},
{
"id": "getServiceString",
"pattern": "(?<!wtvshared\\.)getServiceString\\s*\\(",
"flags": "g",
"message": "getServiceString() is deprecated and will be removed",
"removeVersion": "0.9.80",
"replacement": "Use wtvshared.getServiceString() instead"
}
]