v2.5.0 — Schema Column Validation, PHP & Ruby
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
- Add downloads badge to README by @0xLeif in #62
- feat: schema column validation, PHP & Ruby language support by @corvid-agent in #63
- docs: achieve 100% spec coverage and fix all validation warnings by @corvid-agent in #64
- feat: schema column validation and multi-language export support by @corvid-agent in #65
- release: prep v2.5.0 by @corvid-agent in #67
Full Changelog: v2.4.0...v2.5.0