Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## v0.1.5

### New Features

**Public `Pool.add_task()` method**
- `Pool.add_task()` is now public (was `_add_task()`)
- Alternative to `@pool.task()` decorator for programmatic task registration
- Includes comprehensive docstring with usage examples

### Improvements

**Enhanced type safety for TaskHandler protocols**
- Added generic type parameters (`ContextT`, `ResultT`) to `_SyncTaskHandler` and `_AsyncTaskHandler`
- Better IDE autocomplete and type checking support
- Added comprehensive type checking tests in `test_task_types.py`

**Activity tracking improvements**
- Made `percentage` field optional (`int | None`) in activity schemas
- More flexible activity percentage tracking

**Configuration robustness**
- Added `extra="ignore"` to config model for better forward compatibility

### Bug Fixes

**Database URL handling**
- Fixed database URL rendering to properly handle password visibility
- Uses `engine.url.render_as_string(hide_password=False)` instead of `str(engine.url)`

**Tracker commit**
- Added missing `db.commit()` call in activity tracker

### Testing

**Type checking tests**
- Added `test_task_types.py` for validating TaskHandler protocol compatibility
- Covers sync/async functions and class methods

## v0.1.4

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentexec"
version = "0.1.4"
version = "0.1.5"
description = "Production-ready orchestration for OpenAI Agents with Redis-backed coordination, activity tracking, and workflow management"
readme = "README.md"
requires-python = ">=3.12"
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agentexec-ui",
"version": "0.1.4",
"version": "0.1.5",
"description": "React components for agentexec background agent monitoring",
"type": "module",
"main": "./dist/index.cjs",
Expand Down