Hard-Deleted Components in Unlocked Packages

When these components are removed from an unlocked package, they're hard deleted from the target install org during the package upgrade.
  • AccountForecastSettings
  • AcctMgrTargetSettings
  • ActionableListDefinition
  • ActionPlanTemplate
  • AccountingFieldMapping
  • AccountingModelConfig
  • AdvAccountForecastSet
  • AdvAcctForecastDimSource
  • AdvAcctForecastPeriodGroup
  • AIApplicationConfig
  • AIUsecaseDefinition
  • AnalyticSnapshot
  • ApexClass
  • ApexComponent
  • ApexPage
  • ApexTrigger
  • ApplicationRecordTypeConfig
  • ApplicationSubtypeDefinition
  • AppointmentAssignmentPolicy
  • AssessmentQuestion
  • AssessmentQuestionSet
  • AssistantContextItem
  • AssistantSkillQuickAction
  • AssistantSkillSobjectAction
  • AssistantVersion
  • AuraDefinitionBundle
  • BatchCalcJobDefinition
  • BatchProcessJobDefinition
  • BenefitAction
  • BldgEnrgyIntensityCnfg
  • BrandingSet
  • BriefcaseDefinition
  • BusinessProcessGroup
  • BusinessProcessTypeDefinition
  • CareBenefitVerifySettings
  • CareLimitType
  • CareProviderSearchConfig
  • CareRequestConfiguration
  • ChannelObjectLinkingRule
  • ClaimFinancialSettings
  • ClauseCatgConfiguration
  • CompactLayout
  • ContractType
  • ConversationVendorInfo
  • CustomApplication
  • CustomPageWebLink
  • CustomPermission
  • CustomTab
  • Dashboard
  • DecisionMatrixDefinition
  • DecisionMatrixDefinitionVersion
  • DecisionTable
  • DecisionTableDatasetLink
  • DisclosureDefinition
  • DisclosureDefinitionVersion
  • DisclosureType
  • DiscoveryAIModel
  • DiscoveryGoal
  • Document
  • DocumentGenerationSetting
  • DocumentType
  • EmailServicesFunction
  • EmailTemplate
  • EmbeddedServiceBranding
  • EmbeddedServiceConfig
  • EmbeddedServiceLiveAgent
  • EmbeddedServiceMenuSettings
  • ESignatureConfig
  • ESignatureEnvelopeConfig
  • ExplainabilityActionDefinition
  • ExplainabilityActionVersion
  • ExplainabilityMsgTemplate
  • ExpressionSetDefinition
  • ExpressionSetDefinitionVersion
  • ExpressionSetObjectAlias
  • ExternalAIModel
  • ExternalClientApplication
  • ExtlClntAppMobileSettings
  • ExtlClntAppOauthSettings
  • ExternalDataSrcDescriptor
  • ExternalServiceRegistration
  • FeatureParameterBoolean
  • FeatureParameterDate
  • FeatureParameterInteger
  • FieldRestrictionRule
  • FieldServiceMobileExtension
  • FlexiPage
  • Flow
  • FuelType
  • FuelTypeSustnUom
  • GatewayProviderPaymentMethodType
  • HomePageComponent
  • HomePageLayout
  • IdentityVerificationProcDef
  • InstalledPackage
  • IntegrationHubSettings
  • IntegrationHubSettingsType
  • IntegrationProviderDef
  • Layout
  • Letterhead
  • LicenseDefinition
  • LightningComponentBundle
  • LightningExperienceTheme
  • LightningMessageChannel
  • LightningOnboardingConfig
  • ListView
  • LiveChatAgentConfig
  • LiveChatButton
  • LiveChatSensitiveDataRule
  • LocationUse
  • LoyaltyProgramSetup
  • MarketingAppExtActivity
  • MarketingAppExtension
  • MatchingRule
  • MfgProgramTemplate
  • MLDataDefinition
  • MLPredictionDefinition
  • NamedCredential
  • NetworkBranding
  • ObjectHierarchyRelationship
  • OcrSampleDocument
  • OcrTemplate
  • OmniDataTransform
  • OmniIntegrationProcedure
  • OmniScript
  • OmniUiCard
  • PaymentGatewayProvider
  • PermissionSet
  • PermissionSetGroup
  • PermissionSetLicense
  • PipelineInspMetricConfig
  • PlatformEventSubscriberConfig
  • ProductAttributeSet
  • ProductSpecificationTypeDefinition
  • Profile
  • QuickAction
  • RecordAlertCategory
  • RecordAlertDataSource
  • RegisteredExternalService
  • RelatedRecordAssocCriteria
  • RelationshipGraphDefinition
  • RemoteSiteSetting
  • Report
  • ReportType
  • RestrictionRule
  • SalesAgreementSettings
  • SchedulingRule
  • SchedulingObjective
  • ScoreCategory
  • ServiceAISetupDefinition
  • ServiceAISetupField
  • ServiceProcess
  • SharingReason
  • SharingRecalculation
  • SlackApp
  • StaticResource
  • StnryAssetEnvSrcCnfg
  • SustainabilityUom
  • SustnUomConversion
  • SvcCatalogCategory
  • SvcCatalogFulfillmentFlow
  • SvcCatalogItemDef
  • TimelineObjectDefinition
  • UIObjectRelationConfig
  • UserAccessPolicy
  • UserLicense
  • UserProfileSearchScope
  • ValidationRule
  • VehicleAssetEmssnSrcCnfg
  • ViewDefinition
  • VirtualVisitConfig
  • WaveApplication
  • WaveComponent
  • WaveDashboard
  • WaveDataflow
  • WaveDataset
  • WaveLens
  • WaveRecipe
  • WaveTemplateBundle
  • WaveXmd
  • WebLink
  • WebStoreTemplate
  • WorkflowAlert
  • WorkflowFieldUpdate
  • WorkflowFlowAction
  • WorkflowOutboundMessage
  • WorkflowRule
  • WorkflowTask

All other components are marked as deprecated when removed from an unlocked package. An admin can choose to remove deprecated components. If the package is uninstalled, all components, including the deprecated components previously associated with the package, are deleted from the org.