Skip to content

BUG FIXES AND DEVELOPER EXPERIENCE IMPROVEMENT - 1.0.0-b4.1

Choose a tag to compare

@Jonas1015 Jonas1015 released this 19 Jun 19:48
· 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 for create_enum, sync_enum_values, and drop_enum operations.
  • 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 UndefinedObject failures.
  • uuid7-based default UUID generation for ChaCCBaseModel, using Python 3.12+ uuid.uuid7 with uuid-utils fallback on older Python versions.
  • uuid-utils runtime dependency for environments without native uuid7 support.
  • SQLITE_DATABASE_NAME and SQLITE_DATABASE_PATH environment variables for custom SQLite database names and storage locations.
  • CHACC_VERBOSE and CHACC_DEBUG environment controls for runtime log level selection.
  • CLI chacc run server -v/--verbose support 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-enum hooks.
  • PostgreSQL UndefinedObject crashes 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 -v affects the child server process.
  • Docker and Docker Compose default port mismatch by replacing stale 8080 references with 8085.
  • Alembic log noise by forcing the alembic logger to WARNING.
  • Default logging behavior so normal server runs are quieter while CHACC_VERBOSE and CHACC_DEBUG still enable detailed logs.
  • Repeated logger imports by centralizing default log level detection in get_default_log_level().
  • SQLite database path handling so SQLITE_DB_PATH uses the configured SQLITE_DATABASE_PATH and SQLITE_DATABASE_NAME.

Removed

  • Removed redundant LogLevels.INFO logger setup across server, database, migration, module loader, Redis, health, and environment validation modules.
  • Removed stale Docker 8080 exposed 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