Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1 KB

File metadata and controls

38 lines (27 loc) · 1 KB

Updating Guide

This guide explains how to update your ThingsBoard Extension when migrating to a newer platform version.

ThingsBoard 4.2.2+ / 4.3.1+ / 4.4.0+ (Angular 20)

This migration updates the codebase from Angular 18 to Angular 20.

Steps

  1. Pull the latest changes from the corresponding release/* branch and install dependencies:

    yarn install
  2. Migrate all components to standalone (converts modules to standalone components):

    yarn ng update @angular/core --migrate-only --from=18.0.0 --to=20.3.20
  3. Update Angular Material component styles:

    yarn ng update @angular/material --migrate-only --from=18.0.0 --to=20.2.14
  4. Optional — Update control flow syntax (converts to the new @if, @for, and @switch block syntax):

    yarn ng generate @angular/core:control-flow

Verify

After completing the migration, make sure the project builds and runs correctly:

yarn build
yarn start