1.0.0-b5
Update now:
PyPi Package:
pip install --upgrade chacc-api:1.0.0-b5Docker
docker pull jonas1015/chacc-api:1.0.0-b5Added
-
chacc installcommand – Install any ChaCC module from a Git repository or local folder in one step. You can use a full URL, an SSH address, or the short form likeTNet-Tech/chacc_outbound. Use--devto copy the module into the plugins directory for active development, or leave it off to build a production.chaccarchive automatically. Supports--reffor branches, tags, and commits,--forceto overwrite existing modules, and private repositories viaGITHUB_TOKEN,GITLAB_TOKEN,BITBUCKET_TOKEN, orCHACC_GIT_TOKEN. Includes a friendly step-by-step progress display with colored status markers so you always know what is happening. See the CLI install guide for the full reference. -
Async database support for modules – Modules can now connect to the database without blocking the server. When you create a new module with
chacc create, the generated code includes everything needed to run database queries asynchronously. -
Chacc Outbound module – A new official module for sending emails, SMS, and other messages. It includes automatic retries, delivery status tracking, and a pluggable adapter system (SMTP and console adapters included out of the box). See the Chacc Outbound docs for setup, REST API, and how to write custom adapters.
Fixed
- Database connections leaking in generated code – The scaffolded
get_dbdependency now properly closes the database session after each request, preventing connection leaks over time. - Docker startup issues – Fixed a problem where the database failed to migrate during startup in production mode.
- Docker permission errors – Fixed a permission issue that prevented the dependency resolver from writing its cache.
- PostgreSQL enum migration crashes – Fixed a crash when changing a column from one enum type to another. ChaCC now handles the conversion smoothly through an intermediate step, so enum migrations work without manual SQL.
- Module loading crashes – Fixed a crash that occurred when some plugins loaded their models in certain orders. The startup process is now more forgiving and handles edge cases gracefully.
- Migration crashes – Improved how ChaCC reads migration plans from Alembic, eliminating rare crashes during database updates.
- Code cleanup – Removed unreachable error handling code and eliminated an unnecessary global directory change during archive building, making the install flow easier to follow and safer in multi-threaded environments.
Changed
- Module name validation enforced in build path –
chacc buildand the internal build step ofchacc installnow both normalize module names the same way. This ensures that module names behave consistently whether you are building a package or installing one.