Releases: StefanMaron/BusinessCentral.LinterCop
Releases · StefanMaron/BusinessCentral.LinterCop
v0.31.4 🌈
Changes
🐛 Bug Fixes
- LC0017: Resolve InvalidCastException and/or ArgumentException @Arthurvdv (#836)
- LC0003: Resolve false positive on List of Interfaces @Arthurvdv (#850)
🚀 Features
- LC0051: Extend rule to analyze parameters of .Get() method @Arthurvdv (#840,#842)
- New Rule LC0075: Incorrect number or type of arguments in .Get() method on Record object. @Arthurvdv (#826,#839,#843)
- New Rule LC0076: Table relation field length mismatch @tinestaric (#829,#845)
- New Rule LC0077: Methods should always be called with parenthesis. @tinestaric (#830)
- New Rule LC0078: Temporary records should not trigger table triggers. @tinestaric (#830)
- New Rule LC0079: Event publishers should not be public. @tinestaric (#830)
- New Rule LC0080: Replace double quotes in JPath expressions with two single quotes. @Arthurvdv (#832)
- New Rule LC0081: Use Rec.IsEmpty() for checking record existence. @Arthurvdv (#833)
- New Rule LC0082: Use Rec.Find('-') with Rec.Next() for checking exactly one record @Arthurvdv (#834)
- New Rule LC0083: Use new Date/Time/DateTime methods for extracting parts @Arthurvdv (#841,#851)
- New Rule LC0084: Use return value for better error handling. @Arthurvdv (#846)
- New Rule LC0085: Use the (CR)LFSeparator from the "Type Helper" codeunit @Arthurvdv (#848,#849)
- New Rule LC0086: Use the new PageStyle datatype instead string literals @Arthurvdv (#852)
v0.31.3 🌈
Changes
🐛 Bug Fixes
- Add support for ToolTips diagnostics on table fields @Arthurvdv (#816)
- LC0051: Resolve InvalidCastException @Arthurvdv (#825)
🚀 Features
- LC0059: Extend to where filter expression on CalcFormula property @Arthurvdv (#817,#819)
- New Rule LC0072: Check procedure documentation comments @ans-bar-bm (#800)
- New Rule LC0073: Handled parameters in event signatures should be passed by var @Arthurvdv (#812)
- New Rule LC0074: Set values for FlowFilter fields using filtering methods @Arthurvdv (#820)
v0.31.2 🌈
Changes
- Exclude previous pre-release versions of the AL Language @Arthurvdv (#779)
- Improve support on legacy AL Language version @Arthurvdv (#798)
- Files had moved, README links were broken. @JeremyVyska (#801)
🐛 Bug Fixes
- LC0005: Resolve casing for Xmlport identifier @Arthurvdv (#781)
- LC0024: Resolve NullReferenceException @Arthurvdv (#782)
- LC0031: Resolve ambiguous dagnostic description @Arthurvdv (#787)
- LC0043: Improve handling on IsolatedStorage for @Arthurvdv (#797)
- LC0044: Resolve InvalidCastException @Arthurvdv (#799)
🚀 Features
- LC0071: New rule to check IsHandled set to false @ans-bar-bm (#772)
v0.31.1 🌈
Changes
🚀 Features
- New Rule0067 Set NotBlank property to false when 'No. Series' TableRelation exists. @Arthurvdv (#708,#714)
- New Rule0068 Informs the user that there are missing permission to access tabledata. @StefanMaron (#720,#757)
- New Rule0069 Empty statements should be avoided. @ans-bar-bm (#717,#771)
- New Rule0070 List objects are 1-based. @Arthurvdv (#738)
- Workflow redesign automatic creation new artifacts on release new version AL Language. @Arthurvdv (#753)
- Enabling nullable reference types on reducing possible System.NullReferenceException errors. @Arthurvdv (#769)
🐛 Bug Fixes
- Remove private false from references in test project. @christophstuber (#702)
- Add test to build pipeline @StefanMaron (#723)
- Bugfixes for indirect permissions @StefanMaron (#735)
- Add type check for InherentPermissions @StefanMaron (#726)
- Fixed reference to the diagnostic descriptor @dannoe (#705)
- LC0004: Do not raise diagnostic when SourceTableTemporary is set to true @Arthurvdv (#706)
- Null reference exception on Rule0068 @Arthurvdv (#746)
- Set Nullable reference types to handle NullReferenceExceptions on Rule0035 @Arthurvdv (#749)
v0.30.28 🌈
Changes
🐛 Bug Fixes
- LC0005: Avoid duplicate diagnostic, add diagnostic field syntax length @ans-bar-bm (#640)
- LC0013: Resolve issue on TableRelation to "No. Series" including the PK field @Arthurvdv (#661)
- LC0016: Resolve InvalidCastException @Arthurvdv (#646)
- LC0027: Resolve InvalidCastException @Arthurvdv (#695)
- LC0032: Resolve System.InvalidCastException on Clear(MySecretText) @Arthurvdv (#666)
- LC0032: Resolve System.InvalidCastException Fix boolean conversion @dannoe (#677)
- LC0033: Add check if no runtime property in specified in the app.json @Arthurvdv (#686)
- LC0033: Revert back to old static way of determining supported runtime @Arthurvdv (#696)
- LC0035: Cross analyse base and extension fields for pages and tables @ans-bar-bm (#698)
- LC0039: Resolve InvalidCastException @Arthurvdv (#643)
- LC0052/LC0053: Show Quotation Marks on name of method and object @Arthurvdv (#633)
🚀 Features
- Added support for test automation @christophstuber (#648)
- LC0016: Add CaptionML in CaptionIsMissing check @ans-bar-bm (#627)
- LC0035: Diagnostic for fields where base table has page set @ans-bar-bm (#670)
- New Rule LC0054: Interface name must start with the capital 'I' without any spaces following it. @Arthurvdv @dannoe (#660,#678)
- New Rule LC0058: PageVariable.SetRecord(): You cannot use a temporary record for the Record parameter. @Arthurvdv (#659)
- New Rule LC0059: Single quote escaping issue detected @Arthurvdv (#667)
- New Rule LC0060: The ApplicationArea property is not applicable to API pages. @Arthurvdv (#674)
- New Rule LC0061: Pages of type API must have the ODataKeyFields property set to the SystemId field. @Arthurvdv (#674)
- New Rule LC0062: Mandatory field is missing on API page. @Arthurvdv (#674)
- New Rule LC0063: Consider naming field with a more descriptive name. @Arthurvdv (#674)
- New Rule LC0064: Missing ToolTip property on table field. @Arthurvdv (#675)
- New Rule LC0065: Warn if eventsubscribers don't use var for parameters defined as var. @dannoe (#676)
- New Rule LC0066: Duplicate ToolTip between page and table field. @Arthurvdv (#693)
v0.30.27 🌈
Changes
- No changes
v0.30.26 🌈
Changes
- LC0039: Resolve issue on display of Diagnostic message @Arthurvdv (#650,#653)
v0.30.25 🌈
Changes
🐛 Bug Fixes
- LC0005 Avoid duplicate diagnostic, add diagnostic field syntax length @ans-bar-bm (#640)
- LC0016: Resolve InvalidCastException @Arthurvdv (#646)
- LC0039: Resolve InvalidCastException @Arthurvdv (#643)
- LC0052/LC0053: Show Quotation Marks on name of method and object @Arthurvdv (#633)
🚀 Features
- Add CaptionML in CaptionIsMissing check LC0016 @ans-bar-bm (#627)
v0.30.24 🌈
Changes
- New version of the AL Language (v14.0.1037708.dll)
v0.30.23 🌈
Changes
- New version of the AL Language (v13.0.1027618)