Skip to content

Commit 1395570

Browse files
ddebowczykclaude
andcommitted
Add release notes for v1.18.1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e68b91e commit 1395570

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

docs/release-notes/v1.18.1.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Release Notes - v1.18.1
2+
3+
## Bug Fixes
4+
5+
### Agent Event Status Fix
6+
- `AgentFinished` event now correctly reports `status: completed` (or `failed`) instead of `in_progress` when agent terminates
7+
- The status is determined based on the `StopReason` from continuation criteria evaluation
8+
9+
### Duplicate Event Fix
10+
- Fixed duplicate `ContinuationEvaluated` events being emitted during agent execution
11+
- Removed redundant `hasNextStep()` check from `StepByStep::nextStep()`
12+
13+
### AgentBuilder maxRetries Fix
14+
- `AgentBuilder::withMaxRetries()` now actually works - the value is passed to `ToolCallingDriver` via inference retry policy
15+
- Previously the property was set but never used
16+
17+
### AbstractAgentDefinition Event Handler Fix
18+
- Fixed `AbstractAgentDefinition::build()` returning stale agent instance without the configured event handler
19+
- Event handlers and listeners set via `withEventHandler()`, `wiretap()`, `onEvent()` now correctly propagate to the built agent
20+
21+
## Static Analysis Improvements
22+
23+
### PHPStan Level 8 Compliance
24+
- Added callable signatures to `ContentParts` and `MessageList` methods (`map`, `reduce`, `filter`)
25+
- Added proper Closure signatures to `MockTool` and `IdempotencyMiddleware`
26+
- Added `@param class-string` annotations to `SchemaDefinition`
27+
- Fixed array type annotations in `Task`, `TaskList`, `TodoReminderProcessor`
28+
- Fixed `ReActDriver::withCachedContext()` parameter passing
29+
- Fixed `DeterministicDriver` array key type issues
30+
- Removed redundant int casts in retry policy classes
31+
- Added `Agent::isStateChanged()` override to prevent spurious iterator yields
32+
33+
### Psalm Compliance
34+
- Added missing `#[\Override]` attributes across codebase
35+
- Added template parameters to `IteratorAggregate` implementations
36+
- Fixed namespace issues in `ResearchSubagentTool`
37+
- Added `ExecutionPolicy::default()` static method

0 commit comments

Comments
 (0)