diff --git a/.changeset/pre.json b/.changeset/pre.json index 3b28eeee41b..08148ce138e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -194,10 +194,13 @@ "@mastra/railway": "0.10.2", "@mastra/s3": "0.6.5", "@mastra/sprites": "0.1.2", - "@mastra/vercel": "1.6.3" + "@mastra/vercel": "1.6.3", + "@mastra/json-render": "0.0.0" }, "changesets": [ + "@mastra_auth-better-auth-30464-dependencies", "all-tips-laugh", + "blue-hoops-end", "brave-routes-reroute", "brave-topics-redeliver", "bright-details-link", @@ -210,35 +213,49 @@ "code-sdk-vendor-scope-encoder", "cold-birds-swim", "connect-image-default-sunburst", + "cozy-ways-refuse", "create-factory-current-directory", "cuddly-symbols-laugh", + "curly-pillows-argue", + "cute-swans-march", "daytona-sdk-package-rename", "durable-agent-replay-takeover", "durable-recover-processor-errors", + "e2b-run-as-user-mount-owner", + "eight-buttons-juggle", "eight-places-invent", + "eight-stars-hang", "eleven-pears-wave", "empty-years-fold", + "factory-checkout-plan-preview", "factory-duplicate-plan-card", "factory-health-metrics", "factory-onboarding-check-align", "factory-onboarding-code-host-issues", "factory-phase-session-owner", "factory-pr-joins-external-card", + "factory-pull-request-reopen", + "factory-remove-provider-list-routes", "factory-run-queue-cli", "factory-run-queue", "factory-score-storage-option", + "factory-session-stage-bar", "factory-stale-notification-binding", + "factory-workspace-file-index", "fetch-with-retry-wait-delay", "fine-comics-change", "fine-cooks-end", "flat-jokes-allow", "full-humans-glow", + "great-bushes-smell", "happy-boxes-hunt", "headless-connect-client-credentials", "itchy-webs-search", "jolly-geckos-change", + "json-render-processor", "keep-processor-provider-metadata", "knowledge-scope-values-no-colons", + "late-falcons-listen", "lazy-suns-dream", "legal-spies-kiss", "linear-intake-reads-once", @@ -249,39 +266,55 @@ "mastracode-knowledge-canonical-scopes", "memory-save-no-pause", "modern-turtles-fix", + "nice-actors-stand", "nice-lands-double", "nine-boxes-pump", + "odd-bottles-notice", + "olive-pandas-carry", "parked-run-lease-outage", "perky-colts-glow", "plain-search-groups", "plenty-boats-travel", "plenty-buckets-relate", "plenty-nails-slide", + "plugin-errors-before-listener", "plugin-reload-failure-notice", "plugin-reload-keeps-last-good", + "plugin-startup-failure-notice", "polite-pianos-show", "public-dashboard-schemas", "puny-snakes-train", "quick-waits-knob", "quiet-counters-rest", + "quiet-diffs-blend", "quiet-factory-boot", "quiet-intake-bindings-fail", "quiet-jira-lists-read", "quiet-owls-recover", + "quiet-owls-reuse", + "quiet-owls-roll", "quiet-prs-stay-home", "quiet-regions-default", "quiet-scorers-stop", "quiet-streams-redeliver", + "ready-houses-beam", "red-pets-throw", "redis-streams-monitor-client", + "rich-bats-hide", "sandbox-github-token-groups", "sharp-links-connect", "sharp-valleys-redeliver", "short-shirts-win", "shy-files-relate", + "shy-swans-pick", + "shy-zoos-write", "silly-colts-lay", + "silly-drinks-trade", "six-mugs-lead", "smart-guests-grab", + "smooth-donkeys-split", + "social-towns-sort", + "sour-bananas-ring", "spicy-canyons-yawn", "strict-crabs-hug", "summary-runs-app-side", @@ -295,10 +328,18 @@ "thick-lands-bet", "thick-spies-wonder", "thin-moose-know", + "tidy-geese-report", "tool-result-model-output-processors", + "tricky-ends-lay", + "tui-startup-stops-when-stopped", + "twenty-ghosts-drum", "vanta-2026-11-12-bedrock-template", "vast-masks-stand", "warm-garlics-lick", - "wet-geckos-work" + "wet-geckos-work", + "wild-pumas-recall", + "witty-carpets-press", + "witty-wolves-write-once", + "young-camels-glow" ] } diff --git a/auth/better-auth/CHANGELOG.md b/auth/better-auth/CHANGELOG.md index 2e811155b53..9b3c7fc959e 100644 --- a/auth/better-auth/CHANGELOG.md +++ b/auth/better-auth/CHANGELOG.md @@ -1,5 +1,12 @@ # @mastra/auth-better-auth +## 1.1.12-alpha.0 + +### Patch Changes + +- dependencies updates: ([#30464](https://github.com/mastra-ai/mastra/pull/30464)) + - Updated dependency [`better-auth@^1.7.22` ↗︎](https://www.npmjs.com/package/better-auth/v/1.7.22) (from `^1.7.18`, in `dependencies`) + ## 1.1.11 ### Patch Changes diff --git a/auth/better-auth/package.json b/auth/better-auth/package.json index 876a688546c..3c78ae1706c 100644 --- a/auth/better-auth/package.json +++ b/auth/better-auth/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/auth-better-auth", - "version": "1.1.11", + "version": "1.1.12-alpha.0", "description": "Mastra Better Auth integration - self-hosted authentication", "type": "module", "main": "dist/index.js", diff --git a/client-sdks/client-js/CHANGELOG.md b/client-sdks/client-js/CHANGELOG.md index d07e813dd4e..c725e94b532 100644 --- a/client-sdks/client-js/CHANGELOG.md +++ b/client-sdks/client-js/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/client-js +## 1.60.1-alpha.3 + +### Patch Changes + +- Stop the JavaScript client from repeating state-changing requests by default. A failed `POST`, `PUT`, `PATCH`, or `DELETE` is now sent a single time, so a server error cannot duplicate a side effect such as an agent generation or workflow start. Read requests (`GET`, `HEAD`, `OPTIONS`) still retry three times, and the observability queries that only read server state keep that read default even though they travel as `POST`: `aggregateTraces()`, `aggregateSpans()`, `queryTraceThreads()`, and `querySpans()`. Any other request retries again when `retries` is set explicitly on the client or the call. ([#30434](https://github.com/mastra-ai/mastra/pull/30434)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.60.1-alpha.2 ### Patch Changes diff --git a/client-sdks/client-js/package.json b/client-sdks/client-js/package.json index 75e02d483c3..90850588763 100644 --- a/client-sdks/client-js/package.json +++ b/client-sdks/client-js/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/client-js", - "version": "1.60.1-alpha.2", + "version": "1.60.1-alpha.3", "description": "The official TypeScript library for the Mastra Client API", "author": "", "type": "module", diff --git a/client-sdks/react/CHANGELOG.md b/client-sdks/react/CHANGELOG.md index c7ee43e8e31..96683ee6c58 100644 --- a/client-sdks/react/CHANGELOG.md +++ b/client-sdks/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/react +## 1.15.1-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`b666fdb`](https://github.com/mastra-ai/mastra/commit/b666fdbf03a95a8fbe4cf02d150f4576dad6512f)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/client-js@1.60.1-alpha.3 + ## 1.15.1-alpha.2 ### Patch Changes diff --git a/client-sdks/react/package.json b/client-sdks/react/package.json index 912adea8014..ae414443e34 100644 --- a/client-sdks/react/package.json +++ b/client-sdks/react/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/react", - "version": "1.15.1-alpha.2", + "version": "1.15.1-alpha.3", "repository": { "type": "git", "url": "git+https://github.com/mastra-ai/mastra.git", diff --git a/deployers/cloud/CHANGELOG.md b/deployers/cloud/CHANGELOG.md index e967b6e921d..53b74ea106e 100644 --- a/deployers/cloud/CHANGELOG.md +++ b/deployers/cloud/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/deployer-cloud +## 1.84.0-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/deployer@1.84.0-alpha.3 + ## 1.84.0-alpha.2 ### Patch Changes diff --git a/deployers/cloud/package.json b/deployers/cloud/package.json index dad62c79374..e3b7583f767 100644 --- a/deployers/cloud/package.json +++ b/deployers/cloud/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/deployer-cloud", - "version": "1.84.0-alpha.2", + "version": "1.84.0-alpha.3", "description": "", "type": "module", "files": [ diff --git a/explorations/longmemeval/CHANGELOG.md b/explorations/longmemeval/CHANGELOG.md index 8f8e016dca1..321d277d7cb 100644 --- a/explorations/longmemeval/CHANGELOG.md +++ b/explorations/longmemeval/CHANGELOG.md @@ -1,5 +1,15 @@ # @mastra/longmemeval +## 1.1.43-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`6c647e6`](https://github.com/mastra-ai/mastra/commit/6c647e6faee5a6182d99e2352808df1b57558b67), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`cd2a326`](https://github.com/mastra-ai/mastra/commit/cd2a326988ced13509902dfa50339afcffdbf95e), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`82c98f9`](https://github.com/mastra-ai/mastra/commit/82c98f9f1cd32eb9bd1b7c2b30247de29758f1fa), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/libsql@1.31.0-alpha.1 + - @mastra/memory@1.41.2-alpha.2 + - @mastra/rag@2.8.1-alpha.0 + ## 1.1.43-alpha.2 ### Patch Changes diff --git a/explorations/longmemeval/package.json b/explorations/longmemeval/package.json index 4a32098b30c..b352a0007fd 100644 --- a/explorations/longmemeval/package.json +++ b/explorations/longmemeval/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/longmemeval", - "version": "1.1.43-alpha.2", + "version": "1.1.43-alpha.3", "description": "LongMemEval benchmark implementation for Mastra Memory", "scripts": { "test": "vitest", diff --git a/integrations/json-render/CHANGELOG.md b/integrations/json-render/CHANGELOG.md index 6d430930ae0..8ac072442ec 100644 --- a/integrations/json-render/CHANGELOG.md +++ b/integrations/json-render/CHANGELOG.md @@ -1 +1,34 @@ # @mastra/json-render + +## 0.1.0-alpha.0 + +### Minor Changes + +- Added `@mastra/json-render`, which lets agents compose [json-render](https://json-render.dev) interfaces from your component catalog. ([#29914](https://github.com/mastra-ai/mastra/pull/29914)) + + ```ts + import { JsonRenderProcessor } from '@mastra/json-render'; + + const ui = new JsonRenderProcessor({ catalog }); + + const agent = new Agent({ + id: 'ui-agent', + name: 'UI Agent', + model: 'openai/gpt-6.1-sol', + instructions: catalog.prompt({ mode: 'inline', editModes: ['patch'] }), + inputProcessors: [ui], + outputProcessors: [ui], + maxProcessorRetries: 2, + memory: new Memory(), + }); + ``` + + - Interfaces the model writes stream to the client as `data-spec` parts, and the reply's text keeps only the prose. Render them with `useJsonRenderMessage()` from `@json-render/react`. + - Interfaces are saved with the message, so they render again after a reload. + - Later turns can edit the latest interface with a few patches. Send the interface's state under the `JSON_RENDER_STATE` request context key, and the model sees what the user set and the edit keeps it. + - Interfaces that don't match the catalog are sent back to the model to fix before they're saved. + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 diff --git a/integrations/json-render/package.json b/integrations/json-render/package.json index 12f540c266c..eab7d5f27d9 100644 --- a/integrations/json-render/package.json +++ b/integrations/json-render/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/json-render", - "version": "0.0.0", + "version": "0.1.0-alpha.0", "description": "Let Mastra agents compose json-render interfaces that stream to the client and stay in memory", "type": "module", "main": "./dist/index.js", diff --git a/integrations/opencode/CHANGELOG.md b/integrations/opencode/CHANGELOG.md index 837499d5e1d..7a4561a0bce 100644 --- a/integrations/opencode/CHANGELOG.md +++ b/integrations/opencode/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/opencode +## 0.1.43-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`6c647e6`](https://github.com/mastra-ai/mastra/commit/6c647e6faee5a6182d99e2352808df1b57558b67), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`cd2a326`](https://github.com/mastra-ai/mastra/commit/cd2a326988ced13509902dfa50339afcffdbf95e), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/libsql@1.31.0-alpha.1 + - @mastra/memory@1.41.2-alpha.2 + ## 0.1.43-alpha.2 ### Patch Changes diff --git a/integrations/opencode/package.json b/integrations/opencode/package.json index 55685170acb..50a3a7299a2 100644 --- a/integrations/opencode/package.json +++ b/integrations/opencode/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/opencode", - "version": "0.1.43-alpha.2", + "version": "0.1.43-alpha.3", "description": "OpenCode plugin for Mastra Observational Memory", "type": "module", "main": "./dist/index.js", diff --git a/mastracode/factory/CHANGELOG.md b/mastracode/factory/CHANGELOG.md index f2f83100989..490e56d1e36 100644 --- a/mastracode/factory/CHANGELOG.md +++ b/mastracode/factory/CHANGELOG.md @@ -1,5 +1,61 @@ # @mastra/factory +## 0.29.0-alpha.4 + +### Minor Changes + +- New factories no longer create database columns and tables that nothing reads. Existing factories keep working: the old columns and their data stay in place, and the factory simply stops writing them. ([#30495](https://github.com/mastra-ai/mastra/pull/30495)) + + **Removed** + + - The `filesystem_snapshots` and `intake_label_routes` tables are no longer created, and the background file-listing capture that filled `filesystem_snapshots` no longer runs. + - The `waitForPendingFilesystemCapture` export is removed. Remove any call to it; there is nothing left to wait for. + - Project repository responses no longer include `sandboxWorkdir` or `lastBuiltAt`, and linking a repository no longer accepts `sandboxWorkdir`. + + **Upgrading** + + Update `@mastra/pg` or `@mastra/libsql` together with `@mastra/factory`. Older adapter versions keep the retired columns required on existing databases, which makes card, rule and repository writes fail. + +- Removed the unused `sandboxProvider` field from linked project repositories. Factory always uses the sandbox you configure, so the stored value was never read, and the GitHub and GitLab repository listings only ever filled it with `custom` or `none`. ([#30508](https://github.com/mastra-ai/mastra/pull/30508)) + + - Linking or updating a project repository no longer accepts `sandboxProvider`, and project repository responses no longer include it. + - The GitHub and GitLab repository listings used during setup no longer include `sandboxProvider`. + - New factories no longer create the `sandbox_provider` column. Existing factories keep the column and its stored values, and Factory simply stops writing it. + + **Upgrading** + + Stop passing `sandboxProvider` when linking a project repository: + + ```ts + // Before + await github.projectRepositories.link({ orgId, connectionId, repositoryId, sandboxProvider: 'local' }); + + // After + await github.projectRepositories.link({ orgId, connectionId, repositoryId }); + ``` + + Update `mastra` together with `@mastra/factory`. The Factory UI ships with `mastra`, and repository linking fails when one of the two is older than the other. + +### Patch Changes + +- New Factory databases no longer get the tables that only existed to migrate data from older releases (pre-split cards, the split progress marker, per-member intake settings, the original intake source bindings and their migration log). Databases created by an older release keep those tables and their data, and still migrate them on boot. ([#30488](https://github.com/mastra-ai/mastra/pull/30488)) + +- Fixed Factory plan previews when the plan file lives inside a repository checkout in a multi-repository session. The approval card now resolves the checkout's `.artifacts` root, and the session workspace routes can list and read approved plan files there without bypassing symlink and ignored-file guards. ([#30436](https://github.com/mastra-ai/mastra/pull/30436)) + +- Fixed reopened pull requests showing as closed in Factory. Reopening a GitHub pull request now marks it open again on every card that holds it: its own card and the issue card that links it. Reopening a GitLab merge request now does the same on the merge request's own card. ([#30388](https://github.com/mastra-ai/mastra/pull/30388)) + +- Removed Factory server routes that nothing calls anymore. The board and search stopped reading provider issue and pull request lists, so `GET /web/github/projects/:id/issues`, `GET /web/github/projects/:id/prs`, `GET /web/gitlab/issues`, `GET /web/gitlab/projects/:id/prs`, `GET /web/linear/issues`, `GET /web/jira/issues` and `GET /web/incidentio/issues` are gone. Also removed the unused `GET /web/github/projects/:id/commits` and the legacy `GET`/`POST /web/github/projects/:id/settings` (use `/web/source-control/projects/:id/settings`). Single issue and pull request routes, webhooks, sign-in and session routes are unchanged. ([#30489](https://github.com/mastra-ai/mastra/pull/30489)) + +- Added a file index for a session's workspace, so **Go to file** in the session panel finds any file the file tree can open by name, not only files in folders already opened. In a multi-repository session that includes files at the workspace root, such as saved plans. Files the repository ignores, nested repositories, and links that don't lead to a readable file in the workspace are left out. In a very large repository the list stops at a size limit, and in a multi-repository session a checkout that can't be read is skipped; either way the list says that it is partial. ([#30388](https://github.com/mastra-ai/mastra/pull/30388)) + + Pull request subscriptions from GitHub and GitLab now include when each one last changed. The session panel uses it to show the most recent state of a pull request when the card and the subscription disagree. + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`4224ee3`](https://github.com/mastra-ai/mastra/commit/4224ee32d3e8fa0f76aedab499c24acc1a564435), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/mcp@2.10.0-alpha.0 + - @mastra/code-sdk@1.19.1-alpha.4 + - @mastra/connect@1.4.1-alpha.1 + ## 0.29.0-alpha.3 ### Minor Changes diff --git a/mastracode/factory/package.json b/mastracode/factory/package.json index 221c31d65a0..e685a4e0744 100644 --- a/mastracode/factory/package.json +++ b/mastracode/factory/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/factory", - "version": "0.29.0-alpha.3", + "version": "0.29.0-alpha.4", "description": "Mastra Software Factory module: the server core behind the Mastra Software Factory — storage domains, integrations, and surfaces for agent-powered software delivery", "type": "module", "publishConfig": { diff --git a/mastracode/mastra-factory/CHANGELOG.md b/mastracode/mastra-factory/CHANGELOG.md index 9ce9b9979d0..6d7c3bb2008 100644 --- a/mastracode/mastra-factory/CHANGELOG.md +++ b/mastracode/mastra-factory/CHANGELOG.md @@ -1,5 +1,12 @@ # create-factory +## 0.4.4-alpha.3 + +### Patch Changes + +- Updated dependencies [[`12f7965`](https://github.com/mastra-ai/mastra/commit/12f79652cf16193febe8952b664927a70b295202), [`9b92400`](https://github.com/mastra-ai/mastra/commit/9b9240047b1ab2b164c20ab71414f6d27513c95f), [`1100a41`](https://github.com/mastra-ai/mastra/commit/1100a41fb723b3ebb96116481580ae95e0f1071a), [`44cece6`](https://github.com/mastra-ai/mastra/commit/44cece6f36f068dae73b1ba0b397ea4fa1360500), [`6c647e6`](https://github.com/mastra-ai/mastra/commit/6c647e6faee5a6182d99e2352808df1b57558b67)]: + - mastra@1.39.1-alpha.3 + ## 0.4.4-alpha.2 ### Patch Changes diff --git a/mastracode/mastra-factory/package.json b/mastracode/mastra-factory/package.json index 834962c2013..de7a2c4dcc8 100644 --- a/mastracode/mastra-factory/package.json +++ b/mastracode/mastra-factory/package.json @@ -1,6 +1,6 @@ { "name": "create-factory", - "version": "0.4.4-alpha.2", + "version": "0.4.4-alpha.3", "description": "Create a Mastra Factory project: an agent-powered software delivery environment built on Mastra. Run `npm create factory` to scaffold and get started.", "type": "module", "license": "Apache-2.0", diff --git a/mastracode/sdk/CHANGELOG.md b/mastracode/sdk/CHANGELOG.md index b07951f5967..bf512c5562c 100644 --- a/mastracode/sdk/CHANGELOG.md +++ b/mastracode/sdk/CHANGELOG.md @@ -1,5 +1,19 @@ # @mastra/code-sdk +## 1.19.1-alpha.4 + +### Patch Changes + +- **Held plugin errors until someone listens.** `PluginManager.onPluginError` now receives errors reported before it subscribed, such as a plugin signal provider failing to start while Mastra Code boots. They still go to `console.warn` when reported, the first listener gets the 20 most recent, and later listeners only see new ones. ([#30428](https://github.com/mastra-ai/mastra/pull/30428)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`6c647e6`](https://github.com/mastra-ai/mastra/commit/6c647e6faee5a6182d99e2352808df1b57558b67), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`cd2a326`](https://github.com/mastra-ai/mastra/commit/cd2a326988ced13509902dfa50339afcffdbf95e), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`b666fdb`](https://github.com/mastra-ai/mastra/commit/b666fdbf03a95a8fbe4cf02d150f4576dad6512f)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/libsql@1.31.0-alpha.1 + - @mastra/pg@1.37.0-alpha.1 + - @mastra/memory@1.41.2-alpha.2 + - @mastra/mcp@2.10.0-alpha.0 + - @mastra/client-js@1.60.1-alpha.3 + ## 1.19.1-alpha.3 ### Patch Changes diff --git a/mastracode/sdk/package.json b/mastracode/sdk/package.json index ca53445547e..1f1ac7c2650 100644 --- a/mastracode/sdk/package.json +++ b/mastracode/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/code-sdk", - "version": "1.19.1-alpha.3", + "version": "1.19.1-alpha.4", "description": "Mastra Code SDK: the agent core behind Mastra Code (everything except the TUI) — build your own UIs and surfaces on top of it", "type": "module", "publishConfig": { diff --git a/mastracode/tui/CHANGELOG.md b/mastracode/tui/CHANGELOG.md index 5551d2e3cd3..fd20fc5d7ac 100644 --- a/mastracode/tui/CHANGELOG.md +++ b/mastracode/tui/CHANGELOG.md @@ -1,5 +1,21 @@ # mastracode +## 0.50.1-alpha.4 + +### Patch Changes + +- **Showed plugin signal provider startup failures.** A plugin signal provider that fails to start while Mastra Code boots now shows an error in the session, as reload failures do, instead of only printing to the console before the UI starts. ([#30428](https://github.com/mastra-ai/mastra/pull/30428)) + +- **Fixed startup carrying on after you stop Mastra Code.** If you press Ctrl+C while Mastra Code is still starting, startup now stops. Before, it kept going even though Mastra Code was shutting down. It could take the terminal back, resume and lock a thread, clone a thread from another resource, and connect MCP servers. It could also apply the startup model pack, open onboarding, run SessionStart hooks and send the startup prompt. Stopping during onboarding no longer opens the login dialog, switches models or opens the model picker either. Text you typed is also no longer submitted after Mastra Code stops. ([#30431](https://github.com/mastra-ai/mastra/pull/30431)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`6c647e6`](https://github.com/mastra-ai/mastra/commit/6c647e6faee5a6182d99e2352808df1b57558b67), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`cd2a326`](https://github.com/mastra-ai/mastra/commit/cd2a326988ced13509902dfa50339afcffdbf95e), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`4224ee3`](https://github.com/mastra-ai/mastra/commit/4224ee32d3e8fa0f76aedab499c24acc1a564435), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/libsql@1.31.0-alpha.1 + - @mastra/pg@1.37.0-alpha.1 + - @mastra/memory@1.41.2-alpha.2 + - @mastra/mcp@2.10.0-alpha.0 + - @mastra/code-sdk@1.19.1-alpha.4 + ## 0.50.1-alpha.3 ### Patch Changes diff --git a/mastracode/tui/package.json b/mastracode/tui/package.json index 19526f9a893..905da654d2a 100644 --- a/mastracode/tui/package.json +++ b/mastracode/tui/package.json @@ -1,6 +1,6 @@ { "name": "mastracode", - "version": "0.50.1-alpha.3", + "version": "0.50.1-alpha.4", "description": "", "type": "module", "files": [ diff --git a/packages/agent-builder/CHANGELOG.md b/packages/agent-builder/CHANGELOG.md index a4f20039339..145d62755c1 100644 --- a/packages/agent-builder/CHANGELOG.md +++ b/packages/agent-builder/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/agent-builder +## 1.2.2-alpha.2 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/memory@1.41.2-alpha.2 + ## 1.2.2-alpha.1 ### Patch Changes diff --git a/packages/agent-builder/package.json b/packages/agent-builder/package.json index 3691268155b..ff7c3db87ef 100644 --- a/packages/agent-builder/package.json +++ b/packages/agent-builder/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/agent-builder", - "version": "1.2.2-alpha.1", + "version": "1.2.2-alpha.2", "license": "Apache-2.0", "type": "module", "main": "dist/index.js", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index b7d356b8d5f..ab24aacc451 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,47 @@ # mastra +## 1.39.1-alpha.3 + +### Patch Changes + +- Central Icons now cover every interface icon in Studio and Factory, and each icon family, such as speech bubbles, bells, folders and settings, uses one consistent shape. ([#30438](https://github.com/mastra-ai/mastra/pull/30438)) + +- Improved Factory card sessions: the card's stage, links, changes and files now sit in one place beside the conversation. ([#30388](https://github.com/mastra-ai/mastra/pull/30388)) + + **Stage bar** + + The session header shows the card's phase, with arrows to the nearest phase it can move to and a menu of every allowed move. A move that can't happen says why. The breadcrumb is gone: the sidebar names the session and the panel names the card. + + **Session panel** + + The panel runs from the top of the page beside the conversation, which keeps its width: when room runs out, the panel narrows, then folds into the header. Its overview lists the card's source and description, the workspace branch and pull request, the changed files, the pull requests the work opened, related cards, and a timeline of the card's moves. Pull request links now show once, here. Opening the panel doesn't re-render the conversation, and its text doesn't rewrap while the panel opens, narrows or folds. + + **Go to file** + + Go to file searches every file in the workspace, not only folders already opened, and ranks changed files first. The file tree marks changed files and the file viewer numbers its lines. + + **Consistency fixes** + + - A pull request's status icon follows one rule on the board, in the sidebar and in the panel, and GitLab merge request cards show it too. + - Links name what they point at, such as **PR #202** or **Issue #42**. + - Phase names follow the card's own board everywhere, including custom boards. + - A finished pull request card whose pull request is still open offers **Re-review**. + - A section that can't load says so instead of looking empty. + + Search now sits only in the sidebar, on phones too. Cmd/Ctrl+K still opens it. + + The sidebar no longer asks for each session's pull request status every 5 seconds. It reads the status again when the board's live feed reports a change. + +- Studio and Factory now use Central Icons for their interface icons. ([#29934](https://github.com/mastra-ai/mastra/pull/29934)) + +- Factory no longer sends or expects a `sandboxProvider` value when linking a repository during setup. Update `mastra` together with `@mastra/factory`: repository linking fails when one of them is older than the other. ([#30508](https://github.com/mastra-ai/mastra/pull/30508)) + +- Updated the Factory API route schemas used by `mastra api`: project repository responses no longer list `sandboxWorkdir` or `lastBuiltAt`. ([#30495](https://github.com/mastra-ai/mastra/pull/30495)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/deployer@1.84.0-alpha.3 + ## 1.39.1-alpha.2 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index c7c8b958ac4..e1722b48b27 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "mastra", - "version": "1.39.1-alpha.2", + "version": "1.39.1-alpha.3", "license": "Apache-2.0", "description": "cli for mastra", "type": "module", diff --git a/packages/connect/CHANGELOG.md b/packages/connect/CHANGELOG.md index 6f066d0f407..062c6d50c75 100644 --- a/packages/connect/CHANGELOG.md +++ b/packages/connect/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/connect +## 1.4.1-alpha.1 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/mcp@2.10.0-alpha.0 + ## 1.4.1-alpha.0 ### Patch Changes diff --git a/packages/connect/package.json b/packages/connect/package.json index ba7cc79ba5a..1a93eb9b851 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/connect", - "version": "1.4.1-alpha.0", + "version": "1.4.1-alpha.1", "description": "Use Mastra platform integration connections as agent toolsets", "type": "module", "main": "./dist/index.js", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index afa06b7f7ba..85c7109f3ce 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,45 @@ # @mastra/core +## 1.84.0-alpha.3 + +### Minor Changes + +- Added `collectionExists(name)` to Factory storage so a domain can tell whether a table already exists before registering it. Supported by `LibSQLFactoryStorage` and `PgFactoryStorage`; it is an optional capability, so other backends keep working unchanged. ([#30488](https://github.com/mastra-ai/mastra/pull/30488)) + + ```ts + if (!storage.collectionExists || (await storage.collectionExists('work_items'))) { + await storage.ensureCollections([WORK_ITEMS_SCHEMA]); + } + ``` + +- Added `ModelRouterLanguageModel.isGatewayMemoryManaged()`. It reports whether the Mastra Gateway serves Observational Memory for the credential the model will use, so framework code can keep memory local when the gateway can't serve it. A gateway project key is served by the gateway. An organization key (`msk-gateway-…`, `mskv2_…`) is served by a gateway without the memory API. A credential that can't be resolved — including one the gateway reports as missing — is thrown instead of reported as local, so a caller never mistakes a failed lookup for local ownership and the gateway and the local store can't both save the same conversation ([#30391](https://github.com/mastra-ai/mastra/issues/30391)). ([#30414](https://github.com/mastra-ai/mastra/pull/30414)) + + ```typescript + const model = new ModelRouterLanguageModel('mastra/openai/gpt-6.1-sol'); + + if (await model.isGatewayMemoryManaged()) { + // The gateway stores the thread's observations. + } else { + // Memory has to stay local. + } + ``` + +### Patch Changes + +- Fixed restart and time travel of workflow runs that contain a `.sleep()` or `.sleepUntil()` without an `id`. When another process restarted or time traveled such a run, the step after the sleep got no input, because each process gave the sleep a different random id. Unnamed sleeps now get the id `sleep__`, where `n` follows the order the sleeps are declared in, so every process agrees. ([#30397](https://github.com/mastra-ai/mastra/pull/30397)) + + Scheduled workflows with an unnamed sleep now have the same definition hash on every instance, so an instance no longer refuses a schedule another instance registered. + + Limits: + + - Runs stored before this version keep their random sleep ids and still won't match after a restart or time travel. + - If the workflow is already registered with a Mastra instance that has a custom `idGenerator` when the sleep is declared, that generator produces the id instead, so a generator that returns random ids still gives each process a different id. + - Adding or removing a sleep changes the ids of the unnamed sleeps after it; pass `{ id }` to keep one fixed: + + ```ts + workflow.sleep(5000, { id: 'wait-for-payment' }); + ``` + ## 1.84.0-alpha.2 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 509b491ba4c..6df6088a3f6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/core", - "version": "1.84.0-alpha.2", + "version": "1.84.0-alpha.3", "license": "Apache-2.0", "type": "module", "main": "dist/index.js", diff --git a/packages/create-mastra/CHANGELOG.md b/packages/create-mastra/CHANGELOG.md index aca4586d3a2..8b107d7d069 100644 --- a/packages/create-mastra/CHANGELOG.md +++ b/packages/create-mastra/CHANGELOG.md @@ -1,5 +1,7 @@ # create-mastra +## 1.39.1-alpha.3 + ## 1.39.1-alpha.2 ## 1.39.1-alpha.1 diff --git a/packages/create-mastra/package.json b/packages/create-mastra/package.json index 192c54be506..9a9a8af8c1a 100644 --- a/packages/create-mastra/package.json +++ b/packages/create-mastra/package.json @@ -1,6 +1,6 @@ { "name": "create-mastra", - "version": "1.39.1-alpha.2", + "version": "1.39.1-alpha.3", "description": "Create Mastra apps with one command", "license": "Apache-2.0", "type": "module", diff --git a/packages/deployer/CHANGELOG.md b/packages/deployer/CHANGELOG.md index 8ba305d779f..aff7c28d919 100644 --- a/packages/deployer/CHANGELOG.md +++ b/packages/deployer/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/deployer +## 1.84.0-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 1.84.0-alpha.2 ### Patch Changes diff --git a/packages/deployer/package.json b/packages/deployer/package.json index b266fb3486c..f3b4a2ec4dd 100644 --- a/packages/deployer/package.json +++ b/packages/deployer/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/deployer", - "version": "1.84.0-alpha.2", + "version": "1.84.0-alpha.3", "description": "", "type": "module", "files": [ diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index bade8971de9..38fdef38365 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/editor +## 0.17.2-alpha.2 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/memory@1.41.2-alpha.2 + - @mastra/mcp@2.10.0-alpha.0 + ## 0.17.2-alpha.1 ### Patch Changes diff --git a/packages/editor/package.json b/packages/editor/package.json index 9cac750e1f3..08ebe316cbc 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/editor", - "version": "0.17.2-alpha.1", + "version": "0.17.2-alpha.2", "description": "Mastra Editor for agent management and instantiation", "license": "Apache-2.0", "main": "dist/index.cjs", diff --git a/packages/mcp-apps-components/CHANGELOG.md b/packages/mcp-apps-components/CHANGELOG.md index 5794e280c09..24744612b71 100644 --- a/packages/mcp-apps-components/CHANGELOG.md +++ b/packages/mcp-apps-components/CHANGELOG.md @@ -1,5 +1,16 @@ # @mastra/mcp-apps-components +## 0.1.1-alpha.0 + +### Patch Changes + +- Fixed the observability dashboard widget briefly drawing in the dark theme inside a light-themed host. The widget now applies the host's theme before its first frame. ([#30500](https://github.com/mastra-ai/mastra/pull/30500)) + +- Interface icons in MCP app components now use Central Icons. ([#30438](https://github.com/mastra-ai/mastra/pull/30438)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 0.1.0 ### Minor Changes diff --git a/packages/mcp-apps-components/package.json b/packages/mcp-apps-components/package.json index 2cf7d8397d2..ab530d52278 100644 --- a/packages/mcp-apps-components/package.json +++ b/packages/mcp-apps-components/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/mcp-apps-components", - "version": "0.1.0", + "version": "0.1.1-alpha.0", "description": "Prebuilt MCP Apps, ready to register as MCP server app resources", "license": "Apache-2.0", "type": "module", diff --git a/packages/mcp-docs-server/CHANGELOG.md b/packages/mcp-docs-server/CHANGELOG.md index b1855af4320..72942260d9b 100644 --- a/packages/mcp-docs-server/CHANGELOG.md +++ b/packages/mcp-docs-server/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/mcp-docs-server +## 1.3.14-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/mcp@2.10.0-alpha.0 + ## 1.3.14-alpha.2 ### Patch Changes diff --git a/packages/mcp-docs-server/package.json b/packages/mcp-docs-server/package.json index e4eee49a398..336f752bed4 100644 --- a/packages/mcp-docs-server/package.json +++ b/packages/mcp-docs-server/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/mcp-docs-server", - "version": "1.3.14-alpha.2", + "version": "1.3.14-alpha.3", "description": "MCP server for accessing Mastra.ai documentation, changelogs, and news.", "type": "module", "main": "dist/index.js", diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index c804c6d7277..16a2d7cb0b7 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,31 @@ # @mastra/mcp +## 2.10.0-alpha.0 + +### Minor Changes + +- `MCPServer` accepts a `maxRequestBodySize` option, so HTTP requests larger than the 4 MiB default are no longer answered with a `413` before the tool runs. ([#30411](https://github.com/mastra-ai/mastra/pull/30411)) + + ```typescript + // Before: a tools/call body over 4 MiB was rejected + // { "code": -32000, "message": "Payload Too Large: Request body must not exceed 4194304 bytes" } + + // After: raise the limit for the servers that need it + const server = new MCPServer({ + name: 'intake', + version: '1.0.0', + maxRequestBodySize: 16 * 1024 * 1024, + tools: { submitIntake }, + }); + ``` + + The bound is in bytes and must be positive. Leaving it unset keeps the SDK default of `4194304` (4 MiB), and a body over the limit is still rejected with a `413` JSON-RPC error before it is parsed. It covers only a body the server reads itself: if body-parsing middleware supplies the parsed body, the bound does not apply, so raise the size limit on that parser too. It applies to `startHTTP` requests only; `stdio` has no request bodies. + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 2.9.0 ### Minor Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index f8a17906aff..a16c6f28745 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/mcp", - "version": "2.9.0", + "version": "2.10.0-alpha.0", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/memory/CHANGELOG.md b/packages/memory/CHANGELOG.md index fb38b440c9c..7afefc40093 100644 --- a/packages/memory/CHANGELOG.md +++ b/packages/memory/CHANGELOG.md @@ -1,5 +1,20 @@ # @mastra/memory +## 1.41.2-alpha.2 + +### Patch Changes + +- `recall()` now only returns messages from the requested thread or resource, even if the vector store returns results outside its filter or labels them with the wrong thread or resource. `searchMessages()` now skips observation results whose thread or resource metadata is outside the requested scope, even if the vector store ignores its filter. ([#30446](https://github.com/mastra-ai/mastra/pull/30446)) + +- Fixed semantic recall re-embedding the same text on every save. Saving messages whose text was already embedded by this Memory instance (a repeated reply, a re-saved message, a cloned thread) now reuses the stored vectors instead of calling the embedder again, while each message still gets its own vector row. Reused vectors are not counted again in the reported embedding usage. ([#30429](https://github.com/mastra-ai/mastra/pull/30429)) + +- Fixed Observational Memory losing every message for agents that use a `mastra/` gateway model with a Gateway organization key. The processor skipped local memory for any gateway model, but a gateway with an organization key has no memory API, so nothing was saved locally and nothing was recalled on the gateway either: the agent forgot every earlier turn. Memory now stays local when the gateway doesn't serve it, and an agent that switches between gateway-served and local memory mid-run no longer drops the messages it already collected. If saving those messages fails while the ownership switches, the storage error reaches the caller instead of the run reporting success ([#30391](https://github.com/mastra-ai/mastra/issues/30391)). ([#30414](https://github.com/mastra-ai/mastra/pull/30414)) + + Upgrade `@mastra/core` and `@mastra/memory` together. Older `@mastra/core` versions don't report whether the gateway serves memory, so `@mastra/memory` keeps the previous behavior for them. + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.41.2-alpha.1 ### Patch Changes diff --git a/packages/memory/package.json b/packages/memory/package.json index a6760b3baab..20b7b8a7b58 100644 --- a/packages/memory/package.json +++ b/packages/memory/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/memory", - "version": "1.41.2-alpha.1", + "version": "1.41.2-alpha.2", "description": "", "type": "module", "main": "./dist/index.js", diff --git a/packages/playground-ui/CHANGELOG.md b/packages/playground-ui/CHANGELOG.md index a43bbd0e6eb..bc9819f46e2 100644 --- a/packages/playground-ui/CHANGELOG.md +++ b/packages/playground-ui/CHANGELOG.md @@ -1,5 +1,68 @@ # @mastra/playground-ui +## 69.1.0-alpha.3 + +### Minor Changes + +- Added `unavailableReason` to `ModelPicker`. When set, the picker shows its usual trigger, disabled, and hovering or focusing it shows the reason in a tooltip. Use it when the current user can see the model but is not allowed to change it. ([#30471](https://github.com/mastra-ai/mastra/pull/30471)) + + ```tsx + + ``` + +- On phones and tablets, the default sidebar (`mobileMode="takeover"`) now sits under the page instead of covering it. Opening it slides the whole page to the right, and the navigation underneath grows into place as it fades in, like the ChatGPT iOS app. While it moves, the page gets rounded corners, a thin edge and a soft shadow, so it reads as a card lifted above the navigation. ([#30440](https://github.com/mastra-ai/mastra/pull/30440)) + + - Swipe the page right to open the sidebar and swipe left to close it. The page follows your finger. When you let go, it finishes in the direction you were last moving: a short swipe is enough, swiping back partway cancels, and a nudge of a few pixels springs back. It keeps the speed of your swipe and eases to a stop. Dragging moves only the page and the sidebar, so it stays smooth on long pages. + - While the sidebar is open, a faint tint of the opposite colour (light in dark mode, dark in light mode) covers the strip of page still in view, setting it apart from the navigation. Tap that strip, or press Escape, to close the sidebar. Focus returns to the menu button. Until then, Tab and Shift+Tab cycle through the sidebar, and the page and toasts behind it are out of reach. + - Swipes that start in content that scrolls sideways, or on sliders and other controls that handle their own drags, are left to that content. + - With reduced motion turned on, the sidebar opens and closes without sliding. + + `AppShell` slides its content automatically. A `Sidebar` rendered outside `AppShell` has no page to slide, so either move the page into `AppShell` or keep the previous drawer: + + ```tsx + {nav}}>{page} + + // or, without AppShell + {nav} + ``` + + On desktop, dragging the sidebar's edge no longer restyles the whole page on every move, so resizing stays smooth beside long pages. The live width is set on the sidebar panel itself, so `var(--sidebar-width)` read outside the sidebar keeps the initial width. + +- Switched `@mastra/playground-ui` components from Lucide to Central Icons, and added Central Icons for your own UI. Each icon is its own module under `@mastra/playground-ui/icons/central/` and works inside `Icon` like any other icon. The icons are licensed under the Central Icons license, not Apache-2.0. See `CENTRAL-ICONS-LICENSE.md` in the package. ([#29934](https://github.com/mastra-ai/mastra/pull/29934)) + + ```tsx + import { Icon } from '@mastra/playground-ui/icons/Icon'; + import { IconMagnifyingGlass } from '@mastra/playground-ui/icons/central/IconMagnifyingGlass'; + + + + ; + ``` + +### Patch Changes + +- Central Icons now cover every interface icon in Studio and Factory, and each icon family, such as speech bubbles, bells, folders and settings, uses one consistent shape. ([#30438](https://github.com/mastra-ai/mastra/pull/30438)) + +- `CodeDiff` now paints its code on the card surface instead of the syntax theme's own background, so a diff matches the card around it in light and dark mode. ([#30388](https://github.com/mastra-ai/mastra/pull/30388)) + +- Studio and Factory now use Central Icons for their interface icons. ([#29934](https://github.com/mastra-ai/mastra/pull/29934)) + +- Fixed the right padding of `Sidebar.CommandHeader`: its buttons now line up with the right edge of the nav rows below. ([#30471](https://github.com/mastra-ai/mastra/pull/30471)) + + A `Button` rendered as a link no longer puts its `type` on the anchor, so `Sidebar.NavAction` used as a link renders a valid ``. + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`adc0a70`](https://github.com/mastra-ai/mastra/commit/adc0a70bf835d1f81f7bf0af11b247ca115a6683), [`1072f7c`](https://github.com/mastra-ai/mastra/commit/1072f7c6268db5fb515460fdcdda173592bce450), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`b666fdb`](https://github.com/mastra-ai/mastra/commit/b666fdbf03a95a8fbe4cf02d150f4576dad6512f)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/memory@1.41.2-alpha.2 + - @mastra/client-js@1.60.1-alpha.3 + - @mastra/ai-sdk@1.12.0 + - @mastra/react@1.15.1-alpha.3 + ## 69.1.0-alpha.2 ### Patch Changes diff --git a/packages/playground-ui/package.json b/packages/playground-ui/package.json index 44963202284..7578a70b31c 100644 --- a/packages/playground-ui/package.json +++ b/packages/playground-ui/package.json @@ -1,7 +1,7 @@ { "name": "@mastra/playground-ui", "type": "module", - "version": "69.1.0-alpha.2", + "version": "69.1.0-alpha.3", "description": "Mastra Playground components", "sideEffects": [ "**/*.css" diff --git a/packages/playground/CHANGELOG.md b/packages/playground/CHANGELOG.md index 06f74ebead5..d1bfe725895 100644 --- a/packages/playground/CHANGELOG.md +++ b/packages/playground/CHANGELOG.md @@ -1,5 +1,15 @@ # @internal/playground +## 1.39.1-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`12f7965`](https://github.com/mastra-ai/mastra/commit/12f79652cf16193febe8952b664927a70b295202), [`e8ef0c9`](https://github.com/mastra-ai/mastra/commit/e8ef0c928f631145aa6d1c6833176fb2020d05d7), [`9b92400`](https://github.com/mastra-ai/mastra/commit/9b9240047b1ab2b164c20ab71414f6d27513c95f), [`cac6299`](https://github.com/mastra-ai/mastra/commit/cac6299ae060a4b0ea87592a642eba11d40cafd9), [`1100a41`](https://github.com/mastra-ai/mastra/commit/1100a41fb723b3ebb96116481580ae95e0f1071a), [`1100a41`](https://github.com/mastra-ai/mastra/commit/1100a41fb723b3ebb96116481580ae95e0f1071a), [`e8ef0c9`](https://github.com/mastra-ai/mastra/commit/e8ef0c928f631145aa6d1c6833176fb2020d05d7), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b), [`b666fdb`](https://github.com/mastra-ai/mastra/commit/b666fdbf03a95a8fbe4cf02d150f4576dad6512f)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/playground-ui@69.1.0-alpha.3 + - @mastra/client-js@1.60.1-alpha.3 + - @mastra/react@1.15.1-alpha.3 + ## 1.39.1-alpha.2 ### Patch Changes diff --git a/packages/playground/package.json b/packages/playground/package.json index bd3d8eee78a..80a9c6b3707 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -1,7 +1,7 @@ { "name": "@internal/playground", "private": true, - "version": "1.39.1-alpha.2", + "version": "1.39.1-alpha.3", "type": "module", "main": "./src/exports.ts", "types": "./src/exports.ts", diff --git a/packages/rag/CHANGELOG.md b/packages/rag/CHANGELOG.md index d6b964379c8..830449dd5ef 100644 --- a/packages/rag/CHANGELOG.md +++ b/packages/rag/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/rag +## 2.8.1-alpha.0 + +### Patch Changes + +- JSON chunking now keeps every character of a long string value when a field name or JSON escaping pushes split pieces over `maxSize`, instead of silently dropping them. Values are split at code-point boundaries, so emoji are never cut in half. A chunk can still exceed `maxSize` when a field path leaves no room for a single character (#30405). ([#30407](https://github.com/mastra-ai/mastra/pull/30407)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 2.8.0 ### Minor Changes diff --git a/packages/rag/package.json b/packages/rag/package.json index aef0c9e0773..60dae9e2452 100644 --- a/packages/rag/package.json +++ b/packages/rag/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/rag", - "version": "2.8.0", + "version": "2.8.1-alpha.0", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index f9b4a32ccd0..58a92a020a3 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/server +## 1.84.0-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`0170d70`](https://github.com/mastra-ai/mastra/commit/0170d700a411ce2b5e64a82bc1133716ae75cbd6), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/mcp@2.10.0-alpha.0 + ## 1.84.0-alpha.2 ### Patch Changes diff --git a/packages/server/package.json b/packages/server/package.json index 2ef2d004453..826e7bda07c 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/server", - "version": "1.84.0-alpha.2", + "version": "1.84.0-alpha.3", "description": "", "type": "module", "files": [ diff --git a/server-adapters/elysia/CHANGELOG.md b/server-adapters/elysia/CHANGELOG.md index abeb6d97d74..c413d8a5835 100644 --- a/server-adapters/elysia/CHANGELOG.md +++ b/server-adapters/elysia/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/elysia +## 0.1.24-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 0.1.24-alpha.2 ### Patch Changes diff --git a/server-adapters/elysia/package.json b/server-adapters/elysia/package.json index 9fc943e1a84..cefb638cfdb 100644 --- a/server-adapters/elysia/package.json +++ b/server-adapters/elysia/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/elysia", - "version": "0.1.24-alpha.2", + "version": "0.1.24-alpha.3", "description": "Mastra Elysia adapter for the server", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/express/CHANGELOG.md b/server-adapters/express/CHANGELOG.md index 5c738f37bbc..5b48ab7280f 100644 --- a/server-adapters/express/CHANGELOG.md +++ b/server-adapters/express/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/express +## 1.5.28-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 1.5.28-alpha.2 ### Patch Changes diff --git a/server-adapters/express/package.json b/server-adapters/express/package.json index 58f0d670744..3c289425d23 100644 --- a/server-adapters/express/package.json +++ b/server-adapters/express/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/express", - "version": "1.5.28-alpha.2", + "version": "1.5.28-alpha.3", "description": "Mastra Express adapter for the server", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/fastify/CHANGELOG.md b/server-adapters/fastify/CHANGELOG.md index 6ba559b1e57..8d818b28048 100644 --- a/server-adapters/fastify/CHANGELOG.md +++ b/server-adapters/fastify/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/fastify +## 1.5.28-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 1.5.28-alpha.2 ### Patch Changes diff --git a/server-adapters/fastify/package.json b/server-adapters/fastify/package.json index a903aa0c005..7cad35c6857 100644 --- a/server-adapters/fastify/package.json +++ b/server-adapters/fastify/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/fastify", - "version": "1.5.28-alpha.2", + "version": "1.5.28-alpha.3", "description": "Mastra Fastify adapter for the server", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/hono/CHANGELOG.md b/server-adapters/hono/CHANGELOG.md index ccdc6743109..94f6bd798a7 100644 --- a/server-adapters/hono/CHANGELOG.md +++ b/server-adapters/hono/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/hono +## 1.7.26-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 1.7.26-alpha.2 ### Patch Changes diff --git a/server-adapters/hono/package.json b/server-adapters/hono/package.json index a443ebf8479..bd789a7b1fb 100644 --- a/server-adapters/hono/package.json +++ b/server-adapters/hono/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/hono", - "version": "1.7.26-alpha.2", + "version": "1.7.26-alpha.3", "description": "Mastra Hono adapter for the server", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/koa/CHANGELOG.md b/server-adapters/koa/CHANGELOG.md index 74dd4f3fe0d..b0810d6c945 100644 --- a/server-adapters/koa/CHANGELOG.md +++ b/server-adapters/koa/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/koa +## 1.7.28-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 1.7.28-alpha.2 ### Patch Changes diff --git a/server-adapters/koa/package.json b/server-adapters/koa/package.json index 2ca71bfa3da..795537239d5 100644 --- a/server-adapters/koa/package.json +++ b/server-adapters/koa/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/koa", - "version": "1.7.28-alpha.2", + "version": "1.7.28-alpha.3", "description": "Mastra Koa adapter for the server", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/nestjs/CHANGELOG.md b/server-adapters/nestjs/CHANGELOG.md index fb606fc98e5..f8a968a8b3a 100644 --- a/server-adapters/nestjs/CHANGELOG.md +++ b/server-adapters/nestjs/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/nestjs +## 0.3.1-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 0.3.1-alpha.2 ### Patch Changes diff --git a/server-adapters/nestjs/package.json b/server-adapters/nestjs/package.json index 17e1fe293f1..603bc2345bb 100644 --- a/server-adapters/nestjs/package.json +++ b/server-adapters/nestjs/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/nestjs", - "version": "0.3.1-alpha.2", + "version": "0.3.1-alpha.3", "description": "Mastra NestJS adapter for the server", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/next/CHANGELOG.md b/server-adapters/next/CHANGELOG.md index 8f352d9308c..f39fd4a0a68 100644 --- a/server-adapters/next/CHANGELOG.md +++ b/server-adapters/next/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/next +## 0.2.42-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/hono@1.7.26-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 0.2.42-alpha.2 ### Patch Changes diff --git a/server-adapters/next/package.json b/server-adapters/next/package.json index c0784afbaea..1fbc645ed7c 100644 --- a/server-adapters/next/package.json +++ b/server-adapters/next/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/next", - "version": "0.2.42-alpha.2", + "version": "0.2.42-alpha.3", "description": "Mastra Next.js server adapter — drop your Mastra instance into a Next.js app", "type": "module", "main": "dist/index.js", diff --git a/server-adapters/tanstack-start/CHANGELOG.md b/server-adapters/tanstack-start/CHANGELOG.md index c7051087198..cb806b9ae4d 100644 --- a/server-adapters/tanstack-start/CHANGELOG.md +++ b/server-adapters/tanstack-start/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/tanstack-start +## 0.2.42-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/hono@1.7.26-alpha.3 + - @mastra/server@1.84.0-alpha.3 + ## 0.2.42-alpha.2 ### Patch Changes diff --git a/server-adapters/tanstack-start/package.json b/server-adapters/tanstack-start/package.json index 2c73b81affa..238c2fda27d 100644 --- a/server-adapters/tanstack-start/package.json +++ b/server-adapters/tanstack-start/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/tanstack-start", - "version": "0.2.42-alpha.2", + "version": "0.2.42-alpha.3", "description": "Mastra TanStack Start server adapter — drop your Mastra instance into a TanStack Start app", "type": "module", "main": "dist/index.js", diff --git a/stores/convex/CHANGELOG.md b/stores/convex/CHANGELOG.md index f90febc2472..93767ce8ab2 100644 --- a/stores/convex/CHANGELOG.md +++ b/stores/convex/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/convex +## 1.9.1-alpha.1 + +### Patch Changes + +- Fixed Convex vector queries applying only the first operator in a field condition. A filter such as `{ score: { $gte: 1, $lte: 10 } }` now checks every operator, `$eq` is supported, and unsupported operators match nothing instead of being skipped. ([#30469](https://github.com/mastra-ai/mastra/pull/30469)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.9.1-alpha.0 ### Patch Changes diff --git a/stores/convex/package.json b/stores/convex/package.json index 24c86904886..9ef8064189c 100644 --- a/stores/convex/package.json +++ b/stores/convex/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/convex", - "version": "1.9.1-alpha.0", + "version": "1.9.1-alpha.1", "description": "Convex provider for Mastra - includes both storage and vector adapters plus Convex server helpers", "type": "module", "main": "dist/index.js", diff --git a/stores/couchbase/CHANGELOG.md b/stores/couchbase/CHANGELOG.md index 7cdf2a32100..fa2080bf1da 100644 --- a/stores/couchbase/CHANGELOG.md +++ b/stores/couchbase/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/couchbase +## 1.1.5-alpha.0 + +### Patch Changes + +- Couchbase vector queries now log a warning the first time a metadata filter is passed. Couchbase vector search can't narrow results by metadata, so the filter is ignored, as before. The warning makes that visible instead of silent. ([#30446](https://github.com/mastra-ai/mastra/pull/30446)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.1.4 ### Patch Changes diff --git a/stores/couchbase/package.json b/stores/couchbase/package.json index 661090517d7..ac8f6912487 100644 --- a/stores/couchbase/package.json +++ b/stores/couchbase/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/couchbase", - "version": "1.1.4", + "version": "1.1.5-alpha.0", "description": "Couchbase vector store provider for Mastra", "license": "Apache-2.0", "type": "module", diff --git a/stores/libsql/CHANGELOG.md b/stores/libsql/CHANGELOG.md index 8a8bb9e5456..5763246c923 100644 --- a/stores/libsql/CHANGELOG.md +++ b/stores/libsql/CHANGELOG.md @@ -1,5 +1,26 @@ # @mastra/libsql +## 1.31.0-alpha.1 + +### Minor Changes + +- Added `collectionExists(name)` to Factory storage so a domain can tell whether a table already exists before registering it. Supported by `LibSQLFactoryStorage` and `PgFactoryStorage`; it is an optional capability, so other backends keep working unchanged. ([#30488](https://github.com/mastra-ai/mastra/pull/30488)) + + ```ts + if (!storage.collectionExists || (await storage.collectionExists('work_items'))) { + await storage.ensureCollections([WORK_ITEMS_SCHEMA]); + } + ``` + +### Patch Changes + +- Fixed factory storage on existing databases after a column is removed from a collection schema. The column is no longer required, so new rows that leave it out are accepted, and the values already stored in it are kept. Previously, LibSQL could also discard such a column's data while rebuilding a table. ([#30495](https://github.com/mastra-ai/mastra/pull/30495)) + +- Fixed background task updates and deletes on a local LibSQL file database stalling for up to five seconds (and sometimes failing with `SQLITE_BUSY: database is locked`) when they ran alongside workflow run writes, for example while shutting down Mastra with background tasks still running. ([#30504](https://github.com/mastra-ai/mastra/pull/30504)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.30.1-alpha.0 ### Patch Changes diff --git a/stores/libsql/package.json b/stores/libsql/package.json index c4ba7793d88..92f36666819 100644 --- a/stores/libsql/package.json +++ b/stores/libsql/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/libsql", - "version": "1.30.1-alpha.0", + "version": "1.31.0-alpha.1", "description": "Libsql provider for Mastra - includes both vector and db storage capabilities", "type": "module", "main": "dist/index.js", diff --git a/stores/mongodb/CHANGELOG.md b/stores/mongodb/CHANGELOG.md index ad75a842020..928d3d1a335 100644 --- a/stores/mongodb/CHANGELOG.md +++ b/stores/mongodb/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/mongodb +## 1.27.1-alpha.1 + +### Patch Changes + +- Fixed startup cleanup leaving an extra observational memory record live. When a store started while another process was rolling a thread's memory over to a new generation, an older record from an earlier adapter version could stay live next to the new one. Startup now counts the record being rolled over, so the older record is retired as intended. ([#30452](https://github.com/mastra-ai/mastra/pull/30452)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.27.1-alpha.0 ### Patch Changes diff --git a/stores/mongodb/package.json b/stores/mongodb/package.json index 189f7a1fd81..c89dce782bd 100644 --- a/stores/mongodb/package.json +++ b/stores/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/mongodb", - "version": "1.27.1-alpha.0", + "version": "1.27.1-alpha.1", "description": "MongoDB provider for Mastra - includes vector store capabilities", "license": "Apache-2.0", "type": "module", diff --git a/stores/pg/CHANGELOG.md b/stores/pg/CHANGELOG.md index 2eb73603aed..4d22bbc6c35 100644 --- a/stores/pg/CHANGELOG.md +++ b/stores/pg/CHANGELOG.md @@ -1,5 +1,24 @@ # @mastra/pg +## 1.37.0-alpha.1 + +### Minor Changes + +- Added `collectionExists(name)` to Factory storage so a domain can tell whether a table already exists before registering it. Supported by `LibSQLFactoryStorage` and `PgFactoryStorage`; it is an optional capability, so other backends keep working unchanged. ([#30488](https://github.com/mastra-ai/mastra/pull/30488)) + + ```ts + if (!storage.collectionExists || (await storage.collectionExists('work_items'))) { + await storage.ensureCollections([WORK_ITEMS_SCHEMA]); + } + ``` + +### Patch Changes + +- Fixed factory storage on existing databases after a column is removed from a collection schema. The column is no longer required, so new rows that leave it out are accepted, and the values already stored in it are kept. Previously, LibSQL could also discard such a column's data while rebuilding a table. ([#30495](https://github.com/mastra-ai/mastra/pull/30495)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.36.1-alpha.0 ### Patch Changes diff --git a/stores/pg/package.json b/stores/pg/package.json index fb2aabdb92d..95a836ccaee 100644 --- a/stores/pg/package.json +++ b/stores/pg/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/pg", - "version": "1.36.1-alpha.0", + "version": "1.37.0-alpha.1", "description": "Postgres provider for Mastra - includes both vector and db storage capabilities", "type": "module", "main": "dist/index.js", diff --git a/stores/pinecone/CHANGELOG.md b/stores/pinecone/CHANGELOG.md index 397b1afd3e5..41afd97d462 100644 --- a/stores/pinecone/CHANGELOG.md +++ b/stores/pinecone/CHANGELOG.md @@ -1,5 +1,14 @@ # @mastra/pinecone +## 1.1.4-alpha.0 + +### Patch Changes + +- Fixed Pinecone queries ignoring the other conditions in a filter that also uses `$all`. A filter such as `{ resource_id: "alice", topic: { $all: ["x", "y"] } }` now matches only records where every condition holds, instead of only the `$all` part. This includes other operators on the same field, such as `{ tags: { $all: ["a"], $nin: ["b"] } }`. `$all` on nested fields now uses the full field path. ([#30468](https://github.com/mastra-ai/mastra/pull/30468)) + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 1.1.3 ### Patch Changes diff --git a/stores/pinecone/package.json b/stores/pinecone/package.json index 11fb7a38341..4b35428eeb8 100644 --- a/stores/pinecone/package.json +++ b/stores/pinecone/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/pinecone", - "version": "1.1.3", + "version": "1.1.4-alpha.0", "description": "Pinecone vector store provider for Mastra", "type": "module", "main": "dist/index.js", diff --git a/stores/turso/CHANGELOG.md b/stores/turso/CHANGELOG.md index 4df0f2a3d2f..524a3327f98 100644 --- a/stores/turso/CHANGELOG.md +++ b/stores/turso/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/turso +## 0.1.22-alpha.1 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`6c647e6`](https://github.com/mastra-ai/mastra/commit/6c647e6faee5a6182d99e2352808df1b57558b67), [`cd2a326`](https://github.com/mastra-ai/mastra/commit/cd2a326988ced13509902dfa50339afcffdbf95e), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/libsql@1.31.0-alpha.1 + ## 0.1.22-alpha.0 ### Patch Changes diff --git a/stores/turso/package.json b/stores/turso/package.json index 4beb1f69ccc..a352a43ffd6 100644 --- a/stores/turso/package.json +++ b/stores/turso/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/turso", - "version": "0.1.22-alpha.0", + "version": "0.1.22-alpha.1", "description": "Turso Database storage provider for Mastra", "type": "module", "main": "dist/index.js", diff --git a/workflows/temporal/CHANGELOG.md b/workflows/temporal/CHANGELOG.md index 584db924442..e305110fb8c 100644 --- a/workflows/temporal/CHANGELOG.md +++ b/workflows/temporal/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/temporal +## 0.6.1-alpha.3 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/deployer@1.84.0-alpha.3 + ## 0.6.1-alpha.2 ### Patch Changes diff --git a/workflows/temporal/package.json b/workflows/temporal/package.json index 7f5c26230a9..c33f156f31a 100644 --- a/workflows/temporal/package.json +++ b/workflows/temporal/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/temporal", - "version": "0.6.1-alpha.2", + "version": "0.6.1-alpha.3", "description": "Mastra Temporal workflows integration - run Mastra workflows on the Temporal durable execution platform", "type": "module", "main": "dist/index.js", diff --git a/workspaces/e2b-desktop/CHANGELOG.md b/workspaces/e2b-desktop/CHANGELOG.md index 4ea81c85eb0..4b7313a263f 100644 --- a/workspaces/e2b-desktop/CHANGELOG.md +++ b/workspaces/e2b-desktop/CHANGELOG.md @@ -1,5 +1,13 @@ # @mastra/e2b-desktop +## 0.1.14-alpha.0 + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`a48d697`](https://github.com/mastra-ai/mastra/commit/a48d697b359a8f175d1416ed84a7bd7bcc5e861a), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + - @mastra/e2b@0.18.0-alpha.0 + ## 0.1.13 ### Patch Changes diff --git a/workspaces/e2b-desktop/package.json b/workspaces/e2b-desktop/package.json index 26bc1068e00..3936d584469 100644 --- a/workspaces/e2b-desktop/package.json +++ b/workspaces/e2b-desktop/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/e2b-desktop", - "version": "0.1.13", + "version": "0.1.14-alpha.0", "description": "E2B Desktop (computer-use) sandbox provider for Mastra workspaces", "type": "module", "main": "dist/index.js", diff --git a/workspaces/e2b/CHANGELOG.md b/workspaces/e2b/CHANGELOG.md index 713b06bcd15..3ef1a4be464 100644 --- a/workspaces/e2b/CHANGELOG.md +++ b/workspaces/e2b/CHANGELOG.md @@ -1,5 +1,39 @@ # @mastra/e2b +## 0.18.0-alpha.0 + +### Minor Changes + +- E2B sandboxes can run agent commands as a second, unprivileged OS user, and S3 and GCS mounts can name the user that owns their files. ([#30433](https://github.com/mastra-ai/mastra/pull/30433)) + + `E2BSandbox` takes a `user` option. Every command the agent runs — `executeCommand` and background processes alike — runs as that user instead of the template's default user, which has to keep `sudo` because mounting needs it. Without the option, nothing changes. + + `S3Filesystem` and `GCSFilesystem` take an `owner` option, `{ uid, gid }`. It sets the ownership of the files inside the mount, so a command user other than the one that mounts can read and write them. Without it, the mount keeps probing the default user's uid and gid. + + Together, the two options let agent commands run as a user that cannot read the credentials staged for a mount or become root: + + ```ts + const workspace = new Workspace({ + mounts: { + '/s3-data': new S3Filesystem({ + bucket: 'my-bucket', + region: 'us-east-1', + owner: { uid: 1001, gid: 1001 }, + }), + }, + sandbox: new E2BSandbox({ user: 'agent' }), + }); + ``` + + These options change command identity and mount ownership, not every operation: file tools and other files-API calls still run as the template's default user, which keeps the privileges mounting needs. + + The `user` must already exist in the sandbox template. + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 0.17.0 ### Minor Changes diff --git a/workspaces/e2b/package.json b/workspaces/e2b/package.json index ee667250d92..74abc9de7b9 100644 --- a/workspaces/e2b/package.json +++ b/workspaces/e2b/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/e2b", - "version": "0.17.0", + "version": "0.18.0-alpha.0", "description": "E2B cloud sandbox provider for Mastra workspaces", "type": "module", "main": "dist/index.js", diff --git a/workspaces/gcs/CHANGELOG.md b/workspaces/gcs/CHANGELOG.md index b641ae86b68..533f2d2d608 100644 --- a/workspaces/gcs/CHANGELOG.md +++ b/workspaces/gcs/CHANGELOG.md @@ -1,5 +1,39 @@ # @mastra/gcs +## 0.4.0-alpha.0 + +### Minor Changes + +- E2B sandboxes can run agent commands as a second, unprivileged OS user, and S3 and GCS mounts can name the user that owns their files. ([#30433](https://github.com/mastra-ai/mastra/pull/30433)) + + `E2BSandbox` takes a `user` option. Every command the agent runs — `executeCommand` and background processes alike — runs as that user instead of the template's default user, which has to keep `sudo` because mounting needs it. Without the option, nothing changes. + + `S3Filesystem` and `GCSFilesystem` take an `owner` option, `{ uid, gid }`. It sets the ownership of the files inside the mount, so a command user other than the one that mounts can read and write them. Without it, the mount keeps probing the default user's uid and gid. + + Together, the two options let agent commands run as a user that cannot read the credentials staged for a mount or become root: + + ```ts + const workspace = new Workspace({ + mounts: { + '/s3-data': new S3Filesystem({ + bucket: 'my-bucket', + region: 'us-east-1', + owner: { uid: 1001, gid: 1001 }, + }), + }, + sandbox: new E2BSandbox({ user: 'agent' }), + }); + ``` + + These options change command identity and mount ownership, not every operation: file tools and other files-API calls still run as the template's default user, which keeps the privileges mounting needs. + + The `user` must already exist in the sandbox template. + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 0.3.6 ### Patch Changes diff --git a/workspaces/gcs/package.json b/workspaces/gcs/package.json index 865418bf5ec..d65aa8808ff 100644 --- a/workspaces/gcs/package.json +++ b/workspaces/gcs/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/gcs", - "version": "0.3.6", + "version": "0.4.0-alpha.0", "description": "Google Cloud Storage filesystem provider for Mastra workspaces", "type": "module", "main": "dist/index.js", diff --git a/workspaces/s3/CHANGELOG.md b/workspaces/s3/CHANGELOG.md index 6871175c3e6..95be3a1f52f 100644 --- a/workspaces/s3/CHANGELOG.md +++ b/workspaces/s3/CHANGELOG.md @@ -1,5 +1,39 @@ # @mastra/s3 +## 0.7.0-alpha.0 + +### Minor Changes + +- E2B sandboxes can run agent commands as a second, unprivileged OS user, and S3 and GCS mounts can name the user that owns their files. ([#30433](https://github.com/mastra-ai/mastra/pull/30433)) + + `E2BSandbox` takes a `user` option. Every command the agent runs — `executeCommand` and background processes alike — runs as that user instead of the template's default user, which has to keep `sudo` because mounting needs it. Without the option, nothing changes. + + `S3Filesystem` and `GCSFilesystem` take an `owner` option, `{ uid, gid }`. It sets the ownership of the files inside the mount, so a command user other than the one that mounts can read and write them. Without it, the mount keeps probing the default user's uid and gid. + + Together, the two options let agent commands run as a user that cannot read the credentials staged for a mount or become root: + + ```ts + const workspace = new Workspace({ + mounts: { + '/s3-data': new S3Filesystem({ + bucket: 'my-bucket', + region: 'us-east-1', + owner: { uid: 1001, gid: 1001 }, + }), + }, + sandbox: new E2BSandbox({ user: 'agent' }), + }); + ``` + + These options change command identity and mount ownership, not every operation: file tools and other files-API calls still run as the template's default user, which keeps the privileges mounting needs. + + The `user` must already exist in the sandbox template. + +### Patch Changes + +- Updated dependencies [[`88b4a97`](https://github.com/mastra-ai/mastra/commit/88b4a970426f48731a153e46ed228d0301da32a1), [`33eaa29`](https://github.com/mastra-ai/mastra/commit/33eaa293e28aa8cd86ad68e1eaf44b4929be818d), [`c8a35ac`](https://github.com/mastra-ai/mastra/commit/c8a35ac6243eaef8ef1d9e589a7b75bf44904d8b)]: + - @mastra/core@1.84.0-alpha.3 + ## 0.6.5 ### Patch Changes diff --git a/workspaces/s3/package.json b/workspaces/s3/package.json index 8a1a9c50c9e..6909e980779 100644 --- a/workspaces/s3/package.json +++ b/workspaces/s3/package.json @@ -1,6 +1,6 @@ { "name": "@mastra/s3", - "version": "0.6.5", + "version": "0.7.0-alpha.0", "description": "S3-compatible filesystem provider for Mastra workspaces (AWS S3, Cloudflare R2, Neon Object Storage, MinIO)", "type": "module", "main": "dist/index.js",