Skip to content

chore(deps): upgrade Mastra client to 1.38 - #1411

Open
betegon wants to merge 1 commit into
mainfrom
chore/upgrade-mastra-client-1-38
Open

chore(deps): upgrade Mastra client to 1.38#1411
betegon wants to merge 1 commit into
mainfrom
chore/upgrade-mastra-client-1-38

Conversation

@betegon

@betegon betegon commented Aug 11, 2026

Copy link
Copy Markdown
Member

Summary

  • upgrade @mastra/client-js to 1.38
  • align the CLI's bundled Mastra Core with 1.57 for the upcoming native agent suspend/resume work
  • include the 1.38 streamed UTF-8 decoding fix

The manifest still declared ^1.26.0, but the lockfile already resolved 1.36.0. The effective runtime change in this PR is therefore client 1.36.0 → 1.38.0 and Core 1.55.0 → 1.57.0.

CLI size

Measured from clean origin/main and this branch with the same SENTRY_CLIENT_ID and build commands:

Artifact Before After Delta
npm CJS bundle 4,436,770 B 4,421,081 B -15,689 B (-0.354%)
npm ESM bundle 4,430,445 B 4,414,748 B -15,697 B (-0.354%)
npm package, packed 4,427,924 B 4,426,976 B -948 B (-0.021%)
npm package, unpacked 15,432,004 B 15,400,618 B -31,386 B (-0.203%)
standalone JS payload 4,378,769 B 4,363,073 B -15,696 B (-0.358%)
macOS arm64 binary 107,027,744 B 107,011,328 B -16,416 B (-0.015%)
macOS arm64 gzip 27,971,571 B 27,971,237 B -334 B (-0.001%)

No size regression: every measured artifact is slightly smaller.

Validation

  • pnpm install --frozen-lockfile
  • pnpm --filter sentry run typecheck
  • pnpm --filter sentry run lint
  • pnpm --filter sentry run check:deps
  • SENTRY_CLIENT_ID=ci-fork-pr-dummy pnpm --filter sentry run bundle
  • SENTRY_CLIENT_ID=ci-fork-pr-dummy RELEASE_BUILD=1 pnpm --filter sentry run build
  • Mastra init transport tests: 68 passed
  • npm bundle smoke on Node 20.20.2: --help and auth status
  • full unit suite: 9,109 passed; two Bash-completion tests fail identically on clean origin/main

@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cli Ready Ready Preview Aug 11, 2026 4:03pm

Request Review

@betegon
betegon marked this pull request as ready for review August 11, 2026 17:01
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant