Releases: SAP/ui5-linter
Releases · SAP/ui5-linter
v1.7.0
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)
v1.6.1
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)
v1.6.0
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)
v1.5.0
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)
v1.4.1
1.4.1 (2024-11-28)
Bug Fixes
- amdTranspiler: Extend call without classInfo (b90b9e0)
- False-positive global findings in controllers (b48a2dc)
v1.4.0
1.4.0 (2024-11-25)
Features
- Add type support for "byId" in controllers (#423) (cc2cf60)
v1.3.1
1.3.1 (2024-11-15)
Bug Fixes
- Properly check directly exported renderer (91ddd39)
- Test Starter Configs: Fix false-positive findings (#409) (cf6907c)
v1.3.0
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)
v1.2.0
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)
v1.1.1
1.1.1 (2024-10-18)
Bug Fixes
- amdTranspiler: Fix exception "Node not found in array" (75d2aa8)
- Properly check UI5 class inheritance (79f9123)