Update Dataform

This document shows you how to update Dataform core to the latest version.

Before you begin

  1. Create a repository.
  2. Create and initialize a development workspace.

Required roles

To get the permissions that you need to update Dataform, ask your administrator to grant you the Dataform Editor (roles/dataform.editor) IAM role on workspaces. For more information about granting roles, see Manage access.

You might also be able to get the required permissions through custom roles or other predefined roles.

Update Dataform

  1. Look up the latest version of @dataform/core on the Dataform releases page in GitHub.
  2. Go to your development workspace.
  3. In the Files pane, open the package.json file.
  4. Update the @dataform/core dependency with the latest Dataform version in the following format:

    {
        "dependencies": {
            "@dataform/core": "XXXX"
        }
    }
    

    Replace XXXX with the latest version of Dataform.

  5. Click Install packages.

  6. Commit changes.

  7. Push changes to your repository.

The following code sample updates Dataform to the 2.8.0 version inside the package.json file:

{
    "dependencies": {
        "@dataform/core": "2.8.0"
    }
}

What's next