2.2.1.5 release notes

 2.2.1.5

  • Issue 2071 - Fixed an issue with runtime type inference and assignability where Iterable was not properly assignable from List.
  • Issue 2073 - Enhanced the Apex Scope Agreement code inspection to flag references from inner types to non-static, non-inherited declarations in the top-level type or any of its base types.
  • Issue 2074 - Updated the constructor signature for ShowToastEvent to accept an anonymous event object as well as a concrete event object.
  • Issue 2076 (partial) - Added a new logging level preset, None, that sets all logging categories to NONE. This preset is only available when configuring debug levels for trace flags and is primarily useful for suppressing logging from specific Apex classes to provide a better signal-to-noise ratio in larger debug logs.
  • Enhanced the Apex Unresolvable Reference code inspection to flag references which can be resolved but which resolve to inaccessible/not visible targets.
  • Added a warning prompt when the user tries to retrieve profile and/or permission set metadata in isolation from a non-source-tracked organization. Such a retrieval will result in sparsely-populated XML documents that do not include authorizations of Apex, Visualforce, SObjects, or SObject fields. To retrieve complete profiles/permission sets, all authorized metadata objects must be retrieved in the same request. This prompt can be disabled if desired.
  • Fixed a few issues with Apex code inspection suppression where either the comment-based suppression would be added to the wrong declaration or the existing suppression would not be found and used to suppress the reported inspection.
  • Fixed an evidently long-standing issue with Tooling API-based creation of LWC components.
  • Added yet another variation of the incorrect LWC Tooling API deployment error messages that trigger an automatic retry via the Metadata API.
  • Other related fixes and improvements.