Releases: StefanMaron/BusinessCentral.LinterCop
Releases · StefanMaron/BusinessCentral.LinterCop
v0.30.12 🌈
Changes
🐛 Bug Fixes
- Improve performance with remove need for try/catch for LC0003 @Arthurvdv (#508)
- Resolve NullReferenceException on LC0003 @Arthurvdv (#507)
- Resolve IndexOutOfRangeException on LC0012 @Arthurvdv (#504)
- Resolve false positive for LC0016 on groups inside a Promoted area @Arthurvdv (#501)
🚀 Features
- LC0050: Improve documentation/description @Arthurvdv (#502)
- LC0044: Exclude fields with #pragma warning disable @tinestaric
- New rule LC0051 Do not assign a text to a target with smaller size. @Arthurvdv (#499)
- Prepare LC0043 for SecretText on IsolatedStorage @Arthurvdv (#502)
v0.30.11 🌈
Changes
🐛 Bug Fixes
- Resolve System.InvalidCastException on LC0044 @Arthurvdv (#476)
- Bound LC0044 to BuiltInMethod only @Arthurvdv (#477)
- Resolve exception on LC0039 and LC0048 @Arthurvdv (#483)
- Resolve false positives with Enums on LC0044 @Arthurvdv (#489)
- Resolve false positives on fields of type FlowField/FlowFilter on LC0044 @Arthurvdv (#489)
🚀 Features
- Up to 1000% performance gain on LC0009/LC0010 @dannoe (#463)
- Add PermissionSet object to LC0016 @Arthurvdv (#478)
- Improved description for LC0025 @Arthurvdv (#487)
- Add new Job and Comment Line Archive entities to LC0044 @Arthurvdv (#488)
- New rule LC0049: Page without SourceTable defined @Arthurvdv (#485)
- New rule LC0050: SetFilter with unsupported operator in filter expression. @Arthurvdv (#491)
v0.30.10 🌈
Changes
🐛 Bug Fixes
- Resolve false positives on LC0004 (workspaces) @Arthurvdv (#427)
- Resolve System.InvalidCastException on LC0040 @Arthurvdv (#440)
🚀 Features
- Up to 2000% performance gain on LC0005 @dannoe (#444)
- Exclude rule LC0021 on page objects @Arthurvdv (#426)
- New rule LC0044 TransferFields consistency between records. @tinestaric (#429)
- New rule LC0045 Zero (0) Enum value should be reserved for Empty Value. @tinestaric (#392)
- New rule LC0046 Label with suffix Tok must be locked. @tinestaric (#392)
- New rule LC0047 Locked Label must have a suffix Tok. @tinestaric (#392)
- New rule LC0048 Use Error with a ErrorInfo or Label variable to improve telemetry details. @Arthurvdv (#439)
v0.30.9 🌈
Changes
🚀 Features
- Add support for DrillDownPageId and LookupPageId to LC0039 @Arthurvdv (#402), idea by @pri-kise
- New rule LC0040 Explicitly set the RunTrigger parameter on build-in methods. @tinestaric (#383)
- New rule LC0041 Empty Captions should be Locked. @tinestaric (#383)
- New rule LC0042 AutoCalcFields should only be used for FlowFields or Blob fields. @tinestaric (#383)
- New rule LC0043 Use SecretText type to protect credentials and sensitive textual values from being revealed @Arthurvdv (#404)
v0.30.8 🌈
Changes
🐛 Bug Fixes
- Improve performance (implementing VersionChecker method) on rule LC0011, LC0028, LC0031, LC0034 and LC0035 @Arthurvdv (#377)
- Resolve InvalidCastException on rule LC0016 @Arthurvdv (#377)
- Resolve false positives LC0012 on Fully Qualified Names (namespaces) @Arthurvdv (#382)
- Resolve false positives LC0003/LC0005 on Fully Qualified Names (namespaces) @Arthurvdv (#387)
🚀 Features
- New rule LC0035 Explicitly set AllowInCustomizations for fields omitted on pages. @Arthurvdv (#365)
- New rule LC0036 For fields specifically, the ToolTip must start with the verb "Specifies". @Arthurvdv (#378), idea by @jwikman
- New rule LC0037 Do not use line breaks in ToolTip. @Arthurvdv (#378), idea by @jwikman
- New rule LC0038 Try to not exceed 200 characters (including spaces). @Arthurvdv (#378), idea by @jwikman
- New rule LC0039 The given argument has a different type from the one expected @Arthurvdv (#379), idea by @NKarolak
v0.30.7 🌈
Changes
🐛 Bug Fixes
- Improve LC0025 with Accessibility and XML doc @Arthurvdv (#360)
- Improve LC0003/LC0005 on namespaces @Arthurvdv (#363)
🚀 Features
- New rule LC0033 runtime falling behind @Arthurvdv (#356)
- New rule LC0034 Set explicit Extensible property @Arthurvdv (#358)
v0.30.6 🌈
Changes
- Refactor LC0027 to Utilize the Page Management codeunit for launching page. @Arthurvdv (#341)
- Resolve false positive on LC0003/LC0005 with use of namespaces @Arthurvdv (#329)
- New rule LC0030 Set Access property to Internal for Install/Upgrade codeunits. @Arthurvdv (#327)
- New rule LC0031 Set the ReadIsolation property instead of the LockTable method. @Arthurvdv (#344)
- New rule LC0032 Clear on Single Instance codeunits @Arthurvdv (#348)
v0.30.5 🌈
Changes
- New rule LC0030 Set Access property to Internal for Install/Upgrade codeunits @Arthurvdv (#327)
- Allow zero as input for Page.Run(0, <recordVar>) @Arthurvdv (#337)
- Resolve System.ArgumentOutOfRangeException error on LC0027 @Arthurvdv (#336)
- Improve LC0029 with use of 0DT comparison @Arthurvdv (#332)
v0.30.4 🌈
Changes
- Resolve false positive on LC0003/LC0005 with use of namespaces @Arthurvdv (#329)
v0.30.2 🌈
Changes
- Bugfix on rule LC0003: for false positive on objects with namespaces @ChristianHovenbitzer (#314)
- Bugfix on rule LC0016: for false positive on API objects @Arthurvdv (#318)
- Bugfix on rule LC0026: Add support for attributes @Arthurvdv (#323)
- New rule LC0024: Procedure declaration should not end with semicolon. @tinestaric (#272)
- New rule LC0025: Procedure must be either local or internal. @tinestaric (#272)
- New rule LC0026: ToolTip must end with a dot. @tinestaric (#272)
- New rule LC0027: Page.Run(Modal) must be implemented through the Page Management codeunit. @Arthurvdv (#275)
- New rule LC0028: Event subscriber arguments now use identifier syntax instead of string literals. @Arthurvdv (#317)
- New rule LC0029: Use CompareDateTime method in Type Helper codeunit for DateTime variable comparisons. @Arthurvdv (#320)