# What changed in @mastra/evals

> 4 changes in @mastra/evals 1 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/@mastra/evals/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @mastra/evals 1

### New APIs and options

- New helper returns a tool-level view of trajectory steps for use in custom scorers. (1.10.8) — [release notes](https://github.com/mastra-ai/mastra/blob/4c22623ea342a0ce611e15f89f4ab8b377bf7ee8/packages/evals/CHANGELOG.md#1108)
- ExpectedStep now supports provider_tool_call steps for typed trajectory expectations; the trajectory scorer compares toolArgs, toolResult, and success. (1.10.7) — [release notes](https://github.com/mastra-ai/mastra/blob/4c22623ea342a0ce611e15f89f4ab8b377bf7ee8/packages/evals/CHANGELOG.md#1107)

### Fixes and other changes

- In non-strict mode, repeated tools in expectedToolOrder now match separate calls, while extra calls between matches remain allowed. (1.10.8) — [release notes](https://github.com/mastra-ai/mastra/blob/4c22623ea342a0ce611e15f89f4ab8b377bf7ee8/packages/evals/CHANGELOG.md#1108)
- Trajectory checks now read tool calls consistently from traces and messages, avoiding wrapper steps skewing scores, maxSteps counts, redundant-call indexes, forbidden sequences, and retry detection. (1.10.8) — [release notes](https://github.com/mastra-ai/mastra/blob/4c22623ea342a0ce611e15f89f4ab8b377bf7ee8/packages/evals/CHANGELOG.md#1108)
