Skip to content

Latest commit

 

History

History
394 lines (204 loc) · 21.8 KB

CHANGELOG.md

File metadata and controls

394 lines (204 loc) · 21.8 KB

Changelog

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

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)