Changelog¶
1.0.0-b4¶
Added¶
- GUID
TypeDecoratorfor cross-database UUID support: PostgreSQL native UUID and SQLite text storage. - SQLite batch operation support for constraints, indexes, and columns through
batch_alter_table(). - Automatic
.envcreation from.env.sampleon application startup. .env.sampleincluded in the package distribution.- Migration version counter suffix to prevent duplicate migration versions.
- Database engine detection to distinguish PostgreSQL from other engines.
Fixed¶
- Migration tracker
rollback_availablecolumn conversion for PostgreSQL and SQLite compatibility. - Migration runner now uses
run_in_executor()for synchronous database operations. - Tracker and backup properties are lazy to defer database initialization.
ProgrammingErrorandOperationalErrorfor existing resources are caught to make migrations idempotent.- GUID values now return
uuid.UUIDinstances directly. - Tracker table is filtered from migration detection to prevent accidental drops.
- Requirements path handling for installed package layout.
Removed¶
- Redundant database type conversion in the GUID
TypeDecorator.
Caution: users migrating to
1.0.0-b4should start from a clean database. The tracker column type and GUID column changes require a fresh schema migration.
1.0.0-b3¶
Added¶
- Automatic
.envcreation from.env.samplewhen.envis missing. .env.sampleincluded in package distribution.
Fixed¶
- Improved migration engine database detection for default database and PostgreSQL database configurations.