v4.16.0 - Spring '25 Release #863
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🧙♂️An open source release is never late, nor is it early. It arrives precisely when it means to. And also when I have the time to work on it. 🧙♂️
A huge thanks goes to everyone that's contributed to this release over the last several months! There has been a great mix of bug reporting, features requests, discussions + feedback, and code contributions. This has all been incredibly helpful in delivering some great enhancements this release. So thanks again to everyone that's helped!
Managed Package Release -
v4.16.0This release is for both the unlocked package (as always), as well as the managed package! You can see everything that's changed between
v4.15.0andv4.16.0for the managed package by reviewing:Apex Logging Enhancements
✅Release
v4.15.2- Added Support for Logging Instances ofDatabase.EmptyRecycleBinResultandList<Database.EmptyRecycleBinResult>by @TrangOul and @jongpie (PR Add setDatabaseResult(EmptyRecycleBinResult) and setDatabaseResult(List<EmptyRecycleBinResult>) #806) → closed issue Add setDatabaseResult(EmptyRecycleBinResult) and setDatabaseResult(List<EmptyRecycleBinResult>) #804 reported by (also) @TrangOulAdd new instance method overloads in
Nebula.LogEntryEventBuilderforsetDatabaseResult()to support logging instances ofDatabase.EmptyRecycleBinResultandList<Database.EmptyRecycleBinResult>Added new static method overloads in
Loggerto make it easier to log instances ofDatabase.EmptyRecycleBinResultandList<Database.EmptyRecycleBinResult>✅Release
v4.15.10- Approval Results Logging by @TrangOul, @jamessimone, and @jongpie (Approval results logging #850) → closed issue Add possibility of logging List<Approval.ProcessResult>. Results of sending records for approval process. #844 reported by @PawelWozniakAdded new
setApprovalResult()methods inNebula.LogEntryEventBuilderfor logging instances of the standard Apex classesApproval.LockResult,Approval.ProcessResult,Approval.UnlockResult, as well as lists of each classNote: for now, the decision has been made to not provide overloads in
Nebula.Loggerfor logging the approval classes - this is a little different from loggingDatabaseresult classes, whereNebula.Loggerdoes provide static method overloads. See this related comment for more details on why this decision was made forApprovalresult classes.Example usage:
The approval result data is stored in the existing set of
DatabaseResult*fields onLogEntry__clikeLogEntry__c.DatabaseResultType__c, shown below:CallableLogger/ OmniStudio Logging Enhancementsv4.15.6- OmniStudio Logging Enhancements by @jamessimone (PR Callable Logger updates #835) → closed issue Add new callable action for try-catch blocks in OmniStudio's Integration Procedures metadata #814 reported by @j-fischer while working on some related enhancements inrflibtryCatchcallable method for OmniStudio withinCallableLoggerSystem.TypeExceptionissue in OmniStudio when attempting to add tags to a log entry withinCallableLoggerCallableLoggerBugfixes
🐞Release
v4.15.7- Fixed Stacktrace Parsing & Reducedlogger.test.jsby @jamessimone (PR Fix Stacktrace Parsing & Reduce logger.test.js #840) → closed issue logger.test.js is a bit of a mess #780 reported by @jongpieloggerStackTrace.jsthat would cause an unintended exception when there isn't a valid JavaScript stack trace@apidecorator to the the functionlogger.setField()so that it can be used when logging in Aura components.v4.14.4, but wasn't previously accessible by Aura components.logger.test.js, resulting in, 1,400 lines of JavaScript code being removed! 🧹🐞Release
v4.15.4-FlowLoggerException Message Handling by @jamessimone (PR Fix "The field value for ExceptionMessage__c is too long" exception for long flow error messages #828) → closed issue Flow logging actions don't properly truncate some string fields #827 reported by @shuylern & @andrewofornikar via discussion Nebula Logger - Error Notification - Emails #823FlowLoggernow properly truncates theLogEntryEvent__e.ExceptionMessage__cfield. Previously, long values would have caused an exception & prevented the correspondingLogEntryEvent__efrom being properly published.🐞Release
v4.15.5- Bugfix for AuthSession with NullLoginHistoryException by @camillerev (PR Bugfix: Add safe navigation operator on LoginHistory from authSession records #831)LoginHistoryfromAuthSessionrecords to avoid aNullPointerExceptionLog__c.ImpersonatedBy__cwas not set whenAuthSessiondata is queried async✅🐞Release
v4.15.9- Bugfix: Entry Save Override Is Not Always Used by @jongpie (PR Bugfix: entry save override is not always used #857) → fixed issue LogEntryEventHandler.filterLogEntryEventsToSave filters out entries that were forcefully saved with Logger.newEntry(String, Boolean) #856 reported by @jvega-intakedesk via discussion Feature Request: Always store HTTP Request/Response regardless of log level #855Added new fields
EntrySaveReason__conLogEntryEvent__e&LogEntry__cto explicitly track why an entry is saved. This new field is now also used inLogEntryEventHandler.filterLogEntryEventsToSave()to ensure these types of entries are correctly saved inLogEntry__c.Optimizations
🏎️Release
v4.15.8- Custom Index forLog__c.ParentLogTransactionId__cby @jamessimone (PR Custom Index for Log__c.ParentLogTransactionId__c #849) → fixed issue Add Index to Log__c.ParentLogTransactionId__c #847 reported by @jet89cook-google, @mkhokhlov, and @tsalbLog__c.ParentLogTransactionId__ccustom index to speed up code & queries that use this field🏎️Release
v4.15.1- System.OrgLimits Optimisations by @ngreardSF (PR loadOrganizationLimits System.OrgLimits optimisation #802) → closed issue LogHandler loadOrganizationLimits intensive CPU Usage #801 reported by (also) @ngreardSFLogHandlerclass to cache the Apex call toSystem.OrgLimits.getMap()inloadOrganizationLimits()to reduce CPU usage🏎️Release
v4.15.3- Improved Testability of Queries by @jongpie (PR Improved Testability of Queries #813) → fixed issue code coverage error for LoggerEngineDataSelector.cls upon deployment #687 reported by @heapallocation, fixed issue SYNCHRONOUS_DML in a test context - Integration test #457 reported by @JeroenSfdc via discussion SYNCHRONOUS_DML in a test context - Integration test #454, and fixed issue LoggerEngineDataSelector_Tests.it_returns_cached_tag_assignment_rules assertion error #812 reported by @angelikagalang via discussion LoggerEngineDataSelector_Tests.it_returns_cached_tag_assignment_rules assertion error #799LoggerSObjectProxy, which are used for dynamically interacting with some standard SObject types that don't exist in all orgs (Network,OmniProcess, etc.)LoggerParameter__mdt). This is controlled internally by Nebula Logger via a new Apex classLoggerConfigurationSelectorLogMassDeleteto the permission setsLoggerAdmin,LoggerLogViewer, andLoggerEndUserCore Unlocked Package Release -
v4.16.0These changes are new for both the unlocked package and the managed package.
Spring '25 Release Upgrade
v63.0(Spring '25 release)Log__candLogEntry__c<viewAllFields>(added in Spring '25)LoggerAdminLoggerLogViewerLoggerEndUserLoggerLogCreatorCallableLogger/ OmniStudio Logging ImprovementsNullPointerExceptionwhen the entry's logging level doesn't meet the user's logging levelCallableLoggerto overrideshouldSaveon new entries, similar to using Logger method overloads likeLogger.newEntry(System.LoggingLevel loggingLevel, String message, Boolean shouldSave)Dev / Pipeline Changes
devDependenciesitems inpackage.json/ regeneratedpackage-lock.jsonbuild.yml). Three new files have been added to the repo:.devcontainer/devcontainer.json- provides a consistent dev setup + extensions in VS Code.devcontainer/Dockerfile- provides a consistent dev environment + dependencies in a Docker container.github/workflows/publish-docker-container.yml- auto-publishes a Docker imagebuild.yml)Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.15.10...v4.16.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015pGyQAICore Managed Package -
NebulanamespaceFull Changelog: v4.15.0...v4.16.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015pGtQAIThis discussion was created from the release v4.16.0 - Spring '25 Release .
Beta Was this translation helpful? Give feedback.
All reactions