---
schema_version: "1"
id: b20e1552832d36280006c11ec07796b3e8968be32021938302c5c00266fb1d5a
title: Update the API Version
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/admin_locales_update_apis.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.admin_locales_update_apis.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fa4cd84c346b9a0f47992515f76eb099375b27ab6fb630161da17c38c1c483fd
description: API version 45.0 is the minimum required version for ICU.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Update the API Version

API version 45.0 is the minimum required version for ICU.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d67168e37">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">To define, edit, delete, set security, and set version settings for Apex
              classes:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">Author Apex</td>
          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">To run Apex tests:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">View Setup and Configuration</td>
          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">To view Apex triggers:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">View Setup and Configuration</td>
          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">To edit Apex triggers:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d67168e37 ">Author Apex</td>
          </tr>
        </tbody>
      </table>

We recommend that you adopt the latest API version available, if possible. If your current API version is much earlier than the new API version, incremental upgrades can help you identify the relevant changes to test.

You can update the API version of Apex classes, Apex triggers, and Visualforce pages from the corresponding Setup page. Updating the API version can include structural and behavior changes for objects and other code components. For example, an API change can add or remove fields on an object, introduce new outputs, or change the behavior of a field. We recommend that you back up your code before you upgrade the API version. Perform the upgrade in a sandbox, and complete thorough testing of all related functionality before you update production.

To determine whether an item uses locales, look for fields and code returning these types of data. The JDK and ICU locale formats for these types differ.

- Date
- Time
- Datetime
- Number (Integer)
- Currency
- Accounting Currency
- Next to the component’s name, click **Edit**, then select the **Version Settings** tab.

If you have Visualforce pages, confirm that they’re being used before you analyze and update them. Next to the page name, click **Edit**, then click **Where is this used?**

1. Go to the Apex Classes, Apex Triggers, or Visualforce Pages Setup page.
2. Next to the component’s name, click **Edit**, then select the **Version Settings** tab.
3. In the Version field for Salesforce.com API, select version 45.0 or later.
    
    ![The Apex Trigger detail page with the Version column circled.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/setup/images/admin_locales_apex_trigger_update_api.png)
4. Save your changes.

Test the class, trigger, or page, and verify that all related functionality works with the new API version.