Skip to content

Winter '21 Release

Choose a tag to compare

@jongpie jongpie released this 17 Oct 18:43
9f1da3b

Updated all metadata to API v50.0 (Winter '21 release)

New Features & Enhancements

PR Area Summary
#28 Overall Logger.getTransactionId() now uses Apex's new Quiddity Request ID
#44 Reporting Added new fields on Log__c for details about Community, Organization and User License
#55 UI Switched to using Dynamic Forms for Log__c and LogEntry__c
#52 UI 'View JSON' quick action improved - added a 'copy JSON to clipboard' button & modal is now larger
#57 Log Batch Deletion Added new field Log__c.LogRetentionDate__c to control which records are deleted in LogBatchPurger job
#45 Flow Added quality of life improvements for Flow usage - categorization, plus ability to retrieve latest created log via Flow
#36, #51 Apex & Flow Related SObject records are now stored automatically as JSON in the new field LogEntry__c.RelatedRecordJson__c
#35 Apex The Apex stack trace for each log entry are now automatically stored in the new field LogEntry__c.StackTrace__c
#34 Apex Added LogMessage class to support more advanced methods of setting LogEntry__c.Message__c

Optimizations

  • Reduced CPU usage in LogEntryBuilder. Previously, logic in LogEntryBuilder methods still executed, even if the entry's logging level was disabled. Additional checks have been added to only run the methods if the logging level is enabled.
  • Eliminated a SOQL query in LogEntryBuilder and moved to LogEntryHandler instead (which runs in a separate, async transaction)

External Libraries

  • Upgraded ApexCallouts library to the latest version
  • Eliminated classes Uuid, Uuid_Tests and TestDataFactory