AL Language extension 8.0
AL Language extension 8.0 for Business Central 2021 release wave 2: no upload of it left in the marketplace gallery; 8 changelog entries, 4 GitHub issues linked.
- 8entries
- 4issues
Changelog on the Visual Studio Marketplace · Business Central 2021 release wave 2
Allowing the Name and Publisher of extensions to be changed
Extensions can now have their Name and Publisher properties changed between versions. To do this, the version of the extension must be increased, and the app ID must remain the same. Any other extensions that depend on the changed extension will compile against the new extension without any update necessary to the dependencies their app.json file. Downloading symbols will also fetch the changed version of the app.
Note: If you are using workspaces with multiple projects and change the name or publisher of an extension in the workspace, the dependencies in the app.json file must be updated with the new name and publisher or you may encounter issues with reference resolution.
Read more about App Identity
Two AppSourceCop rules have been introduced in order to validate the changes done on the identity of extensions based on your current extension’s runtime version:
Fully automated technical validation of AppSource submissions
From the 1st of October, the technical validation of AppSource extensions will be fully automated. This means that the technical validation of your extensions will be also processed outside business hours of the technical validation team, including on weekends and holidays.
The validation results will be directly displayed in Partner Center. For extensions using Azure Application Insights telemetry (by using applicationInsightsConnectionString or applicationInsightsKey in their app.json), traces with detailed information are logged as part of the validation. For more information, see Analyzing AppSource Submission Validation Trace Telemetry.
Join the AppSource yammer group for more information or questions about the AppSource validation process.
Specify Synchronization Mode when installing or upgrading an extension
Using the built-in cmdlets targeting an on-premises installation of Business Central, you can now synchronize your extension in the same step as installing or upgrading it. Furthermore, you can clean your extension while uninstalling it. For more information, visit the cmdlet documentation.
Getting more control over availability of resources and source code and dynamically override the policy
We are listening to your ideas. Now, you have more control over availability of the resources and source code of an extension; by adding resourceExposurePolicy to the extension’s manifest you can specify if the source code would be available for download, or if the source code can be debugged from other extensions. You can also control if the source code is included in the downloaded symbols.
Moreover, these values can be overridden for the users of a specific AAD tenant, even after the extension is published. In this way you can enable one or few of the properties for a period for the users of an AAD tenant.
Learn more about it here, Resource Exposure Policy
Support for profiling AL code
With the AL Profiler in Visual Studio Code you can investigate the time spent on AL execution in profiler views. Performance profiles are generated from snapshots taken using the AL:Generate profile file command. The resulted file can be opened with one of two editors showing the bottom-up, respectively the top-down graph. Once opened in one view it is possible to switch to the other view. For more information, see AL Profiler Overview.
Bug fixes
IntelliSense
- Added IntelliSense for change add symbols in RequestPages.
- Fixed IntelliSense suggestions the anchors of move and modify controls in Pages.
GitHub issues
- #6659 Fixing the wrongly shown AppSourceCop rule errors about access property of fields within tables.
- #12219 More verbose error message when you are trying to use an object that has been marked with Scope OnPrem and you are in a Clould extension.
- #6648 Fixing the problem where you can’t refer DataItem defined in ReportExtension in local procedure living in the same ReportExtension.
- #6314 Fix the bad json produced by the compiler CLI when errorlog argument is added.
- #6689 Fix the suggestion of the next ID for report extension.
More issues that we found through our internal testing and validation have been fixed. Mainly in the area of ReportExtension and Emit for different types. We have worked on making the ReportExtension object more mature and robust.
Source: Visual Studio Marketplace, ms-dynamics-smb.al changelog, Microsoft’s text unchanged. Dates from the gallery’s upload records.