Fix Library Init

by UI52b8c4a944e39No licenseListed Oct 8, 2026Updated Oct 8, 2026

Fix Library.init() apiVersion issues and modernize enums to DataType.registerEnum. Use this skill when linter outputs: - `no-deprecated-api` with message "Deprecated call to ... Use the {apiVersion: 2} parameter instead" Trigger on library.js files with errors about: "Deprecated call to", "Lib.init", "Library.init", "{apiVersion: 2} parameter" Adds apiVersion: 2 to Library.init() calls and modernizes enum definitions to use DataType.registerEnum, which is required for type validation when using apiVersion: 2.

Instructions onlySoftware Development
  1. 2b8c4a944e39Currentcommit 2b8c4a9Published Oct 8, 2026

Source and attribution

Source:UI5/plugins-coding-agentsinplugins/ui5-modernization/skills/fix-library-initat commit2b8c4a9

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal