Angular Migration Guide
This guide walks you through upgrading your Angular application using DepFixer.Supported Migrations
| Current Version | Target Versions |
|---|---|
| Angular 12 | 15, 16, 17, 18, 19 |
| Angular 13 | 16, 17, 18, 19 |
| Angular 14 | 17, 18, 19 |
| Angular 15 | 18, 19 |
| Angular 16 | 18, 19 |
| Angular 17 | 18, 19 |
| Angular 18 | 19 |
Before You Start
1. Check Current State
2. Commit Current Changes
Migration Steps
Step 1: Run Migration Command
Step 2: Select Target Version
Use arrow keys to navigate and Enter to select:Step 3: Review and Apply
After payment, the migration is applied:Post-Migration Steps
1. Install Dependencies
2. Run Angular Schematics (Optional)
Some migrations require code changes:3. Fix Any Remaining Issues
TypeScript Versions
| Angular | TypeScript |
|---|---|
| 19 | 5.5 - 5.6 |
| 18 | 5.4 - 5.5 |
| 17 | 5.2 - 5.4 |
| 16 | 4.9 - 5.1 |
| 15 | 4.8 - 4.9 |
Version-Specific Changes
Angular 16 → 17
- Standalone by default - Components are standalone unless specified
- New control flow -
@if,@for,@switchsyntax - Deferred loading -
@deferfor lazy loading
Angular 17 → 18
- Zoneless support - Experimental zoneless change detection
- Signal-based inputs -
input()function for reactive inputs - New build system -
applicationbuilder with esbuild
Angular 18 → 19
- Incremental hydration - Partial hydration for SSR
- Resource API - Reactive data fetching primitives
- linkedSignal - Derived signals with reset capability