fix-partially-deprecated-apis
Installation
SKILL.md
Fix Partially Deprecated APIs
This skill fixes partially deprecated API usage that the UI5 linter detects but cannot auto-fix because they require understanding the specific deprecated variant being used.
Quick Reference
| API | Deprecated Usage | Fix |
|---|---|---|
Parameters.get |
No args, string, or array | Object with name and callback |
JSONModel.loadData |
bAsync=false (3rd param) |
Omit or set true |
Mobile.init |
homeIcon/homeIconPrecomposed |
Remove, use web manifest |
ODataModel.v2.createEntry |
batchGroupId |
Use groupId |
ODataModel.v2.createEntry |
properties as array |
Use object with values |
View.create |
type: "JS/JSON/HTML/Template" |
Use "XML" or omit |
Fragment.load |
type: "HTML" |
Use "XML" or omit |
Router constructor |
Missing/false async |
Set async: true |
| Binding formatter | String value in JS | Function reference |