v4.15.0 - Winter '25 Release #803
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.
-
Managed Package Release -
v4.15.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.14.0andv4.15.0by reviewing:For orgs that are upgrading to this version of the managed package: There are several enhancements & bugfixes in this release (listed below). A few of the notable highlights:
getLogger()function in JavaScript that replaces the now-deprecatedcreateLogger()functioncreateLogger()will continue to be supported, but it's recommended that everyone migrates to the newgetLogger()function insteadDouble Feature: Support for OmniStudio Logging + Loosely-Coupled Dependencies
✅✅Release
v4.14.10: With the new Apex classNebula.CallableLogger, 2 great enhancements have been added to Nebula Logger:These 2 enhancements are made possible by having the
Nebula.CallableLoggerclass implement Apex'sCallableinterface.Nebula.CallableLoggerclass was originally released in the unlocked package inv4.14.10v4.14.16For more details on using
Nebula.CallableLogger, check out these wiki pages:Apex Logging Enhancements
For the method
Nebula.Logger.setAsyncContext():v4.14.15: Enhanced queueableFinalizerContextlogging messagesv4.14.11: Bugfix to updateNebula.Logger.setAsyncContext()behavior to only set the context the first time a non-null context value is providedFor the class
Nebula.LogEntryEventBuilder:v4.14.18by @alanjaouen: AddsetRecord(System.Iterable<Id> recordsIds)method overload toNebula.LogEntryEventBuilderfor easily logging instances ofSet<Id>andList<Id>HttpRequestlogging viasetHttpRequestDetails()v4.14.8: Added the ability to captureHttpRequestheaders via new method overloadsetHttpRequestDetails(System.HttpRequest request, List<String> headersToLog)v4.14.12: Deprecated & replacedNebula__HttpRequestEndpoint__cfields with newNebula__HttpRequestEndpointAddress__cfields so that endpoints longer than 255 characters can be storedFor custom field mappings (originally released in release
v4.13.14):v4.14.14: Added new static Apex method overloadsNebula.Logger.setField()For automatic Apex code snippets (originally released in release
v4.13.1):v4.14.9: Bugfix to auto-truncate Apex code snippets stored inNebula__LogEntry__cfields.JavaScript Logging Enhancements
v4.14.13: Added a new synchronous JavaScript functiongetLogger()+ deprecated async functioncreateLogger()v4.14.4: Added the option to automatically call Salesforce'slightning-loggerLWC when logging via lightning componentslightning-loggerLWC were made generally available (GA) in Salesforce's Spring '24 release.Nebula__LoggerSettings__c.Nebula__IsJavaScriptLightningLoggerEnabled__c, and is disabled/falseby defaultv4.14.6: Custom Field Mappings Support for Lightning Componentsv4.14.17: Added more details inNebula/loggerLWC'sconsolestatementsv4.14.2: Bugfix in the pipeline so that Jest test failures are properly surfaced/correctly cause a pipeline failureData Masking
v4.14.7: Fixed an issue with the regular expression used in the included data masking rule for US Social Security Numbers (SSNs). It now uses a more targeted regular expression for identifying SSNs to mask.SensitiveDataRegEx__c, which resulted in the rule masking some values that it should have ignored.Nebula LoggerConsole App Changesv4.14.5: AddedNebula/loggerSettingsLWC to the app's utility barv4.14.3: Bugfix to correct the visibility rules for the tab "Related Record Details" on flexipageNebula__LogEntryRecordPageCore Unlocked Package Release -
v4.15.0These changes are new for both the unlocked package and the managed package.
Winter '25 Release Upgrade
v62.0(Winter '25 release)Log__candLogEntry__cLog__cObject ChangesLogRecordPageto use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLogEntry__crelated list to haveLoggingLevel__cas one of the first fields (instead of as one of the last fields)Log__c.ProfileLink__cAllChildLogs: shows any logs that have a parent log set usingLogger.setParentLogTransactionId(String)(based onLog__c.ParentLogLink__c != null)AllImpersonatedLogs: shows any logs where an admin was impersonating the logging user (based onLog__c.ImpersonatedByUsernameLink__c != null)LogEntry__cObject ChangesLogEntryRecordPageto use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLogEntry__cthat reference the existing formula fields onLog__cso that the same data can easily be shown in list views, etc.:ImpersonatedByUsernameLink__cParentLogLink__cProfileLink__cLog__c.ProfileLink__cAllERRORLogEntries: shows any records whereLogEntry__c.LoggingLevel__c == 'ERROR'AllERRORandWARNLogEntriesthat shows bothERRORandWARNAllImpersonatedLogEntries: shows any log entries where an admin was impersonating the logging user (based onLogEntry__c.ImpersonatedByUsernameLink__c != null)Log__clist viewAllImpersonatedLogsmentioned aboveNote: The new formula fields on
LogEntry__c(ImpersonatedByUsernameLink__c,ParentLogLink__c, andProfileLink__c) also help to circumvent an issue with the new dynamic higlights panel - even though the dynamic highlights panel is capable of referencing parent object fields, it expects the namespaced relationshipNebula__Log__rfor the managed package, despite the fact that the fields themselves don't need the namespace prefix (e.g., it expectsNebula__Log__r.ParentLogLink__c, which is nonsense & inconsistent 😅). I don't want to have to make a script to add the namespace in the pipeline, and the whole thing feels like a flaw on Salesforce's side, so these formula fields are used in the dynamic highlights panel to avoid the problem.LogEntryTag__cObject ChangesLogEntryTagRecordPageto use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLogEntryTag__cthat reference the new formula fields onLogEntry__c(mentioned above) so that the same data can easily be shown in list views, etc.:ImpersonatedByUsernameLink__cParentLogLink__cProfileLink__cAllto include the new fieldsLoggedByUsernameLink__candProfileLink__cAllImpersonatedLogEntryTags: shows any log entry tag where an admin was impersonating the logging user (based onLogEntryTag__c.ImpersonatedByUsernameLink__c != null)Log__clist viewAllImpersonatedLogsand the newLogEntry__clist viewAllImpersonatedLogEntriesmentioned aboveLoggerTag__cObject ChangesNameandUniqueId__cHistoryrelated list component to the flexipageLoggerTagRecordPageLoggerScenario__cObject ChangesLoggerScenarioRecordPageto use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLog__candLogEntry__crelated lists to have a more consistent order as other related lists & list views for those objectsUpdated Permission Sets
LogEntry__candLogEntryTag__c(mentioned above)LoggerAdminLoggerLogViewerLoggerEndUserInternal Optimizations
SObjectTypeandSObjectFieldusages ofgetDescribe().getName()totoString()- it's easier to read, and based on some benchmarking @jamessimone did, it's faster too 🏎️LogBatchPurgeController_Teststo try to avoid recurring flaky test failures due to (presumably) non-unique data being (previously) generated in parallel test methodsDev / Pipeline Changes
sfdxcommands inREADME.md, related scripts, and release notes - now onlysfcommands are providedsfdxcommands (see issue #2974 in the CLI repo), andsfcommands will be the only set of commands in the future, so it makes sense to remove references the now-partially-deprecatedsfdxcommandsdevsubdirectory to enable the new (beta) local dev setting for LWC in scratch orgsenableLightningPreviewPrefinnebula-logger/dev/main/default/settings/LightningExperience.settings-meta.xmlInstallation Info
Core Unlocked Package - no namespace
Full Changelog: v4.14.18...v4.15.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015odKQAQCore Managed Package -
NebulanamespaceFull Changelog: v4.14.0...v4.15.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015odFQAQThis discussion was created from the release v4.15.0 - Winter '25 Release .
Beta Was this translation helpful? Give feedback.
All reactions