Skip to content

Releases: StefanMaron/BusinessCentral.LinterCop

v0.34.1 🌈

12 Feb 17:02
66171bd
Compare
Choose a tag to compare
v0.34.1 🌈 Pre-release
Pre-release

Changes

🐛 Bug Fixes

  • LC0005: Resolve NullReferenceException @Arthurvdv (#916)
  • LC0086: Resolve diagnostic message on System.Date2DMY(Date, Integer) Method @Arthurvdv (#921)

🚀 Features

v0.34.0 🌈

30 Jan 10:19
c3cb82a
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 Features

  • LC0051: Extend rule to analyze parameters of .Validate() method @Arthurvdv (#897)
  • LC0077: Added Check for System.Time() @pri-kise (#910)

v0.33.0 🌈

20 Jan 16:02
2c1bd57
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 Features

  • LC0075: Add support for primary key fields of types other than 'Code' @Arthurvdv (#875)
  • LC0075: Allow Implicit conversion from Integer to Decimal @Arthurvdv (#876)
  • New Rule LC0087: Use IsNullGuid() to check for empty Guid values. @Arthurvdv (#882)

v0.32.0 🌈

13 Jan 07:28
eebd80f
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 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,#859,#861)
  • 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 🌈

12 Dec 08:06
d8c139b
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 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 🌈

16 Nov 12:38
84d6c4c
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🚀 Features

v0.31.1 🌈

30 Sep 07:40
6c7a4c5
Compare
Choose a tag to compare

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

v0.30.28 🌈

15 Jul 06:09
aa8c791
Compare
Choose a tag to compare

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 🌈

03 Jul 10:01
7599a61
Compare
Choose a tag to compare

Changes

  • No changes

v0.30.26 🌈

17 Jun 09:11
7599a61
Compare
Choose a tag to compare

Changes