|
| 1 | +--- |
| 2 | +# v1.10.2 — Transaction Granularity & Sandbox Stability Enhancements |
| 3 | + |
| 4 | +## What's New |
| 5 | + |
| 6 | +### Core Features |
| 7 | +- **Database ContextVar DAO Layer & Transaction Granularity Optimization**: Introduced a ContextVar-based DAO abstraction, leading to cleaner, safer transaction handling throughout the application. This reduces risk of cross-request interference and improves backend reliability in concurrent environments. |
| 8 | +- **Expanded Soul.md Capacity for Agent Context**: Increased the character limit for `soul.md` in agent context-building from 2,000 to 30,000 characters, allowing for richer agent context and more complex behavior modeling. |
| 9 | + |
| 10 | +### Optimizations |
| 11 | +- **Sandbox Process Tree Cleanup on Timeout**: Significantly improved bwrap sandbox process cleanup to ensure all subprocesses are reliably terminated after execution timeout. This prevents zombie processes and resource leaks in environments with high code execution activity. |
| 12 | +- **Tool Call Pairing Integrity in LLM Routing**: Enhanced LLM payload handling to ensure tool call pairs are always valid, preventing mismatches during agent tool calling and reducing backend errors. |
| 13 | +- **Workspace Deletion Permissions Refinement**: Clarified and enforced workspace deletion permissions, ensuring only authorized users may delete workspaces or workspace files. |
| 14 | + |
| 15 | +### UI/UX Enhancements |
| 16 | +- **Sidebar Focus List Expansion Option**: Users can now view more than 12 items in the sidebar Focus list, with an expand option for easier navigation. |
| 17 | +- **Chat Timestamp Localization**: Chat message timestamps now strictly align with the selected application language, improving global user experience and clarity. |
| 18 | + |
| 19 | +## Bug Fixes |
| 20 | + |
| 21 | +- **A2A Infinite Loop Prevention**: Addressed an issue where agent-to-agent message triggers could recurse infinitely, ensuring stable message routing and preventing backend exhaustion. |
| 22 | +- **System Email Validation for Invitations**: Added pre-validation for system email addresses before sending invites, preventing invalid invitation cycles and reducing bounce rates. |
| 23 | +- **Agent Settings Permissions Consistency**: Fixed permission handling for agent settings, preventing unauthorized edits and ensuring consistent access control. |
| 24 | +- **Browser Extract Schema Compatibility**: Migrated browser extract schema to use Pydantic `RootModel[Any]`, resolving SDK typing issues for proper API serialization/deserialization. |
| 25 | +- **Workspace File Delete Authorization**: Ensured workspace file deletions honor manager permissions, fixing cases where unauthorized deletes could occur. |
| 26 | +- **History Message Order Correction**: Fixed double-reverse logic in chat gateway message ordering, restoring correct transcript sequencing in chat histories. |
| 27 | + |
| 28 | +## Upgrade Guide |
| 29 | + |
| 30 | +### Docker Deployment |
| 31 | + |
| 32 | +```bash |
| 33 | +git pull origin main |
| 34 | +
|
| 35 | +cd deploy |
| 36 | +# Rebuild and restart services |
| 37 | +docker compose down && docker compose up -d --build |
| 38 | +``` |
| 39 | + |
| 40 | +### Source Deployment |
| 41 | + |
| 42 | +```bash |
| 43 | +git pull origin main |
| 44 | +
|
| 45 | +cd backend |
| 46 | +cd .. |
| 47 | +
|
| 48 | +cd frontend |
| 49 | +npm install |
| 50 | +npm run build |
| 51 | +cd .. |
| 52 | +
|
| 53 | +./restart.sh |
| 54 | +``` |
| 55 | + |
| 56 | +### Kubernetes / Helm |
| 57 | + |
| 58 | +```bash |
| 59 | +helm upgrade clawith helm/clawith/ -f values.yaml |
| 60 | +``` |
| 61 | + |
| 62 | +## Notes |
| 63 | + |
| 64 | +- **Database Transaction Logic**: Custom integrations or plugins interacting with the backend database should review transaction scope logic for compatibility with the new ContextVar-based DAO layer. |
| 65 | +- **Sandbox Process Cleanup**: No configuration changes are needed for sandbox improvements, but heavy code execution tenants may notice improved resource management. |
| 66 | +- **Soul.md Expansion**: Applications or agents using large context files can now take advantage of the raised character limit for richer agent capabilities. |
| 67 | +- **No manual database migration required**: Schema migrations run automatically on application startup. |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +--- |
| 72 | + |
1 | 73 | # v1.10.1 — Chat Model Switcher & Entrypoint Permission Optimizations |
2 | 74 |
|
3 | 75 | ## What's New |
|
0 commit comments