v4.13.13 - Improved Fully-Qualified References #714
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.
-
Since the unlocked package does not have a namespace, orgs can encounter installation errors for Nebula Logger if the target org has any custom Apex code (classes, enums, interfaces, etc.) with the same name as standard class in the
SchemaorSystemnamespace (referred to as name shadowing).This is the same concept & approach as the changes made in several previous releases (listed below) - but my hope is that this PR finally finishes this effort, and all references are now fully qualified.
v4.9.0v4.9.4v4.9.6v4.12.5This shouldn't cause any functional changes to Nebula Logger - this is to tidy up existing references to avoid name collisions so that more orgs can use the unlocked package.
Core Unlocked Package Changes
Apex Code Changes
Switched to using fully-qualified references for these standard classes in the
SchemaandSystemnamespaces :Schemanamespace standard classesApexClass→Schema.ApexClassApexEmailNotification→Schema.ApexEmailNotificationApexTrigger→Schema.ApexTriggerAsyncApexJob→Schema.AsyncApexJobBatchApexErrorEvent→Schema.BatchApexErrorEventCustomPermission→Schema.CustomPermissionDisplayType→Schema.DisplayTypeFlowDefinitionView→Schema.FlowDefinitionViewFlowExecutionErrorEvent→Schema.FlowExecutionErrorEventFlowVersionView→Schema.FlowVersionViewPermissionSet→Schema.PermissionSetPermissionSetAssignment→Schema.PermissionSetAssignmentSoapType→Schema.SoapTypeUserRecordAccess→Schema.UserRecordAccessUserRole→Schema.UserRoleSystemnamespace standard classesBatchableContext→System.BatchableContextComparable→System.ComparableDatabase→System.DatabaseEventBus→System.EventBusFinalizerContext→System.FinalizerContextInstallHandler→System.InstallHandlerJSON→System.JSONMatcher→System.MatcherPattern→System.PatternPicklistEntry→System.PicklistEntryQueueable→System.QueueableQueueableContext→System.QueueableContextQuiddity→System.QuiddityRequest→System.RequestRestContext→System.RestContextRestRequest→System.RestRequestRestResponse→System.RestResponseSchedulable→System.SchedulableSchedulableContext→System.SchedulableContextSearch→System.SearchTriggerOperation→System.TriggerOperationUUID→System.UUIDScope creep: fixed some flaky tests in
LogBatchPurgeController_Testsextra-testsMetadata Changesextra-testsdirectory to be in separate subdirectories (one for each namespace,SchemaandSystem)Schema&Systemreferences (mentioned above) that are now using fully-qualified referencesInstallation Info
Core Unlocked Package - no namespace
Full Changelog: v4.13.12...v4.13.13
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015oDsQAIsfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y0000015oDsQAIThis discussion was created from the release Improved Fully-Qualified References.
Beta Was this translation helpful? Give feedback.
All reactions