# Build 3.82.x

## Delpha Update Notice: Version 3.82.x

{% hint style="warning" %}
**Important:** This version includes significant updates. Please follow the upgrade instructions to continue using Delpha.
{% endhint %}

## Upgrade Instructions f**rom all versions Pre-3.80.0**

### **Data Structure Migration**

* Install the latest available Delpha package Delpha 3.82.x &#x20;
* Install the **DelphaUpgrade382** (version 1.3) unmanaged package to assist with migration.
  * Package ID: `04tRl000001hu6PIAQ`
  * Package URL: `/packaging/installPackage.apexp?p0=04tRl000001hu6PIAQ`
* Execute the following scripts in the developer console (with 200 being the Integer batch size):&#x20;

  ```apex
  delpha.DDQ_DataQualityShowMoreMigration.startMigration(200);
  ```

{% hint style="info" %}
If you want more control on the upgrade process, you can select and run the components manually from the list below.&#x20;
{% endhint %}

```
Integer batchSize = 500;
// Name
delpha.DDQ_DataQualityShowMoreMigration.startMigrationName('Contact', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationName('Lead', batchSize);
// Email
delpha.DDQ_DataQualityShowMoreMigration.startMigrationEmail('Contact', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationEmail('Lead', batchSize);
// Website
delpha.DDQ_DataQualityShowMoreMigration.startMigrationWebsite('Account', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationWebsite('Lead', batchSize);
// LinkedIn
delpha.DDQ_DataQualityShowMoreMigration.startMigrationLinkedIn('Account', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationLinkedIn('Contact', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationLinkedIn('Lead_Account', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationLinkedIn('Lead_Contact', batchSize);
// Address
delpha.DDQ_DataQualityShowMoreMigration.startMigrationAddress('Account_Billing', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationAddress('Account_Shipping', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationAddress('Contact', batchSize);
delpha.DDQ_DataQualityShowMoreMigration.startMigrationAddress('Lead', batchSize);
// Ultimate
delpha.DDQ_DataQualityShowMoreMigration.startMigrationUltimate(batchSize);
// LegalId
delpha.DDQ_DataQualityShowMoreMigration.startMigrationLegalId(batchSize);
```

### **New Delpha Chrome Extension**&#x20;

If you're using the Chrome browser extension for job tracking or lead generation, uninstall the old **Delpha LinkedIn Connector.** Install the brand new [**Delpha Chrome Extension**](https://chromewebstore.google.com/detail/delpha-chrome-extension/lcdoffemlkeghcmolmlafbkdiajkllni) from the Chrome webstore which features enhanced stability and fewer disconnections

{% hint style="warning" %}
After completing the upgrade steps, navigate to the Delpha Setup app to verify if your organization remains connected.
{% endhint %}

## What's New

### **Security Enhancements**

Delpha now includes enhanced security features in line with Salesforce's latest guidelines. See [Salesforce Security Recommendations](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/secure_code_ac_eca.htm) for detailed information. All versions from 3.80.0 onward comply with these updates.

### **Data Structure Changes**

To provide richer insights and better decision-making capabilities, Delpha has upgraded its recommendation engine. Instead of overwriting a field with a single suggested value, Delpha now utilizes a structured JSON approach.

**Why the switch?**

1. **Multiple Options**: Instead of forcing a single choice, the system can now return a list of the top potential matches, allowing users to select the most accurate one.
2. **Rich Context**: Recommendations now carry extensive metadata (like revenue, employee count, and registered addresses) so users can confidently verify the suggestion before applying it.

Example: Legal Id

* **Before 3.82.x:** Recommended values for D Legal Id were stored in  `account.delpha__DDQ_QualityLegalIdRecommended__c`.
* **From 3.82.x:** REcommended Values are now stored as JSON in `account.delpha__DDQ_QualityLegalIdRecommendedData__c`.

This change allows users to access comprehensive recommendation data upon acceptance. For further details, refer to the [<mark style="color:$primary;">Documentation on Data Quality Field Structure</mark>](/delpha-for-salesforce/how-to-faq/delpha-data-quality/delpha-data-quality-field-pack-for-salesforce.md) and the [<mark style="color:$primary;">Score Meter</mark>](https://help.delpha.io/delpha-for-salesforce/delpha-upgrade/upgrade-tasks/pages/TXkLPi5ENGXFxkUoaHiu#id-2.-data-quality-review-and-apply-suggestions-inline)<mark style="color:$primary;">.</mark>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.delpha.io/delpha-for-salesforce/delpha-upgrade/upgrade-tasks/build-3.82.x.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
