2.2.5.4 release notes

 2.2.5.4

  • Issue 2296 - Added a workaround for an issue in asynchronous Apex unit test execution that results in an internal server error when one or more test classes are specified in the request that individually contain 150 or more test methods. Now all test methods for such classes are included in the unit test run request (by omitting individual test method names). This situation is logged into the test run-level output view when it occurs.
  • Issue 2300 - Changed the way that Apex stub classes are generated for External Services such that the Salesforce-generated stubs are used instead if possible. Note that in the absence of a first-class API for retrieval of these stubs, a potentially fragile hack is used. Hopefully it will be sufficient until a first-class API becomes available, but at present it will degrade gracefully to the original IC2-native External Service Apex stub class generation logic if necessary. I would like to know if that happens, though, so that I can understand why it happened and what I might do to ensure that the Salesforce-generated stubs are used in those situations.
  • Several fixes and improvements for Salesforce Functions:
    • Added Select in > Salesforce Functions for easy navigation from any function source file to that function in the Salesforce Functions Dashboard.
    • Updated the JavaScript SDK dependency to @heroku/sf-fx-runtime-nodejs and fixed the way that SDK types are resolved against that dependency.
    • Added automatic module creation/management for JavaScript and TypeScript functions. Now functions in all languages are framed by a module even in the lightweight JetBrains IDEs. Note that for existing JavaScript and TypeScript functions, IC2 will prompt to create the framing module the first time that a source file in that function is opened after taking this update or higher.
    • Enabled static code analysis for SOQL queries in Python string literal values used as queries.
  • Added support for the SObject.Type property for polymorphic relationship fields.
  • Added proper inheritance relationships in the OST for Cache.OrgPartition and Cache.SessionPartition which should both extend Cache.Partition. The OST must be regenerated to see the effect of this change.
  • Added more type information fields in types in the ConnectApi namespace. The OST must be regenerated to see the effect of this change.
  • Other minor fixes and improvements.