SDK V2 to V3
Overview
Industry Standard Pattern
// Playwright
import { test, expect, chromium } from '@playwright/test';
// Vue
import { ref, computed, onMounted } from 'vue';
// React
import { useState, useEffect, useMemo } from 'react';
// Zod
import { z } from 'zod';
// Drizzle ORM
import { pgTable, serial, text } from 'drizzle-orm/pg-core';
// Vitest
import { describe, it, expect } from 'vitest';No Runtime Changes
API Changes
getParametersOfComponent is now async
getParametersOfComponent is now asyncQuick Migration (3 Steps)
Step 1: Find All SDK Imports
Step 2: Update Import Statements
Step 3: Verify & Test
Common Migration Patterns
Pattern 1: Mixed Runtime & Type Imports
Pattern 2: Multiple Type-Only Imports
Pattern 3: Callback Registration
Pattern 4: View Model Usage
Pattern 5: HOMAG Intelligence Integration
Troubleshooting
Issue: "Module not found" or "Cannot find module"
Issue: TypeScript cannot find type definitions
Issue: Named export not found
Issue: Cannot find specific type or class
Issue: Build fails with "exports is not defined"
Issue: IDE autocomplete not working
Bundler Configuration
Vite
Webpack
Ember with Embroider
Technical Details
What Changed Under the Hood
FAQ
Q: Do I need to update my code beyond import statements?
Q: Can I migrate incrementally?
Q: Will my build size change?
Q: Do I need to update my bundler configuration?
Q: What if I'm using custom types augmentation?
Q: Is there a way to keep using the old import paths?
Q: What version should I use if I can't migrate yet?
Getting Help
Appendix - Complete Import Path Reference
Core Classes
v2.x Import
v3.0.0 Import
Type Imports (Kernel Types)
v2.x Import
v3.0.0 Import
Type Imports (RAPI Types)
v2.x Import
v3.0.0 Import
Type Imports (Planner Types)
v2.x Import
v3.0.0 Import
Utilities & Helpers
v2.x Import
v3.0.0 Import
UI Callbacks
v2.x Import
v3.0.0 Import
View Models
v2.x Import
v3.0.0 Import
Common Types
v2.x Import
v3.0.0 Import
HOMAG Intelligence
v2.x Import
v3.0.0 Import
External Objects
v2.x Import
v3.0.0 Import
Last updated