Skip to content

build(deps): bump @mastra/memory from 1.26.2 to 1.28.0 - #1104

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mastra/memory-1.28.0
Open

build(deps): bump @mastra/memory from 1.26.2 to 1.28.0#1104
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mastra/memory-1.28.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Bumps @mastra/memory from 1.26.2 to 1.28.0.

Release notes

Sourced from @​mastra/memory's releases.

April 24, 2026

Highlights

Modal Cloud Sandbox Provider (@mastra/modal)

New @mastra/modal adds a Modal-backed ModalSandbox for running workspace commands in an isolated cloud environment with pause/resume support—expanding Mastra’s deployment/execution options beyond local sandboxes.

Per-request Workspace Filesystem Resolver (Multi-tenant Routing)

Workspace’s filesystem option now supports a resolver function, enabling per-request filesystem selection/routing from a single Workspace instance—useful for multi-tenant setups and scoped permissions without spinning up multiple Workspaces.

Custom Language Server Registration in LSPConfig

You can now register additional language servers via lsp.servers (and override built-ins by ID), unlocking LSP-based inspection for languages beyond the default set (e.g., PHP, Ruby, Java, Kotlin, Swift, Elixir).

Vector Search “Works Out of the Box” (Indexing + Large File Chunking)

Workspace file indexing now auto-creates vector indices where required (e.g., LibSQL) and splits large files into overlapping chunks instead of skipping them—preventing empty vector stores and making search reliable with autoIndexPaths.

Streaming & Observational Memory Reliability + Better Usage Introspection

Multiple fixes prevent duplicated/replayed messages and tool outputs when observational memory is enabled (including disabling savePerStep in Harness in this mode), and agent.stream() callbacks now preserve provider-specific usage.raw so you can access cache metrics without wrapping streams.

Breaking Changes

  • None noted in this changelog.

Changelog

@​mastra/core@1.28.0

Minor Changes

  • The Workspace filesystem option now accepts a resolver function in addition to a static instance. (#13150)

    Before: filesystem: WorkspaceFilesystem (static, same filesystem for every request) After: filesystem: WorkspaceFilesystem | (({ requestContext }) => WorkspaceFilesystem) (static or per-request)

    This enables per-request filesystem routing from a single Workspace — useful for multi-tenant setups, role-based access (e.g. admin vs user directories), and scoped filesystem permissions without creating separate Workspace instances.

  • Added support for custom language server registration with the servers field in LSPConfig. Previously, LSP inspection only worked with built-in server definitions for TypeScript, JavaScript, Python, Go, and Rust. You can now register additional language servers, such as PHP, Ruby, Java, Kotlin, Swift, or Elixir, by providing a CustomLSPServer definition. (#14969)

    Example:

    const workspace = new Workspace({
      lsp: {
        servers: {
          phpactor: {
            id: 'phpactor',
            name: 'Phpactor Language Server',
            languageIds: ['php'],
            extensions: ['.php'],
            markers: ['composer.json'],
            command: 'phpactor language-server',
          },
        },

... (truncated)

Changelog

Sourced from @​mastra/memory's changelog.

1.28.0

Minor Changes

  • Added opt-in awaited Observational Memory hooks for synchronous cycles. (#22147)

    Set hookExecution: "await" to await lifecycle hooks, stop the observer or reflector when a start hook fails, and receive one paired end callback after cleanup. Async-buffer cycles remain fire-and-forget.

    const memory = new Memory({
      options: {
        observationalMemory: {
          hookExecution: 'await',
          hooks: {
            onObservationStart: async context => {
              await authorizeObservation(context);
            },
          },
        },
      },
    });

Patch Changes

1.28.0-alpha.4

Patch Changes

  • Fixed observational memory re-observing stored working memory and overwriting existing values. (#22247)

... (truncated)

Commits
  • 3cd96a3 chore: version - exit prerelease mode
  • 73fa1ab chore: version packages (alpha) (#22320)
  • cd7683d fix(memory): prevent observational memory from re-observing working memory (#...
  • 3086f23 chore: version packages (alpha) (#22241)
  • 9c984f9 fix(memory): stop empty reflections wiping memory and back off unproductive s...
  • c118318 fix(core): restore output processing for canceled agent streams (#22243)
  • 8dcd635 fix(memory): forward continuationHints from Memory to the OM engine (#22235)
  • 6eb8bd3 chore: version packages (alpha) (#22100)
  • ee0c1a0 fix(memory): detect long-period multi-line repetition loops in observer outpu...
  • befbfc2 fix(memory): restore reflector compression retries (#22232)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@mastra/memory](https://github.com/mastra-ai/mastra/tree/HEAD/packages/memory) from 1.26.2 to 1.28.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.28.0/packages/memory)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 31, 2026
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