- Random bump (#18178)
- Random bump (#18178)
-
Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the
latestdist-tag forward, superseding the compromised versions that declared the maliciouseasy-day-jsdependency. (#18056) -
Updated dependencies [
339c57c,1dd4117,2b11d1f,77a2351,b7dff0a,02087e1,49af8df,30ce559,c241b92,7d6ff70,ab975d4,9d6aa1b]:- @mastra/core@1.44.0
-
Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the
latestdist-tag forward, superseding the compromised versions that declared the maliciouseasy-day-jsdependency. (#18056) -
Updated dependencies [
77a2351]:- @mastra/core@1.43.1-alpha.0
-
Removed Hono from @mastra/core and auth package runtime dependencies. Auth providers now receive framework-agnostic request types that support standard Request objects and Hono-compatible request shapes. MCP and deployer avoid relying on core-bundled Hono context types at package boundaries. (#17410)
-
Updated dependencies [
c973db4,552285e,77e686c,ece8dba,e751af2,e2a8380,be3f1cd,a34d9db]:- @mastra/core@1.39.0
-
Removed Hono from @mastra/core and auth package runtime dependencies. Auth providers now receive framework-agnostic request types that support standard Request objects and Hono-compatible request shapes. MCP and deployer avoid relying on core-bundled Hono context types at package boundaries. (#17410)
-
Updated dependencies [
c973db4,552285e,77e686c,ece8dba,e751af2,e2a8380,be3f1cd,a34d9db]:- @mastra/core@1.39.0-alpha.0
-
Expanded
@mastra/auth-better-authto implement the new auth interfaces (IUserProvider,ISessionProvider,ICredentialsProvider) from@mastra/core/auth. Adds support for username/password credential flows alongside the existing token-based authentication. (#13163) -
Updated dependencies [
504fc8b,f9c150b,88de7e8,edee4b3,3790c75,e7a235b,d51d298,6dbeeb9,d5f0d8d,09c3b18,b896379,85c84eb,a89272a,ee9c8df,77b4a25,276246e,08ecfdb,d5f628c,524c0f3,c18a0e9,4bd21ea,115a7a4,22a48ae,3c6ef79,9311c17,7edf78f,1c4221c,d25b9ea,fe1ce5c,b03c0e0,0a8366b,85664e9,bc79650,9257d01,3a3a59e,3108d4e,0c33b2c,191e5bd,f77cd94,e8135c7,daca48f,257d14f,352f25d,93477d0,31c78b3,0bc0720,36516ac,e947652,3c6ef79,9257d01,ec248f6]:- @mastra/core@1.9.0
-
Expanded
@mastra/auth-better-authto implement the new auth interfaces (IUserProvider,ISessionProvider,ICredentialsProvider) from@mastra/core/auth. Adds support for username/password credential flows alongside the existing token-based authentication. (#13163) -
Updated dependencies [
504fc8b,f9c150b,88de7e8,edee4b3,3790c75,e7a235b,d51d298,6dbeeb9,d5f0d8d,09c3b18,b896379,85c84eb,a89272a,ee9c8df,77b4a25,276246e,08ecfdb,d5f628c,524c0f3,c18a0e9,4bd21ea,115a7a4,22a48ae,3c6ef79,9311c17,7edf78f,1c4221c,d25b9ea,fe1ce5c,b03c0e0,0a8366b,85664e9,bc79650,9257d01,3a3a59e,3108d4e,0c33b2c,191e5bd,f77cd94,e8135c7,daca48f,257d14f,352f25d,93477d0,31c78b3,0bc0720,36516ac,e947652,3c6ef79,9257d01,ec248f6]:- @mastra/core@1.9.0-alpha.0
- dependencies updates: (#12964)
- Updated dependency
better-auth@^1.4.18↗︎ (from^1.4.5, independencies)
- Updated dependency
- dependencies updates: (#12964)
- Updated dependency
better-auth@^1.4.18↗︎ (from^1.4.5, independencies)
- Updated dependency
-
Add Better Auth authentication provider (#10658)
Adds a new authentication provider for Better Auth, a self-hosted, open-source authentication framework.
import { betterAuth } from 'better-auth'; import { MastraAuthBetterAuth } from '@mastra/auth-better-auth'; import { Mastra } from '@mastra/core'; // Create your Better Auth instance const auth = betterAuth({ database: { provider: 'postgresql', url: process.env.DATABASE_URL!, }, emailAndPassword: { enabled: true, }, }); // Create the Mastra auth provider const mastraAuth = new MastraAuthBetterAuth({ auth, }); // Use with Mastra const mastra = new Mastra({ server: { auth: mastraAuth, }, });
-
Add Better Auth authentication provider (#10658)
Adds a new authentication provider for Better Auth, a self-hosted, open-source authentication framework.
import { betterAuth } from 'better-auth'; import { MastraAuthBetterAuth } from '@mastra/auth-better-auth'; import { Mastra } from '@mastra/core'; // Create your Better Auth instance const auth = betterAuth({ database: { provider: 'postgresql', url: process.env.DATABASE_URL!, }, emailAndPassword: { enabled: true, }, }); // Create the Mastra auth provider const mastraAuth = new MastraAuthBetterAuth({ auth, }); // Use with Mastra const mastra = new Mastra({ server: { auth: mastraAuth, }, });
- Initial release of Better Auth integration for Mastra
- Self-hosted authentication provider using Better Auth
- Support for session-based authentication
- Custom authorization logic support
- Route configuration for public/protected paths