Skip to content

v2.5.0 — Schema Column Validation, PHP & Ruby

Choose a tag to compare

@corvid-agent corvid-agent released this 30 Mar 13:23
· 458 commits to main since this release
5f8c144

What's New

Schema Column Validation

SpecSync now parses SQL migrations (CREATE TABLE, ALTER TABLE ADD COLUMN) and validates documented columns in spec ### Schema sections against the actual database schema. Catches:

  • Phantom columns — documented in spec but missing from schema
  • Undocumented columns — in schema but not in spec
  • Type mismatches — column type drift between spec and migrations

Opt-in via schema_dir in specsync.json.

Destructive DDL Support

Migration parser correctly handles DROP TABLE, ALTER TABLE DROP COLUMN, ALTER TABLE RENAME TO, and ALTER TABLE RENAME COLUMN.

PHP Language Support

Full export extraction: classes, interfaces, traits, enums, public functions/constants, with visibility filtering and magic method exclusion.

Ruby Language Support

Full export extraction: classes, modules, public methods with visibility toggle tracking, attr_accessor/attr_reader/attr_writer, constants, and =begin/=end comment handling.

Also

  • Multi-language migration file support (16 file types)
  • Expanded test coverage for Go, Python, Java, C#, Dart parsers
  • 100% spec coverage across all modules
  • 11 languages now supported

Full Changelog: https://github.com/CorvidLabs/spec-sync/blob/main/CHANGELOG.md#250---2026-03-30

What's Changed

Full Changelog: v2.4.0...v2.5.0