Skip to content

0.5.0

Choose a tag to compare

@madeburo madeburo released this 22 Jun 12:41

Added

Schema Diff

  • Added the framework-independent diffSchemas() API to @titanbase/core.
  • Added deterministic project, table, column, relation, index, enum, and enum-value changes with stable matching and conservative rename detection.
  • Added destructive and breaking change classification, matching warnings, summary counters, and semantic metadata filtering.
  • Added a local Compare action and schema diff modal with grouped changes, severity badges, before/after values, object selection, and invalid-file handling.

PostgreSQL Migration Drafts

  • Added the deterministic generatePostgresMigrationDraft() API to @titanbase/export-postgres.
  • Added draft SQL for table, column, constraint, foreign-key, index, enum-addition, rename, and comment changes.
  • Added destructive and breaking metadata plus explicit review warnings for data loss, casts, inferred constraint names, locking, and enum limitations.
  • Added a migration preview flow from Schema Diff with warning review, SQL copy, and .sql download actions.
  • Added focused migration-draft tests and PostgreSQL import-to-migration integration coverage.

Changed

  • Extracted shared PostgreSQL identifier, type, column, table, index, and foreign-key formatting helpers for consistent full exports and migration drafts.