0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

32 commits

Author SHA1 Message Date
dane-ai-mastra[bot]
6a191d46dc chore: version - exit prerelease mode 2026-10-28 13:15:52 +00:00
dane-ai-mastra[bot]
2c646b53d0
chore: version packages (alpha) (#28399)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases

> The changelog information of each package has been omitted from this
message, as the content exceeds the size limit.

## @mastra/factory@0.25.0-alpha.5


## @mastra/langsmith@1.4.0-alpha.2


## @mastra/connect@1.2.0-alpha.2


## @mastra/core@1.80.0-alpha.4


## @mastra/playground-ui@66.0.0-alpha.4


## @mastra/acp@0.4.4-alpha.0


## @mastra/claude@0.3.4-alpha.0


## @mastra/cursor@0.3.4-alpha.0


## @mastra/openai@1.1.4-alpha.0


## @mastra/auth-auth0@1.2.6-alpha.0


## @mastra/auth-better-auth@1.1.9-alpha.0


## @mastra/auth-clerk@1.3.2-alpha.0


## @mastra/auth-cloud@1.2.8-alpha.0


## @mastra/auth-firebase@1.1.5-alpha.0


## @mastra/auth-google@0.1.7-alpha.0


## @mastra/auth-neon@0.3.5-alpha.0


## @mastra/auth-okta@0.2.6-alpha.0


## @mastra/auth-studio@1.3.11-alpha.1


## @mastra/auth-supabase@1.1.6-alpha.0


## @mastra/auth-workos@1.6.8-alpha.0


## @mastra/agent-browser@0.5.5-alpha.0


## @mastra/browser-viewer@0.2.6-alpha.0


## @mastra/browser-firecrawl@0.2.5-alpha.1


## @mastra/stagehand@0.3.7-alpha.1


## @mastra/discord@1.3.2-alpha.0


## @mastra/slack@1.8.0-alpha.1


## @mastra/teams@0.1.3-alpha.0


## @mastra/telegram@0.2.4-alpha.0


## @mastra/client-js@1.57.0-alpha.4


## @mastra/react@1.13.0-alpha.4


## @mastra/isolated-vm@0.1.4-alpha.0


## @mastra/quickjs@0.1.5-alpha.0


## @mastra/deployer-cloud@1.80.0-alpha.4


## @mastra/deployer-cloudflare@1.2.39-alpha.1


## @mastra/deployer-netlify@1.2.39-alpha.1


## @mastra/deployer-sandbox@0.3.24-alpha.1


## @mastra/deployer-vercel@1.2.39-alpha.1


## @mastra/voyageai@0.4.3-alpha.0


## @mastra/longmemeval@1.1.39-alpha.4


## @mastra/livekit@0.5.2-alpha.0


## @mastra/opencode@0.1.39-alpha.4


## @mastra/parallel@0.1.4-alpha.0


## create-factory@0.3.1-alpha.4


## @mastra/code-sdk@1.15.1-alpha.5


## mastracode@0.48.1-alpha.4


## @mastra/arize@1.3.27-alpha.2


## @mastra/arthur@0.4.27-alpha.2


## @mastra/braintrust@1.3.24-alpha.2


## @mastra/datadog@1.4.19-alpha.2


## @mastra/deepeval@0.1.21-alpha.2


## @mastra/laminar@1.3.29-alpha.2


## @mastra/langfuse@1.6.3-alpha.2


## @mastra/observability@1.21.1-alpha.2


## @mastra/otel-bridge@1.5.19-alpha.2


## @mastra/otel-exporter@1.4.10-alpha.2


## @mastra/posthog@1.4.4-alpha.2


## @mastra/sentry@1.2.29-alpha.2


## @mastra/agent-builder@1.1.31-alpha.2


## @mastra/auth@1.1.5-alpha.0


## mastra@1.36.0-alpha.4


## @mastra/codemod@1.1.8-alpha.0


## create-mastra@1.36.0-alpha.4


## @mastra/deployer@1.80.0-alpha.4


## @mastra/editor@0.16.5-alpha.2


## @mastra/evals@1.10.9-alpha.0


## @mastra/fastembed@1.3.5-alpha.2


## @mastra/loggers@1.3.10-alpha.1


## @mastra/mcp@2.6.0-alpha.1


## @mastra/mcp-docs-server@1.3.10-alpha.7


## @mastra/mcp-registry-registry@1.1.7-alpha.0


## @mastra/memory@1.39.1-alpha.2


## @mastra/rag@2.7.1-alpha.0


## @mastra/schema-compat@1.3.17-alpha.0


## @mastra/server@1.80.0-alpha.4


## @mastra/google-cloud-pubsub@1.1.5-alpha.1


## @mastra/redis-streams@0.6.5-alpha.1


## @mastra/valkey-streams@0.5.7-alpha.1


## @mastra/elysia@0.1.20-alpha.4


## @mastra/express@1.5.24-alpha.4


## @mastra/fastify@1.5.24-alpha.4


## @mastra/hono@1.7.22-alpha.4


## @mastra/koa@1.7.24-alpha.4


## @mastra/nestjs@0.2.39-alpha.4


## @mastra/next@0.2.38-alpha.4


## @mastra/server-adapters-test-suite@0.1.4-alpha.2


## @mastra/tanstack-start@0.2.38-alpha.4


## @mastra/astra@1.1.3-alpha.0


## @mastra/azure-ai-search@0.1.2-alpha.1


## @mastra/chroma@1.1.5-alpha.0


## @mastra/clickhouse@1.27.0-alpha.1


## @mastra/cloudflare@1.7.6-alpha.0


## @mastra/cloudflare-d1@1.4.5-alpha.1


## @mastra/convex@1.7.6-alpha.0


## @mastra/couchbase@1.1.4-alpha.1


## @mastra/dsql@1.5.5-alpha.0


## @mastra/duckdb@1.16.0-alpha.1


## @mastra/dynamodb@1.4.5-alpha.1


## @mastra/elasticsearch@1.4.6-alpha.1


## @mastra/lance@1.5.2-alpha.1


## @mastra/libsql@1.27.1-alpha.0


## @mastra/mongodb@1.24.1-alpha.1


## @mastra/mssql@1.10.6-alpha.0


## @mastra/mysql@0.14.1-alpha.0


## @mastra/opensearch@1.1.4-alpha.1


## @mastra/oracledb@0.5.5-alpha.0


## @mastra/pg@1.33.0-alpha.2


## @mastra/pinecone@1.1.3-alpha.0


## @mastra/qdrant@1.1.6-alpha.0


## @mastra/redis@1.4.12-alpha.1


## @mastra/s3vectors@1.1.5-alpha.0


## @mastra/spanner@1.10.1-alpha.1


## @mastra/turbopuffer@1.2.3-alpha.0


## @mastra/turso@0.1.18-alpha.0


## @mastra/upstash@1.5.5-alpha.1


## @mastra/valkey@0.2.8-alpha.1


## @mastra/vectorize@1.1.4-alpha.0


## @mastra/weaviate@0.1.4-alpha.0


## @mastra/voice-aws-nova-sonic@0.2.6-alpha.0


## @mastra/voice-azure@0.12.3-alpha.0


## @mastra/voice-cloudflare@0.13.4-alpha.0


## @mastra/voice-deepgram@0.13.3-alpha.0


## @mastra/voice-elevenlabs@0.13.3-alpha.0


## @mastra/voice-gladia@0.13.3-alpha.0


## @mastra/voice-google@0.14.4-alpha.0


## @mastra/voice-google-gemini-live@0.14.18-alpha.0


## @mastra/voice-inworld@0.4.6-alpha.0


## @mastra/voice-mistral@0.1.3-alpha.0


## @mastra/voice-modelslab@0.2.3-alpha.0


## @mastra/voice-murf@0.13.3-alpha.0


## @mastra/voice-openai@0.13.4-alpha.0


## @mastra/voice-openai-realtime@0.14.8-alpha.0


## @mastra/voice-playai@0.13.3-alpha.0


## @mastra/voice-sarvam@1.1.4-alpha.0


## @mastra/voice-speechify@0.14.3-alpha.0


## @mastra/voice-xai-realtime@0.2.17-alpha.0


## @mastra/inngest@1.10.8-alpha.3


## @mastra/temporal@0.4.18-alpha.4


## @mastra/agentcore@0.5.3-alpha.0


## @mastra/agentfs@0.2.3-alpha.0


## @mastra/apple-container@0.5.2-alpha.0


## @mastra/archil@0.3.2-alpha.0


## @mastra/azure@0.3.3-alpha.1


## @mastra/blaxel@0.10.2-alpha.0


## @mastra/cloudflare-sandbox@0.5.4-alpha.0


## @mastra/daytona@0.11.4-alpha.0


## @mastra/docker@0.12.1-alpha.0


## @mastra/e2b@0.15.1-alpha.1


## @mastra/e2b-desktop@0.1.10-alpha.1


## @mastra/files-sdk@0.3.3-alpha.0


## @mastra/gcs@0.3.5-alpha.1


## @mastra/google-drive@0.2.4-alpha.0


## @mastra/mesa@0.3.3-alpha.0


## @mastra/modal@0.7.3-alpha.0


## @mastra/platform-workspace@1.10.0-alpha.1


## @mastra/railway@0.10.2-alpha.1


## @mastra/s3@0.6.5-alpha.1


## @mastra/sprites@0.1.2-alpha.0


## @mastra/vercel@1.6.2-alpha.0


## @internal/playground@1.36.0-alpha.4

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-26 13:49:15 -07:00
Ward Peeters
ce5d4731ee
chore(deps): update dependencies across the monorepo (#28417)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-26 16:59:30 +01:00
Dane - AI (Mastra)
40a522c142
chore(deps): update build tools (#27997) 2026-10-22 14:33:21 +02:00
dane-ai-mastra[bot]
4c22623ea3 chore: version - exit prerelease mode 2026-10-21 11:26:39 +00:00
Max Katz
9a423dae48
refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
dane-ai-mastra[bot]
a15924e709 chore: version packages 2026-10-16 04:04:12 +00:00
dane-ai-mastra[bot]
6721bffd7e chore: version - exit prerelease mode 2026-09-24 23:17:52 +00:00
mastra-platform[bot]
666f01ddc0
fix(auth-google): keep Google SSO sessions valid for cookieMaxAge (#25043)
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-09-24 15:30:22 -07:00
dane-ai-mastra[bot]
a436d6c513 chore: version - exit prerelease mode 2026-09-23 09:15:38 +00:00
dane-ai-mastra[bot]
b6df015ee8 chore: version packages 2026-09-22 16:05:21 +00:00
Ward Peeters
ac05f2d7fc
refactor(auth): adopt Web Crypto without async API breaks (#24583) 2026-09-22 15:57:49 +02:00
dane-ai-mastra[bot]
429d7b9f93 chore: version - exit prerelease mode 2026-09-22 10:43:03 +00:00
dane-ai-mastra[bot]
adf6cc46fb chore: version packages 2026-09-16 04:05:24 +00:00
shreyas-mastra
164e197aa5
fix: bump vulnerable dependencies to patched releases (#24027)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-15 13:58:48 -07:00
dane-ai-mastra[bot]
c19a93b095 chore: version - exit prerelease mode 2026-09-03 04:02:53 +00:00
dane-ai-mastra[bot]
e6de774069 chore: version packages 2026-09-02 16:20:22 +00:00
Lennart
e983f74987
chore(*): Update/unify/add READMEs (#22858)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-09-02 14:36:59 +02:00
dane-ai-mastra[bot]
fc968c8a9b chore: version packages 2026-09-01 16:28:50 +00:00
Lennart
28ce924276
chore(*): Remove CHANGELOG.md from npm files (#22737) 2026-09-01 10:47:20 +02:00
dane-ai-mastra[bot]
c23d44525c chore: version - exit prerelease mode 2026-08-19 03:57:12 +00:00
dane-ai-mastra[bot]
c0ea826233 chore: version packages 2026-08-14 16:17:57 +00:00
Lawrence
8a4a4af313
fix(auth): harden getRequestHeader for Express requests (#21261)
Co-authored-by: Lawrence Millard <l@millard.ink>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 08:29:23 -07:00
Ward Peeters
d271d37f30
chore: migrate package builds to tsdown (#19829)
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-28 12:32:21 +02:00
Ward Peeters
bdeaef58f0
chore: migrate linting to oxlint (#20173)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-07-25 01:04:02 +02:00
Ward Peeters
3a507cbd42
chore: migrate repository formatting to oxfmt (#19807)
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-24 16:18:33 +02:00
Dane - AI (Mastra)
a4620cae04
chore(deps): update formatting & linting (#19388)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-07-20 16:13:28 +02:00
Dane - AI (Mastra)
0532405a28
chore(deps): update build tools (#18043) 2026-07-14 23:01:34 +02:00
dane-ai-mastra[bot]
57566498b5 chore: version - exit prerelease mode 2026-06-26 19:51:28 +00:00
Grayson Hicks
414aa8b050
docs(auth-google): add Google Workspace auth docs (#18161)
This is PR 2 of 2 split from the Google Workspace auth provider work. It
is stacked on #18160.

## Summary

Adds documentation for the new `@mastra/auth-google` package.

Included in this PR:

- `auth/google/README.md`.
- Server auth guide for Google Workspace authentication.
- API reference page for `MastraAuthGoogle` and `MastraRBACGoogle`.
- Auth overview link and docs/reference sidebar entries.
- Workspace setup, hosted-domain validation, service-account delegation,
Google Groups role mapping, and cross-provider RBAC usage documentation.

## Scope

Intentionally excluded from this PR:

- Package implementation, tests, lockfile, and changeset: handled in
#18160.
- Examples: no example changes are included.

## Verification

Relevant checks for this docs-only PR:

- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./docs validate`
- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./docs
lint:remark`
- `./node_modules/.bin/prettier --ignore-path /dev/null --check
docs/src/content/en/reference/auth/google.mdx
docs/src/content/en/docs/server/auth/google.mdx auth/google/README.md`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This PR adds a new “help page” for signing users in with Google (Google
Workspace) and then controlling what they can do using Google Groups. It
explains how to set up Google, wire it into Mastra, and where to find
the API details.

### Summary
- Added full documentation for the new `@mastra/auth-google` package
(`auth/google/README.md`), including installation, required environment
variables, service-account key/delegation guidance, and exported
symbols.
- Added a new Google auth server guide page
(`docs/src/content/en/docs/server/auth/google.mdx`) covering:
  - OAuth 2.0 / OIDC login flow and encrypted cookie-session behavior
  - Google ID token verification
  - Google Workspace hosted-domain enforcement
- Google Groups → RBAC role/permission mapping via `MastraRBACGoogle`
(including default behavior and wildcard permission patterns)
  - Cross-provider RBAC usage with `getUserKey` role mapping
- Required prerequisites/scopes, multiple setup/usage examples,
authenticated request examples (SDK + cURL), a troubleshooting
checklist, and related links
- Client cookie-session/CORS guidance plus an alternative Bearer-token
flow using JWKS
- Added API reference documentation pages for `MastraAuthGoogle` and
`MastraRBACGoogle` (`docs/src/content/en/reference/auth/google.mdx`),
including configuration options, environment variables, method
signatures, and the `GoogleUser` type.
- Updated navigation/sidebar docs to include Google:
- Added “Google” to the server auth overview list
(`docs/src/content/en/docs/server/auth/index.mdx`)
- Inserted Google entry into the `server/auth` sidebar
(`docs/src/content/en/docs/sidebars.js`)
- Inserted Google entry into the Auth reference sidebar
(`docs/src/content/en/reference/sidebars.js`)

### Notes
- Docs-only change: no package implementation, tests, lockfile,
changeset, or examples were included.
- Validation ran on the updated docs (docs validation, remark linting,
and Prettier).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-26 13:17:26 -05:00
dane-ai-mastra[bot]
b48c7af8cd chore: version packages 2026-06-26 16:38:56 +00:00
Grayson Hicks
05aec08d2e
feat(auth-google): add Google Workspace auth provider (#18160)
This is PR 1 of 2 split from the Google Workspace auth provider work. PR
#18161 contains the documentation changes.

## Summary

Adds the new `@mastra/auth-google` package under `auth/google`.

Included in this PR:

- `MastraAuthGoogle` for Google account authentication, optional SSO
session cookies, Bearer Google ID token verification, and Google
Workspace hosted-domain enforcement using the verified `hd` claim.
- `MastraRBACGoogle` for optional Google Workspace Groups to Mastra
permissions mapping.
- Package scaffold and tooling: `package.json`, `tsup`, `vitest`,
`eslint`, `turbo`, `CHANGELOG`, lockfile updates, and colocated unit
tests.
- Changeset for the initial `@mastra/auth-google` release. The repo is
in prerelease mode, so this will publish on the prerelease tag through
the normal changeset flow.

## Scope

Intentionally excluded from this PR:

- Docs pages and package README: handled in #18161.
- Examples: no example changes are included.
- Shared server auth refresh behavior: no server refresh handler changes
are included.

## Verification

Relevant local checks for this package:

- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./auth/google
test`
- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./auth/google
lint`
- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./auth/google
build`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## ELI5
This PR adds a new Google login package so apps can let people sign in
with Google accounts and, if needed, use Google Workspace groups to
decide what they’re allowed to do. It also adds the package setup,
tests, and release notes so it can be shipped on its own.

## What changed
- Added `@mastra/auth-google` under `auth/google`
- Introduced `MastraAuthGoogle` for:
  - Google ID token auth
  - optional SSO session cookies
  - hosted-domain enforcement via the `hd` claim
- Introduced `MastraRBACGoogle` for:
  - mapping Google Workspace groups to Mastra roles/permissions
  - Directory API group lookup
  - service-account-based access token flow
  - permission caching and helper methods
- Added shared Google auth/RBAC types and a claim-to-user mapper
- Added package scaffolding:
  - `package.json`
  - `tsconfig*.json`
  - `tsup.config.ts`
  - `vitest.config.ts`
  - `eslint.config.js`
  - `lint-staged.config.js`
  - `turbo.json`
  - `CHANGELOG.md`
- Added tests for auth flow, session handling, hosted-domain checks,
RBAC lookup, caching, and helper methods
- Added a changeset for the initial package release
- Updated auth imports to use `@internal/auth` instead of `@mastra/core`
in this package
- Restored previous behavior for server refresh-miss responses in a
revert commit

## Verification
- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./auth/google
test`
- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./auth/google
lint`
- `NODE_OPTIONS=--max-old-space-size=8192 pnpm --filter ./auth/google
build`

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-06-26 10:09:52 -05:00