community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

AL Language extension for Microsoft Dynamics 365 Business Central version 16.2.1869542 (New version)

The AL Language extension changelog for Business Central versions 15.0 through 16.2 covers compiler improvements, new language features like multiline strings and implicit type conversions, enhanced testing capabilities with HTTP mocking, improved documentation tools, and support for modern development practices in Visual Studio Code.

post Gerardo Rentería Blog

Gerardo Renteria · 2025-10-23 · 4,916 words · about 22 min

"Relaxed compiler error AL1032 to allow duplicate translation files targeting the same language, as long as they are targeting different original apps."

Key points

  • New AL language features include multiline strings, continue statement in loops, implicit Record/RecordRef conversion, and SecretText handling
  • Development experience improvements via extended Go To Symbol search, semantic highlighting for inactive code, new Business Central themes for VS Code, and namespace documentation in ALDoc
  • Testing enhancements enable HTTP request mocking with TestHttpRequestPolicy, test type classification via TestType property, and test isolation control
  • Reporting and layout improvements support Document-type ExtendedDataType, empty dataitems in Excel layouts, and updated Word layout XML compatibility
  • Analyzer rule additions validate field classifications (AS0138, AS0139, PTE0026), decimal field formatting (AA0471-AA0474), and proper Truncate usage (AA0475)

Quotes

  • “Relaxed compiler error AL1032 to allow duplicate translation files targeting the same language, as long as they are targeting different original apps.” (Enables more flexible multi-app translation strategies while preventing genuine translation conflicts)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

Not found in BC28-30: codeunit “MyCodeunit”, codeunit “MyCodeunitTests”.

Context

  • Features: Multiline string literals, Implicit Record/RecordRef conversion, HTTP request mocking in tests, SecretText support in control add-ins, Namespace documentation in ALDoc, Summary system part control, MaskType enum property, Document ExtendedDataType support
  • Versions: 16.2, 16.1, 16.0, 15.3, 15.2, 15.1, 15.0

Source: Gerardo Renteria, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.