BUG FIXES AND DEVELOPER EXPERIENCE IMPROVEMENT - 1.0.0-b4.1
·
105 commits
to develop
since this release
[1.0.0-b4.1] - 2026-06-19
Added
- PostgreSQL enum migration support through
alembic-postgresql-enum, including handling forcreate_enum,sync_enum_values, anddrop_enumoperations. - Migration runner support for Alembic PostgreSQL enum operation objects generated by
alembic-postgresql-enum. - Automatic enum type creation before adding enum-backed columns or tables in PostgreSQL migrations to prevent
UndefinedObjectfailures. uuid7-based default UUID generation forChaCCBaseModel, using Python 3.12+uuid.uuid7withuuid-utilsfallback on older Python versions.uuid-utilsruntime dependency for environments without nativeuuid7support.SQLITE_DATABASE_NAMEandSQLITE_DATABASE_PATHenvironment variables for custom SQLite database names and storage locations.CHACC_VERBOSEandCHACC_DEBUGenvironment controls for runtime log level selection.- CLI
chacc run server -v/--verbosesupport that now propagates verbose logging into the server subprocess. - Docker health checks and exposed ports updated to the current default server port.
- Production Docker Compose now uses the published Docker Hub image directly instead of local image build comments.
Fixed
- PostgreSQL migration failures when Alembic detects enum changes by importing and enabling
alembic-postgresql-enumhooks. - PostgreSQL
UndefinedObjectcrashes when adding enum-backed columns or tables by creating enum types before table/column operations. - Migration operation ordering to apply enum creation before tables, columns, constraints, indexes, and enum synchronization.
- Migration descriptions for enum create, sync, and drop operations.
- CLI verbose flag propagation so
chacc run server -vaffects the child server process. - Docker and Docker Compose default port mismatch by replacing stale
8080references with8085. - Alembic log noise by forcing the
alembiclogger toWARNING. - Default logging behavior so normal server runs are quieter while
CHACC_VERBOSEandCHACC_DEBUGstill enable detailed logs. - Repeated logger imports by centralizing default log level detection in
get_default_log_level(). - SQLite database path handling so
SQLITE_DB_PATHuses the configuredSQLITE_DATABASE_PATHandSQLITE_DATABASE_NAME.
Removed
- Removed redundant
LogLevels.INFOlogger setup across server, database, migration, module loader, Redis, health, and environment validation modules. - Removed stale Docker
8080exposed port and health check references. - Removed local-build instructions from the production Docker Compose file.
Changed
- README file has been updated to focus on ChaCC brief intro and link the entire guidance to chacc.dev