ChaCC API v1.0.0-beta.4 - STABILITY RELEASE
[1.0.0-b4] - 2026-05-30
Added
- Breaking: GUID TypeDecorator for cross-database UUID support (PostgreSQL UUID type / SQLite TEXT storage)
- SQLite batch operation support for constraints, indexes, and columns via
batch_alter_table() - Automatic
.envfile creation from.env.sampleon application startup if.envdoes not exist .env.sampleincluded in package distribution for ready-to-use configuration reference- Migration version counter suffix to prevent duplicate migration versions
- New database engine detection to distinguish PostgreSQL vs other databases
Fixed
- Breaking: Migration tracker table
rollback_availablecolumn conversion from BOOLEAN to INTEGER for PostgreSQL, and compatibility for SQLITE - Migration runner now uses
run_in_executor()for synchronous DB operations to prevent blocking async event loop - Made tracker/backup lazy properties to defer DB initialization
- Catch ProgrammingError/OperationalError for already-existing resources to make migrations idempotent
- GUID TypeDecorator now returns UUID instances directly without unnecessary conversion
- Tracker table now filtered from migration detection to prevent accidental drops
- Resolved requirements.txt path issue for installed package layout
Removed
- Removed redundant database type conversion in GUID TypeDecorator
Caution: Users migrating to 1.0.0-b4 will need to drop their existing databases and start afresh. The
rollback_availablecolumn type changed from BOOLEAN to INTEGER, and GUID column changes require a clean schema migration that cannot be automatically applied to existing data.