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
-
Managed Package Release -
v4.15.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.14.0
andv4.15.0
by 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.CallableLogger
class implement Apex'sCallable
interface.Nebula.CallableLogger
class was originally released in the unlocked package inv4.14.10
v4.14.16
For more details on using
Nebula.CallableLogger
, check out these wiki pages:Apex Logging Enhancements
For the method
Nebula.Logger.setAsyncContext()
:v4.14.15
: Enhanced queueableFinalizerContext
logging 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.18
by @alanjaouen: AddsetRecord(System.Iterable<Id> recordsIds)
method overload toNebula.LogEntryEventBuilder
for easily logging instances ofSet<Id>
andList<Id>
HttpRequest
logging viasetHttpRequestDetails()
v4.14.8
: Added the ability to captureHttpRequest
headers via new method overloadsetHttpRequestDetails(System.HttpRequest request, List<String> headersToLog)
v4.14.12
: Deprecated & replacedNebula__HttpRequestEndpoint__c
fields with newNebula__HttpRequestEndpointAddress__c
fields 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__c
fields.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-logger
LWC when logging via lightning componentslightning-logger
LWC were made generally available (GA) in Salesforce's Spring '24 release.Nebula__LoggerSettings__c.Nebula__IsJavaScriptLightningLoggerEnabled__c
, and is disabled/false
by defaultv4.14.6
: Custom Field Mappings Support for Lightning Componentsv4.14.17
: Added more details inNebula/logger
LWC'sconsole
statementsv4.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 Logger
Console App Changesv4.14.5
: AddedNebula/loggerSettings
LWC to the app's utility barv4.14.3
: Bugfix to correct the visibility rules for the tab "Related Record Details" on flexipageNebula__LogEntryRecordPage
Core Unlocked Package Release -
v4.15.0
These changes are new for both the unlocked package and the managed package.
Winter '25 Release Upgrade
v62.0
(Winter '25 release)Log__c
andLogEntry__c
Log__c
Object ChangesLogRecordPage
to use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLogEntry__c
related list to haveLoggingLevel__c
as one of the first fields (instead of as one of the last fields)Log__c.ProfileLink__c
AllChildLogs
: 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__c
Object ChangesLogEntryRecordPage
to use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLogEntry__c
that reference the existing formula fields onLog__c
so that the same data can easily be shown in list views, etc.:ImpersonatedByUsernameLink__c
ParentLogLink__c
ProfileLink__c
Log__c.ProfileLink__c
AllERRORLogEntries
: shows any records whereLogEntry__c.LoggingLevel__c == 'ERROR'
AllERRORandWARNLogEntries
that shows bothERROR
andWARN
AllImpersonatedLogEntries
: shows any log entries where an admin was impersonating the logging user (based onLogEntry__c.ImpersonatedByUsernameLink__c != null
)Log__c
list viewAllImpersonatedLogs
mentioned 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__r
for 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__c
Object ChangesLogEntryTagRecordPage
to use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLogEntryTag__c
that reference the new formula fields onLogEntry__c
(mentioned above) so that the same data can easily be shown in list views, etc.:ImpersonatedByUsernameLink__c
ParentLogLink__c
ProfileLink__c
All
to include the new fieldsLoggedByUsernameLink__c
andProfileLink__c
AllImpersonatedLogEntryTags
: shows any log entry tag where an admin was impersonating the logging user (based onLogEntryTag__c.ImpersonatedByUsernameLink__c != null
)Log__c
list viewAllImpersonatedLogs
and the newLogEntry__c
list viewAllImpersonatedLogEntries
mentioned aboveLoggerTag__c
Object ChangesName
andUniqueId__c
History
related list component to the flexipageLoggerTagRecordPage
LoggerScenario__c
Object ChangesLoggerScenarioRecordPage
to use the newer component 'dynamic related list - single' instead of the older component 'related list - single' for displaying related listsLog__c
andLogEntry__c
related lists to have a more consistent order as other related lists & list views for those objectsUpdated Permission Sets
LogEntry__c
andLogEntryTag__c
(mentioned above)LoggerAdmin
LoggerLogViewer
LoggerEndUser
Internal Optimizations
SObjectType
andSObjectField
usages ofgetDescribe().getName()
totoString()
- it's easier to read, and based on some benchmarking @jamessimone did, it's faster too 🏎️LogBatchPurgeController_Tests
to try to avoid recurring flaky test failures due to (presumably) non-unique data being (previously) generated in parallel test methodsDev / Pipeline Changes
sfdx
commands inREADME.md
, related scripts, and release notes - now onlysf
commands are providedsfdx
commands (see issue #2974 in the CLI repo), andsf
commands will be the only set of commands in the future, so it makes sense to remove references the now-partially-deprecatedsfdx
commandsdev
subdirectory to enable the new (beta) local dev setting for LWC in scratch orgsenableLightningPreviewPref
innebula-logger/dev/main/default/settings/LightningExperience.settings-meta.xml
Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.14.18...v4.15.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015odKQAQ
Core Managed Package -
Nebula
namespaceFull Changelog: v4.14.0...v4.15.0
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015odFQAQ
This discussion was created from the release v4.15.0 - Winter '25 Release .
Beta Was this translation helpful? Give feedback.
All reactions