Metadata API

Metadata API includes new and changed types and fields.

New Metadata Types

CustomFeedFilter
Represents a custom feed filter that limits the feed view to feeds from the Cases object. The custom feed filter shows only feed items that satisfy the criteria specified in the CustomFeedFilter definition.
LiveChatSensitiveDataRule
Represents a rule for blocking (masking or deleting) data of a specified pattern. Written as a regular expression (regex).
PlatformCachePartition
Represents a partition in the Platform Cache.
TransactionSecurityPolicy
Represents a transaction security policy definition, including events monitored and actions to take.

Updated Metadata Types and Fields

These metadata types have changed or have fields that have been added or changed.

AuraDefinitionBundle
The following fields have been added:
apiVersion
The API version for this definition bundle. When you create an Aura bundle, you can specify the API version to save it with.
description
The specification of the Aura bundle.
packageVersions
The list of installed managed package versions that this Aura definition bundle references.
The following fields have been changed:
markup
This field is no longer required.
type
This field is no longer required.
AuthProvider
The following field has changed:
ProviderType
Accepts GitHub as a provider type value. Use the GitHub provider to log in users of your Force.com app to GitHub using OAuth. When logged in to GitHub, your app can make calls to GitHub APIs. The GitHub provider isn’t available as a single sign-on provider, which means users can’t log in to your Salesforce organization using their GitHub login credentials.
ConnectedApp
The following field has been added:
plugin
The name of a custom Apex class that extends Auth.ConnectedAppPlugin to customize the behavior of the app.
CustomApplication
The following fields have been added:
footerColor
Determines the footer color in a Salesforce console app.
headerColor
Determines the header color in a Salesforce console app.
primaryTabColor
Determines the primary tab color in a Salesforce console app.
CustomObject
The following field has been added.
enableSearch
Indicates whether the object can be searched via the search() call (true) or not (false). By default, search is disabled for new custom objects. For more information, see Search Faster by Disabling Search for Some Custom Objects.
Dashboard
The following fields have been added:
dashboardGridLayout
Lists the included DashboardGridComponent objects, specifies the number of dashboard columns, and sets each dashboard row’s height in pixels.
folderName
Name of the folder that houses the dashboard.
isGridLayout
Specifies whether a dashboard uses the Lightning Experience layout (true) or not (false).
FlexiPage
The following field has been added:
parentFlexiPage
This field is reserved for future use.
The following fields have been added to the FlexiPageRegion subtype:
appendable
This field is reserved for future use.
mode
This field is reserved for future use.
prependable
This field is reserved for future use.
replaceable
This field is reserved for future use.
type
The FlexiPage region type. This is a required field.
Flow
The following fields have been added to the FlowDynamicChoiceSet subtype.
picklistField
Required for picklist choices. The field whose available values you want to retrieve from the database and use to generate the picklist choice. For example, use “Industry” to dynamically generate one choice for each available value on the Industry picklist field.
picklistObject
Required for picklist choices. The sObject whose field metadata you want to retrieve from the database and use to generate the picklist choice. For example, use “Account” to dynamically generate choices from a picklist field on the Account object.
The following field of the FlowDynamicChoiceSet subtype has been updated.
dataType
The dataType field now accepts these additional FlowDataType enumeration values: Picklist and Multipicklist.
Layout
The following field has been added to the FeedLayoutFilter subtype:
feedFilterName
The name of a CustomFeedFilter component. Names are prefixed with the name of the parent object. For example, Case.MyCustomFeedFilter.
LiveChatAgentConfig
The following field has been added:
enableAssistanceFlag
Indicates whether agents can raise an assistance flag to notify a supervisor that they need help.
LiveChatButton
The following fields have been added to the LiveChatButton type:
chasitorIdleTimeout
Specifies the time that a customer has to respond to an agent message before the session automatically ends
chasitorIdleTimeoutWarning
Specifies the time that a customer has to respond to an agent message before a warning appears and a timer begins a countdown.
optionsHasChasitorIdleTimeout
Indicates whether chats are automatically ended if the customer doesn’t respond within a specified period (true) or not (false).
LiveChatUserConfig
The following field has been added:
OptionsHasAssistanceFlag
Determines whether agents can raise an assistance flag to notify a supervisor that they need help.
ManagedTopic
The following field has been added:
parentName
The name of a parent topic for which this topic is a child. Child topics are accessible from the subtopics section of the parent topic page and their feeds are added to the parent topic feed. Only navigational topics support parent-child relationships.
Report
The following field has been added:
folderName
Name of the folder that houses the report.
RunTestsResult
The following field has been added:
apexLogId

The ID of an ApexLog object that is created at the end of a test run. The ApexLog object is created if there is an active trace flag on the user running an Apex test, or on a class or trigger being executed.

SecuritySettings
The following field has been added to the SessionSettings subtype:
enableCSPOnEmail
Indicates whether a content security policy is enabled for the email template. A content security policy helps prevent cross-site scripting attacks by whitelisting sources of images and other content.

Updated Headers

This metadata header has a field that has changed.

DebuggingHeader
The following field has been changed:
LogInfo.level
The LogCategoryLevel enumeration has a new value: None.