Skip to content

v4.16.5 - Capture Apex Cursor Transaction Limits

Latest

Choose a tag to compare

@jongpie jongpie released this 15 Aug 20:09
· 1 commit to main since this release
c1402a9

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__e and LogEntry__c to capture Apex cursor limit values returned by the Limits class

    1. LimitsApexCursorFetchCallsUsed__c 🟰 System.Limits.getFetchCallsOnApexCursor()
    2. LimitsApexCursorFetchCallsMax__c 🟰 System.Limits.getLimitFetchCallsOnApexCursor()
    3. LimitsApexCursorRowsUsed__c 🟰 System.Limits.getApexCursorRows()
    4. LimitsApexCursorRowsMax__c 🟰 System.Limits.getLimitApexCursorRows()
  • Added 2 new formula fields on LogEntry__c to 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 on LogEntry__c shown on the Transaction Limits tab of the flexipage

    image

Installation Info

Core Unlocked Package - no namespace

Full Changelog: v4.16.4...v4.16.5