Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap: Next #323

Open
12 tasks
flovogt opened this issue Sep 26, 2024 · 1 comment
Open
12 tasks

Roadmap: Next #323

flovogt opened this issue Sep 26, 2024 · 1 comment
Labels
roadmap Issue contains a roadmap

Comments

@flovogt
Copy link
Member

flovogt commented Sep 26, 2024

Roadmap: Next

This issue describes the currently foreseen changes for the next release of @ui5/linter. The list is not exhaustive and may change over time.

Detection improvements

  • Detect usage of private/restricted UI5 APIs (CPOUI5FOUNDATION-948)
  • Detect usage of experimental UI5 APIs (CPOUI5FOUNDATION-933)

Autofix (JavaScript)

  • Migrate legacy jQuery based module definition to UI5 module definition (CPOUI5FOUNDATION-989)
  • Migrate globals to modules (only in JS files) (CPOUI5FOUNDATION-989)
  • Migrate jQuery/jQuery.sap based utilities to dedicated UI5 modules (CPOUI5FOUNDATION-990)
  • Migrate deprecated Core and Configuration APIs (CPOUI5FOUNDATION-991)
  • Migrate further deprecated APIs (CPOUI5FOUNDATION-992)
    • Limited to 1:1 replacements, e.g. sap/m/Button#tap -> sap/m/Button#press
  • Migrate advanced deprecated APIs (in JS and XML) (CPOUI5FOUNDATION-995)
  • Offer replacements in JSON files (CPOUI5FOUNDATION-996)
    • Add missing framework libraries in manifest.json (sapui5/dependencies)
  • Offer replacements in ui5 yaml files (CPOUI5FOUNDATION-997)
    • Add missing framework libraries in ui5.yaml (framework/libs)
  • Offer replacements in HTML files (CPOUI5FOUNDATION-998)
    • Rewrite bootstrap attributes (camel case -> kebap case), e.g. data-sap-ui-onInit -> data-sap-ui-on-init

Autofix (TypeScript)

We plan to offer the same range of autofix capabilities for TypeScript projects as for JavaScript based projects. Currently, the focus is on JavaScript projects. SAP internally this enhancement is tracked in CPOUI5FOUNDATION-1000.

Configuration

  • Allow configuration of UI5 version (CPOUI5FOUNDATION-856)
    • Currently, the latest LTS version 1.120 is used
@flovogt flovogt added bug Something isn't working roadmap Issue contains a roadmap and removed bug Something isn't working labels Sep 26, 2024
@RandomByte RandomByte pinned this issue Oct 4, 2024
@pubmikeb
Copy link

In terms of roadmap discussion, it would be great to be able to audit usage of private/restricted UI5 APIs, this allows keeping the UI5 codebase in a proper way and significantly reduces risks, problems, and costs with the apps maintenance.

Regarding CPOUI5FOUNDATION-856, it allows getting rid of eslint-plugin-ui5depchk and completely switching to ui5-linter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap Issue contains a roadmap
Projects
None yet
Development

No branches or pull requests

2 participants