Release 0.18.1
Added
-
Docker Support
-
Docker Compose configuration (
docker-compose.yml) for easy deployment -
Docker image definition (
Dockerfile) for containerized apflow -
.dockerignorefile for optimized image builds -
Enhanced GraphQL Testing
-
New
test_loaders.pyfor GraphQL DataLoaders testing (task loading by ID and children) -
Additional test coverage in
test_mutations.pyfor execute_task mutation -
Expanded
test_queries.pywith task tree and running tasks queries -
Enhanced
test_schema.pyto verify TaskTreeType and TaskProgressEvent in schema -
Added task progress subscriptions tests in
test_subscriptions.py -
Improved tests for distributed configuration in
test_distributed_config.pyandtest_leader_election.py -
Enhanced lease management tests with concurrent acquisition and validation
Changed
pyproject.toml: Updatedapdev[dev]dependency to version 0.1.6 for improved compatibility- Documentation workflow: Updated GitHub Actions versions for consistency
- Shared
make_task_dict()helper function inconftest.pyfor consistent task dictionary creation in GraphQL tests
Fixed
-
PostgreSQL Driver Selection
-
Fixed
normalize_postgresql_url()function to correctly select async/sync driver based onasync_modeparameter -
Ensures proper database connection handling for both sync and async contexts
-
Configuration Management
-
Fixed
test_scheduler.pyto properly patchload_cli_configin fixtures, preventing local config loading during tests -
Enhanced runtime tests to handle cases when no task executor is configured
-
Documentation Workflow
-
Added
workflow_dispatchtrigger for manual documentation deployment -
Fixed GitHub Actions workflow compatibility for documentation site generation