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
-
🧙♂️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.0
This 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.0
andv4.16.0
for the managed package by reviewing:Apex Logging Enhancements
✅Release
v4.15.2
- Added Support for Logging Instances ofDatabase.EmptyRecycleBinResult
andList<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.LogEntryEventBuilder
forsetDatabaseResult()
to support logging instances ofDatabase.EmptyRecycleBinResult
andList<Database.EmptyRecycleBinResult>
Added new static method overloads in
Logger
to make it easier to log instances ofDatabase.EmptyRecycleBinResult
andList<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.LogEntryEventBuilder
for 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.Logger
for logging the approval classes - this is a little different from loggingDatabase
result classes, whereNebula.Logger
does provide static method overloads. See this related comment for more details on why this decision was made forApproval
result classes.Example usage:
The approval result data is stored in the existing set of
DatabaseResult*
fields onLogEntry__c
likeLogEntry__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 inrflib
tryCatch
callable method for OmniStudio withinCallableLogger
System.TypeException
issue in OmniStudio when attempting to add tags to a log entry withinCallableLogger
CallableLogger
Bugfixes
🐞Release
v4.15.7
- Fixed Stacktrace Parsing & Reducedlogger.test.js
by @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.js
that would cause an unintended exception when there isn't a valid JavaScript stack trace@api
decorator 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
-FlowLogger
Exception 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 #823FlowLogger
now properly truncates theLogEntryEvent__e.ExceptionMessage__c
field. Previously, long values would have caused an exception & prevented the correspondingLogEntryEvent__e
from being properly published.🐞Release
v4.15.5
- Bugfix for AuthSession with NullLoginHistory
Exception by @camillerev (PR Bugfix: Add safe navigation operator on LoginHistory from authSession records #831)LoginHistory
fromAuthSession
records to avoid aNullPointerException
Log__c.ImpersonatedBy__c
was not set whenAuthSession
data 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__c
onLogEntryEvent__e
&LogEntry__c
to 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__c
by @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__c
custom 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) @ngreardSFLogHandler
class 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 classLoggerConfigurationSelector
LogMassDelete
to the permission setsLoggerAdmin
,LoggerLogViewer
, andLoggerEndUser
Core Unlocked Package Release -
v4.16.0
These changes are new for both the unlocked package and the managed package.
Spring '25 Release Upgrade
v63.0
(Spring '25 release)Log__c
andLogEntry__c
<viewAllFields>
(added in Spring '25)LoggerAdmin
LoggerLogViewer
LoggerEndUser
LoggerLogCreator
CallableLogger
/ OmniStudio Logging ImprovementsNullPointerException
when the entry's logging level doesn't meet the user's logging levelCallableLogger
to overrideshouldSave
on new entries, similar to using Logger method overloads likeLogger.newEntry(System.LoggingLevel loggingLevel, String message, Boolean shouldSave)
Dev / Pipeline Changes
devDependencies
items inpackage.json
/ regeneratedpackage-lock.json
build.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 04t5Y0000015pGyQAI
Core Managed Package -
Nebula
namespaceFull Changelog: v4.15.0...v4.16.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015pGtQAI
This discussion was created from the release v4.16.0 - Spring '25 Release .
Beta Was this translation helpful? Give feedback.
All reactions