Skip to content

build(deps): bump @mastra/memory from 1.6.1 to 1.10.0#392

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/mastra/memory-1.10.0
Closed

build(deps): bump @mastra/memory from 1.6.1 to 1.10.0#392
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/mastra/memory-1.10.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 30, 2026

Bumps @mastra/memory from 1.6.1 to 1.10.0.

Release notes

Sourced from @​mastra/memory's releases.

March 5, 2026

Highlights

Tool inputExamples to improve model tool-call accuracy

Tool definitions can now include inputExamples, which are passed through to models that support them (e.g., Anthropic’s input_examples) to demonstrate valid inputs and reduce malformed tool calls.

MCP client fetch hooks now receive RequestContext (auth/cookie forwarding)

@mastra/mcp adds requestContext support to custom fetch functions for MCP HTTP server definitions, enabling request-scoped forwarding of cookies/bearer tokens during tool execution while remaining backward compatible with (url, init) fetch signatures.

Reliability + DX fixes for agents, streaming, and memory cleanup

Provider stream errors are now consistently surfaced from generate()/resumeGenerate(), AI SDK errors are routed through the Mastra logger with structured context, client-side tools no longer lose history in stateless deployments, and memory.deleteThread()/deleteMessages() now automatically cleans up orphaned vector embeddings across supported vector stores.

Changelog

@​mastra/core@​1.10.0

Minor Changes

  • Add inputExamples support on tool definitions to show AI models what valid tool inputs look like. Models that support this (e.g., Anthropic's input_examples) will receive the examples alongside the tool schema, improving tool call accuracy. (#12932)

    • Added optional inputExamples field to ToolAction, CoreTool, and Tool class
    const weatherTool = createTool({
      id: "get-weather",
      description: "Get weather for a location",
      inputSchema: z.object({
        city: z.string(),
        units: z.enum(["celsius", "fahrenheit"])
      }),
      inputExamples: [{ input: { city: "New York", units: "fahrenheit" } }, { input: { city: "Tokyo", units: "celsius" } }],
      execute: async ({ city, units }) => {
        return await fetchWeather(city, units);
      }
    });

Patch Changes

  • dependencies updates: (#13209)

  • dependencies updates: (#13210)

  • Update provider registry and model documentation with latest models and providers (33e2fd5)

  • Fixed execute_command tool timeout parameter to accept seconds instead of milliseconds, preventing agents from accidentally setting extremely short timeouts (#13799)

... (truncated)

Changelog

Sourced from @​mastra/memory's changelog.

1.10.0

Minor Changes

  • Added ModelByInputTokens in @mastra/memory for token-threshold-based model selection in Observational Memory. (#14614)

    When configured, OM automatically selects different observer or reflector models based on the actual input token count at the time the OM call runs.

    Example usage:

    import { Memory, ModelByInputTokens } from '@mastra/memory';
    const memory = new Memory({
    options: {
    observationalMemory: {
    model: new ModelByInputTokens({
    upTo: {
    10_000: 'google/gemini-2.5-flash',
    40_000: 'openai/gpt-4o',
    1_000_000: 'openai/gpt-4.5',
    },
    }),
    },
    },
    });

    The upTo keys are inclusive upper bounds. OM resolves the matching tier directly at the observer or reflector call site. If the input exceeds the largest configured threshold, OM throws an error.

    Improved Observational Memory tracing so traces show the observer and reflector spans and make it easier to see which resolved model was used at runtime.

Patch Changes

1.10.0-alpha.2

Minor Changes

  • Added ModelByInputTokens in @mastra/memory for token-threshold-based model selection in Observational Memory. (#14614)

    When configured, OM automatically selects different observer or reflector models based on the actual input token count at the time the OM call runs.

    Example usage:

... (truncated)

Commits
  • 28d85b9 chore: version - exit prerelease mode
  • d4fcb37 chore: version packages (alpha) (#14549)
  • dd9c4e0 feat(memory): add token-tiered OM model routing and tracing visibility (#14614)
  • 6d1e32d chore: version packages
  • 02a972a chore: version packages
  • 23bd359 fix: improve gemini-2.5-flash reflection compression (#14612)
  • 21f5a3e chore: version - exit prerelease mode
  • a79e484 chore: version packages
  • da93115 feat(memory): add thread-scoped retrieval for observational memory (#14437)
  • b558156 fix(memory): improve LLM test skip logic and recording-aware test infrastruct...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 30, 2026
Bumps [@mastra/memory](https://github.com/mastra-ai/mastra/tree/HEAD/packages/memory) from 1.6.1 to 1.10.0.
- [Release notes](https://github.com/mastra-ai/mastra/releases)
- [Changelog](https://github.com/mastra-ai/mastra/blob/main/packages/memory/CHANGELOG.md)
- [Commits](https://github.com/mastra-ai/mastra/commits/@mastra/memory@1.10.0/packages/memory)

---
updated-dependencies:
- dependency-name: "@mastra/memory"
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/mastra/memory-1.10.0 branch from 0ade947 to 272add8 Compare March 30, 2026 05:44
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 6, 2026

Superseded by #432.

@dependabot dependabot Bot closed this Apr 6, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/mastra/memory-1.10.0 branch April 6, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants