Skip to content

Latest commit

 

History

History
914 lines (481 loc) · 50.1 KB

File metadata and controls

914 lines (481 loc) · 50.1 KB

Changelog

1.20.13 (2026-03-06)

Dependencies

1.20.12 (2026-02-27)

Bug Fixes

  • Teststarter false positives detection (#990) (71cb989)

1.20.11 (2026-02-17)

Dependencies

  • Bump fast-xml-parser from 5.3.4 to 5.3.5 (9771c96)
  • Bump semver from 7.7.3 to 7.7.4 (77a10e6)

1.20.10 (2026-02-04)

Dependencies

  • Bump minimatch from 10.1.1 to 10.1.2 (40b3aa5)

1.20.9 (2026-01-30)

Bug Fixes

  • Exclude native JS globals from formatter checks (#987) (6635730)

Dependencies

  • Bump globals from 17.1.0 to 17.2.0 (0151997)
  • Bump tar from 7.5.6 to 7.5.7 (9573892)

1.20.8 (2026-01-23)

Dependencies

  • Bump @sapui5/types from 1.136.13 to 1.136.14 (6f2ca5c)
  • Bump @ui5/fs from 4.0.3 to 4.0.4 (60f75a0)
  • Bump globals from 16.5.0 to 17.0.0 (111f926)
  • Bump globals from 17.0.0 to 17.1.0 (6a044a5)
  • Bump tar from 6.2.1 to 7.5.6 (83c6665)

1.20.7 (2025-12-29)

Dependencies

  • Bump @sapui5/types from 1.136.12 to 1.136.13 (#960) (91d5395)
  • Bump fast-xml-parser from 5.3.2 to 5.3.3 (987defc)

1.20.6 (2025-12-07)

Dependencies

  • Bump @sapui5/types from 1.136.11 to 1.136.12 (#947) (17ebfc4)
  • Bump @ui5/project from 4.0.8 to 4.0.9 (6fce75c)
  • Bump sax-wasm from 3.1.2 to 3.1.3 (eaa36eb)

1.20.5 (2025-11-18)

Dependencies

  • Bump fast-xml-parser from 5.3.1 to 5.3.2 (2741a85)

1.20.4 (2025-11-17)

Dependencies

  • Bump @sapui5/types from 1.136.10 to 1.136.11 (bf2dd98)
  • Bump js-yaml from 4.1.0 to 4.1.1 (34badcb)

1.20.3 (2025-10-31)

Bug Fixes

  • rules/renderer: Detect missing apiVersion for method declarations (ecde6ec)

Dependencies

  • Bump @sapui5/types from 1.136.9 to 1.136.10 (5e51cf1)
  • Bump @ui5/project from 4.0.6 to 4.0.7 (bf51ba8)
  • Bump @ui5/project from 4.0.7 to 4.0.8 (3fa4316)
  • Bump magic-string from 0.30.19 to 0.30.21 (1208fdd)
  • Bump minimatch from 10.0.3 to 10.1.1 (a2b73b4)
  • Bump semver from 7.7.2 to 7.7.3 (a6b05d6)

1.20.2 (2025-10-06)

Dependencies

  • Bump @sapui5/types from 1.136.8 to 1.136.9 (eeae10a)
  • Bump @ui5/fs from 4.0.2 to 4.0.3 (8639fb2)
  • Bump @ui5/project from 4.0.5 to 4.0.6 (184ea9e)
  • Bump fast-xml-parser from 5.2.5 to 5.3.0 (2d05f07)
  • Bump typescript from 5.9.2 to 5.9.3 (a5e5c71)

1.20.1 (2025-09-18)

Bug Fixes

  • Handle correctly transpilation exception of UnsafeNodeRemoval (#870) (5a61cb0)

Dependencies

  • Bump @ui5/fs from 4.0.1 to 4.0.2 (674b8fb)
  • Bump @ui5/project from 4.0.4 to 4.0.5 (e1e95ff)

1.20.0 (2025-09-11)

Features

Bug Fixes

  • Ensure deterministic order of processing source files (#842) (dcf884d)

Dependencies

  • Bump @jridgewell/trace-mapping from 0.3.30 to 0.3.31 (48a9a4b)
  • Bump @sapui5/types from 1.136.7 to 1.136.8 (#850) (3a07ad8)
  • Bump chalk from 5.6.0 to 5.6.2 (94639e0)
  • Bump globals from 16.3.0 to 16.4.0 (9f3c522)
  • Bump magic-string from 0.30.18 to 0.30.19 (7ed2b58)

1.19.0 (2025-08-28)

Features

  • autofix: Remove 'synchronizationMode' from manifest.json (#833) (b751244)
  • autofix: Remove empty 'sap.ui5/resources/js' from manifest.json (c894fc7)
  • Offer migration functionality to recommended event handler notation (#804) (954754c)

Dependencies

  • Bump sax-wasm from 3.1.1 to 3.1.2 (8f2302d)

1.18.1 (2025-08-22)

Bug Fixes

  • Bootstrap attributes: Evaluate compat-version + attribute aliases (#824) (4e3563d)

Dependencies

  • Bump @sapui5/types from 1.136.6 to 1.136.7 (9b03d9e)
  • Bump magic-string from 0.30.17 to 0.30.18 (12bb6b0)

1.18.0 (2025-08-19)

Features

  • autofix: Fix UI5 Bootstrap Parameters in HTML (#779) (ee05a3a)
  • Offer autofix for deprecated sap/ui/base/Object.isA API (#796) (315e334)

Dependencies

  • Bump @jridgewell/sourcemap-codec from 1.5.4 to 1.5.5 (101e0f5)
  • Bump @jridgewell/trace-mapping from 0.3.29 to 0.3.30 (fe6638c)
  • Bump @sapui5/types from 1.136.3 to 1.136.6 (6d295d3)
  • Bump chalk from 5.4.1 to 5.5.0 (33450ad)
  • Bump chalk from 5.5.0 to 5.6.0 (94df61f)
  • Bump sax-wasm from 3.0.10 to 3.0.11 (d4025d8)
  • Bump sax-wasm from 3.0.11 to 3.0.12 (9eaeea3)
  • Bump sax-wasm from 3.0.12 to 3.1.0 (c34bc53)
  • Bump sax-wasm from 3.0.8 to 3.0.9 (4b45c03)
  • Bump sax-wasm from 3.0.9 to 3.0.10 (9c11249)
  • Bump sax-wasm from 3.1.0 to 3.1.1 (ca7cb9d)
  • Bump typescript from 5.8.3 to 5.9.2 (d234126)

1.17.0 (2025-07-22)

Features

  • Add html linter output (8f0d631)
  • binding: Add detection for composite bindings (parts) in code (#762) (9702009)
  • Export 'Ui5TypeInfoMatcher' module (ccae857)

Bug Fixes

  • autofix: Do not add cyclic deps in framework modules (a22b117)

Dependencies

  • Bump @sapui5/types from 1.136.2 to 1.136.3 (c2a03bf)
  • Bump sax-wasm from 3.0.6 to 3.0.8 (733b6b3)

1.16.1 (2025-07-08)

Bug Fixes

  • Update links to latest LTS version 1.136 (e0eac12)

1.16.0 (2025-07-03)

Dependencies

  • Bump @sapui5/types from 1.120.32 to 1.136.2 (#751) (4b4944a)

1.15.0 (2025-07-02)

Features

  • autofix: Fix deprecated module import for 'sap/ui/core/Configuration' (007d42b)
  • autofix: Fix global 'sap.ui.getCore()' (7caa612)

Bug Fixes

  • Show plural form for fatal errors only in case more than 1 fatal error occurs (a13240e)

Dependencies

  • Bump @jridgewell/sourcemap-codec from 1.5.0 to 1.5.1 (e4f0460)
  • Bump @jridgewell/sourcemap-codec from 1.5.1 to 1.5.3 (aca80c3)
  • Bump @jridgewell/trace-mapping from 0.3.25 to 0.3.26 (071fb17)
  • Bump @jridgewell/trace-mapping from 0.3.26 to 0.3.28 (c115c94)
  • Bump @jridgewell/trace-mapping from 0.3.28 to 0.3.29 (4c761be)
  • Bump globals from 16.2.0 to 16.3.0 (6aeeeec)

1.14.0 (2025-06-27)

Features

Bug Fixes

  • autofix: Prevent invalid delete expressions (3f3c720)
  • SourceFileLinter: Remove double quote (e7cabcb)
  • TypeScript error "Cannot find module './MessageArgs.js'" (08ff3e5)

Dependencies

  • Bump @sapui5/types from 1.120.31 to 1.120.32 (#730) (3f3736d)
  • Bump globals from 16.1.0 to 16.2.0 (22bbfe3)
  • Bump minimatch from 10.0.2 to 10.0.3 (cf82d1e)

1.13.1 (2025-05-12)

Bug Fixes

  • autofix: Do not fix global access of Core module (#641) (cfb5886)

Dependencies

  • Bump @sapui5/types from 1.120.29 to 1.120.30 (509382f)
  • Bump globals from 16.0.0 to 16.1.0 (6293fcc)

1.13.0 (2025-04-16)

Features

  • directives: Add ui5lint-disable directives for XML, YAML and HTML (#623) (fd20d12)

Performance Improvements

  • Improve lazy loading of TypeScript definitions (492cbf8)

Dependencies

  • Bump @sapui5/types to 1.120.29 (6c36d4d)

1.12.0 (2025-03-18)

Features

Bug Fixes

  • Cannot read properties of undefined (reading 'map') (28ab574)
  • Detect outdated notation for bootstrap attribute log-level (#603) (4fb76f8)
  • Suppress eslint finding (93acfff)

Performance Improvements

  • Prevent unnecessary TypeScript libReplacement lookup (dac9f88)

Dependencies

  • Bump typescript from 5.7.3 to 5.8.2 (ed84349)

1.11.0 (2025-02-28)

Features

  • Check all attributes for bindings in XML (3c6cfc4)

Bug Fixes

  • amdTranspiler: Ensure correct line information (dd2d09f)
  • False-positives for event handlers in XML (#559) (0ed0068)
  • Improve deprecated function message (ecda17e)
  • Improve extraction of inline XML (#547) (c1336a4)
  • XML namespace handling (4be9fde)

1.10.0 (2025-02-25)

Features

Bug Fixes

  • Check bindings of all ManagedObject subclasses (5435623)
  • False-positives for requestCurrencyCodes/requestUnitsOfMeasure (24f6ea7)
  • Improve deprecation detection (f1719f0)
  • Valid Js syntax after XML transpilation (#552) (98b89d5)

Dependencies

  • Bump sax-wasm from 3.0.4 to 3.0.5 (79e0549)

1.9.0 (2025-02-17)

Features

  • Add global detection for XML Templating (45729a0)
  • binding: Add detection for composite bindings (parts) (#541) (561d482)
  • Check event handlers in XML views/fragments (57d8251)
  • Detect inline XML fragments & views (#519) (e85ad26)
  • Detect legacy template:require (space-separated list) (76394f8)
  • OData implicit globals detection (JS/TS) (#533) (257d005)

Bug Fixes

  • formatter: Remove duplicate findings (d240b4a)
  • Handle relative imports within framework libs (b063e4d)
  • Prevent false-positive "prefer-test-starter" in testsuite (follow-up) (45edfe0)

Dependencies

  • Bump @sapui5/types to 1.120.26 (fbb5016)

1.8.0 (2025-01-31)

Features

  • binding: Detect global formatter notation in bindings (0845caf)
  • binding: Detect more globals in property- and aggregation bindings (406f6f5)
  • Detection for UI5 Model Data Types (#480) (572db29)
  • Formatter: Detect globals and strings of formatters in bindings (JS/TS) (#499) (291ffed)
  • OData implicit globals detection (#510) (daff87b)

Bug Fixes

  • binding: Resolve 'Bad name' error on tab (1466abb)
  • CodeQL scan (#509) (67e86d8)
  • Improve overall code detection (#489) (af6dbd4)
  • Prevent false-positive "prefer-test-starter" in testsuite (2e733d2)
  • Provide check for alternative names of the properties (#506) (8d2ad2f)
  • XML: Do not fail on empty core:require attribute (4efb2d7)
  • xmlTemplate: Fix column position off-by-one (07169f6)

Dependencies

1.7.0 (2025-01-15)

Features

  • Detect deprecated 'type' in Controller#loadFragment (61fa2c2)
  • Detect deprecated 'type' in Fragment.load / <core:Fragment> (16e3f94)
  • Detect deprecated 'type' in View.create / <mvc:View> (14667aa)
  • Detect usage of non exported values by library.js (#468) (be2cbb7)
  • Improve deprecation detection of property accesses (42fb8a5)

Bug Fixes

  • amdTranspiler: Handle NewExpression (4988013)
  • API: Remove ui5Config parameter defaulting (e31d89e)
  • parsing-error: Failed to map back to source (2876f35)

Dependencies

  • Bump typescript from 5.7.2 to 5.7.3 (d3f0471)

1.6.1 (2025-01-08)

Bug Fixes

  • linter: Prefer 'webapp' and 'src' directories for init fallbacks (a56db27)

Dependencies

  • Bump @sapui5/types to 1.120.25 (4096664)

1.6.0 (2025-01-08)

Features

  • Add further deprecated configuration option detection (#357) (28e60a0)
  • Detect non-Test Starter test setups (#448) (8d7442f)
  • linter: Extend project initialization fallbacks (f9b0f96)

Bug Fixes

  • Allow renderer v4 (#443) (2e2d8d2)
  • ConfigManager: Resolve ESM import exception on Windows (87c21e6)
  • messages: Remove superfluous quotes and comma around message details (49ff2f8)

Dependencies

  • Bump chalk from 5.3.0 to 5.4.0 (2adeea4)
  • sax-wasm: Pin dependency to v2.2.4 (d595b4f)

1.5.0 (2024-12-10)

Features

  • Add ruleId to Markdown format output (913007c)
  • Detect override of control "rerender" (f416a0c)

Bug Fixes

  • Detect deprecations in new expressions with ID (156e747)
  • Detect more deprecated renderer declarations (74f65bf)
  • Improve module resolution (ce4eed8)
  • Match ignore-pattern starting with "./" (4eb2758)

Dependencies

  • Bump @sapui5/types to 1.120.24 (d0760c9)

1.4.1 (2024-11-28)

Bug Fixes

  • amdTranspiler: Extend call without classInfo (b90b9e0)
  • False-positive global findings in controllers (b48a2dc)

1.4.0 (2024-11-25)

Features

  • Add type support for "byId" in controllers (#423) (cc2cf60)

1.3.1 (2024-11-15)

Bug Fixes

  • Properly check directly exported renderer (91ddd39)
  • Test Starter Configs: Fix false-positive findings (#409) (cf6907c)

1.3.0 (2024-11-13)

Features

  • Add ui5lint-disable directives (#327) (3c29e52)
  • Detect deprecated themes set by Theming.setTheme() API (#389) (83b295f)
  • Node API in ui5 linter (#400) (626f022)
  • Test Starter: Detect deprecations in 'theme' property of test configuration (#387) (619457f)

Bug Fixes

  • Allow ignoring ui5.yaml files via config (a024d44)
  • Improve Control Renderer lint (#392) (8a3976f)

Dependencies

  • Bump @sapui5/types to 1.120.23 (96b46ca)

1.2.0 (2024-10-29)

Features

  • Allow usage of shorthand properties in extend call (#385) (64a27d8)
  • Check control renderer declaration (#374) (0c9b3e8)
  • Detect deprecated renderer-API usage (#366) (d4f682d)
  • html: Detect deprecated themes in 'href' attributes (#382) (2d4bcfa)

Bug Fixes

  • amdTranspiler: Handle extend call without args (f279771)
  • Control renderer check with quoted property (540614f)
  • Correctly handle namespace resolution in linting (#367) (922e76b)
  • ManagedObject check with quoted "metadata" property (90b1627)
  • Parent class check for Component analysis (9b41eb6)

1.1.1 (2024-10-18)

Bug Fixes

  • amdTranspiler: Fix exception "Node not found in array" (75d2aa8)
  • Properly check UI5 class inheritance (79f9123)

1.1.0 (2024-10-17)

Features

  • Detect deprecations in ManagedObject metadata (#349) (9cc1202)
  • Improve code detection for UI5 classes (JavaScript) (#358) (77b796e)

Bug Fixes

  • False positive for deprecated JS view/fragment type (63a12e2)

1.0.2 (2024-10-09)

Bug Fixes

  • html: Detect all missing bootstrap parameters (6d51ec5)
  • html: Improve detection of deprecated themes (1ca4210)
  • Remove checks for deprecated property names in manifest.json routing (#356) (631e78a)

Dependencies

  • Bump typescript from 5.6.2 to 5.6.3 (506b107)

1.0.1 (2024-10-02)

Bug Fixes

  • Check unmatched patterns (#334) (329f2cd)
  • Consider config patterns in root level reader (#346) (b54f553)
  • html: False positive for global function name in on-init bootstrap param (2495cc0)
  • html: False positive for multiple bootstrap script tags (74ad824)
  • html: Superfluous whitespace around deprecated library name (cf8b99b)
  • Update texts + test samples & the respective test snapshots (#344) (5639a2f)

Dependencies

1.0.0 (2024-09-30)

General

  • Usage of deprecated UI5 libraries
  • Usage of deprecated UI5 framework APIs
  • Usage of global variables
  • Possible CSP violations
  • Deprecated component and manifest configurations

New Features in this release

  • Allow usage of patterns in UI5 linter's file-paths config (#312) (d7f1817)
  • Detect deprecated View file types (#320) (a9c2467)
  • Detect sap/ui/core/plugin/DeclarativeSupport and sap/ui/core/plugin/LessSupport (#328) (6545780)
  • html: Detect deprecated bootstrap parameters (#316) (62489f7)

0.4.1 (2024-09-23)

Features

  • Add UI5 linter option for ui5.yaml config path (#313) (a213084)

0.4.0 (2024-09-17)

⚠ BREAKING CHANGES

  • messages: Drop 'ui5-linter-' prefix from rule names

Features

  • Allow excluding files from UI5 Linter checks (#264) (7181a94)
  • Detect partially deprecated APIs (#286) (dc66f91)

Bug Fixes

  • asyncComponentFlags: Fix detection of manifest: 'json' (single quotes) (8a6af93)
  • Bad formatting (996e160)
  • Ensure that results are in deterministic order (5cd8757)
  • Eslint findings (9d67098)
  • Eslint findings (f72109c)
  • linter/html: Fix glob pattern to match HTML files (18d80af)
  • NoGlobals: Fix false-positives for ElementAccessExpressions and some built-in globals (db0a057)
  • Remove moduleResolution CompilerHost setting (1f1dbf8)

Dependencies

  • Bump typescript from 5.5.4 to 5.6.2 (2dfb412)
  • Bump update-notifier from 7.3.0 to 7.3.1 (2e26a3f)

Code Refactoring

  • messages: Drop 'ui5-linter-' prefix from rule names (119b61a)

0.3.5 (2024-09-04)

Dependencies

  • Bump @sapui5/types to 1.120.20 (ee3695f)

0.3.4 (2024-08-27)

Features

0.3.3 (2024-08-20)

Bug Fixes

  • Detect deprecated property access in object destructuring (7477b9e)

0.3.2 (2024-08-12)

Bug Fixes

  • Missing detection of deprecated modules that export an interface (829e826)
  • Unhandled CallExpression expression syntax: CallExpression (3a7716d)

Dependencies

  • Bump @sapui5/types to 1.120.19 (2a4917f)
  • Bump @ui5/project from 4.0.0 to 4.0.1 (5f516e0)
  • Bump eslint from 8.57.0 to 9.8.0 (#230) (9e80d2f)
  • Pin update-notifier to v7.1.0 (cc6e8d4)
  • Switch back to latest version of update-notifier (3788faa)

0.3.1 (2024-07-30)

Features

  • Add detection for deprecated dependencies in .library (#104) (161f157)

0.3.0 (2024-07-24)

⚠ BREAKING CHANGES

  • Support for older Node.js has been dropped. Only Node.js 20.11.x and >=22.0.0 as well as npm v8 or higher are supported.

Features

  • Detect deprecated deps in Lib.init call (#197) (9c9c406)
  • Drop support for node v18, v21 (3ca58ed)

Bug Fixes

  • Consider allowed globals when they're accessed via globalThis (d370803)

Dependencies

  • Bump @jridgewell/sourcemap-codec from 1.4.15 to 1.5.0 (191620e)
  • Bump @sapui5/types to 1.120.18 (f6f0e07)
  • Bump @ui5/fs from 3.0.5 to 4.0.0 (6cb5130)
  • Bump @ui5/logger from 3.0.0 to 4.0.1 (d650e1d)
  • Bump @ui5/project from 3.9.2 to 4.0.0 (3834655)
  • Bump typescript from 5.5.2 to 5.5.3 (d8ad2ee)
  • Bump typescript from 5.5.3 to 5.5.4 (3f911a3)
  • Bump update-notifier from 7.0.0 to 7.1.0 (b798d53)

0.2.6 (2024-06-28)

Bug Fixes

  • amdTranspiler: Ensure unique class names (b70698c)
  • Disable TS-compiler checks for JavaScript resources (b34d7e9)

Dependencies

  • Bump @ui5/project from 3.9.1 to 3.9.2 (b81d416)
  • Bump typescript from 5.4.5 to 5.5.2 (4743d64)

0.2.5 (2024-06-11)

Bug Fixes

  • Update detection of deprecated (theme-)libs (fcfc518)

0.2.4 (2024-06-07)

Features

Dependencies

0.2.3 (2024-06-04)

Features

  • Component best practices- async flags check (#73) (1c58105)

Bug Fixes

  • Correct type for deprecated call on return value of another call (e715dbc)
  • Improve parsing of message details in VS Code problems matcher (ea8e258)
  • Position of deprecated function call errors (7084704)

Dependencies

  • Bump @sapui5/types to 1.120.13 (#116) (6e0744e)
  • Bump @sapui5/types to 1.120.14 (a1afef5)

0.2.2 (2024-04-23)

Bug Fixes

  • Don't exit synchronously when there still might be async I/O (#90) (fd9b7b9)

Dependencies

  • eslint: Upgrade @eslint/js and @stylistic/eslint-plugin (41b3a98)

0.2.1 (2024-04-17)

Features

  • Alerts for new ui5lint version in console (#57) (9b17887)
  • Check script tags for inline JS (#48) (70b719a)
  • Detect deprecations in ui5.yaml (in root directory) (#39) (db118b1)
  • Detect pseudo modules (#60) (508d81d)

Bug Fixes

  • amdTranspiler: Fix substiute for sap.ui.require errbacks (c52b53f)
  • Respect src attribute for script tags and include module type for checks (#70) (2b28e5f)

Dependencies

  • Bump @sapui5/types to 1.120.12 (fa7592b)
  • Update typescript to v5.4.5 and move yauzl-promise to dev-deps (8982185)

0.2.0 (2024-03-26)

⚠ BREAKING CHANGES

  • cli: Depending on how UI5 linter is being used, this change might change the behavior of that particular scenario. For example a build script might abort further processing, if any linting errors are detected.

Features

  • Analyze sap.ui.core.Lib.init() call (#33) (6d5bcdb)
  • cli: In case of errors, exit with code 1 (96331fc)

Bug Fixes

Performance Improvements

  • Load SAPUI5 types only when needed (#46) (b7e9a2b)

Dependencies

  • Bump @sapui5/types to 1.120.11 (9cbdf1d)

0.1.3 (2024-03-19)

Features

  • Detect deprecated libs and components in manifest.json (#34) (8aa74e1)

Reverts

  • Remove workaround for deprecation text (5d81856), closes #29

0.1.2 (2024-03-14)

Bug Fixes

  • npm: Install error "Unsupported platform @esbuild/aix-ppc64@0.19.12" (5815178)

0.1.1 (2024-03-14)

Features

  • Detect usage of deprecated jQuery.sap API (e8e2314)

Bug Fixes

  • Remove duplicate messages (81a6671)
  • xml-transpiler: Log unknown namespaces as verbose instead of warning (6a73c17)

Performance Improvements

  • Only collect coverage info / details when requested (8ac64f6)

0.1.0 (2024-03-13)

Features

  • Add support for Node v18.14.2 (eb21b02)
  • Enable links in VS Code terminal (#6) (1572f77)
  • Initial version (5466be5)