Thanks to @vikashkrml for working on this release in PR #892 🥳👏
Core Unlocked Package Changes
Fixed #760 by adding auto-capturing of Apex cursor transaction limits for rows & fetch calls, stored in new fields on LogEntryEvent__e & LogEntry__c
-
Added 4 new number fields on both
LogEntryEvent__eandLogEntry__cto capture Apex cursor limit values returned by theLimitsclassLimitsApexCursorFetchCallsUsed__c🟰System.Limits.getFetchCallsOnApexCursor()LimitsApexCursorFetchCallsMax__c🟰System.Limits.getLimitFetchCallsOnApexCursor()LimitsApexCursorRowsUsed__c🟰System.Limits.getApexCursorRows()LimitsApexCursorRowsMax__c🟰System.Limits.getLimitApexCursorRows()
-
Added 2 new formula fields on
LogEntry__cto show the percentage used of both Apex cursor fetch calls and Apex cursor rows. This formula fields provide the same functionality as the other existing formula fields onLogEntry__cshown on theTransaction Limitstab of the flexipage
Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.16.4...v4.16.5
- SF CLI:
sf package install --wait 20 --security-type AdminsOnly --package 04tKe0000011N4KIAU - Sandbox: https://test.salesforce.com/packaging/installPackage.apexp?p0=04tKe0000011N4KIAU
- Production: https://login.salesforce.com/packaging/installPackage.apexp?p0=04tKe0000011N4KIAU