This guide documents all breaking changes and migration paths for Typeengine.
- Run the automated upgrade tool:
pnpm ts-node scripts/upgrade-tool.ts - Review the output for any changes applied.
- See below for manual migration steps if needed.
oldFunctionreplaced bynewFunction. Use the upgrade tool or manually update your code.legacyApireplaced bymodernApi. Use the upgrade tool or manually update your code.fooBarreplaced bybarFoo. Use the upgrade tool or manually update your code.- Imports from
typeengine/coreshould now use the root entrypoint:typeengine.
- All public APIs are versioned and documented in the changelog.
- Semantic versioning is followed for all releases.
- If the upgrade tool fails, check for file permissions and rerun.
- For complex migrations, see example test cases in
tests/scripts/upgrade-tool.test.ts. - If you encounter custom or project-specific patterns, add new rules to
scripts/upgrade-tool.tsand rerun the tool.