Skip to content

chore: migrate yarn project to zod 4#23410

Merged
AztecBot merged 1 commit into
nextfrom
spl/zod-4
May 20, 2026
Merged

chore: migrate yarn project to zod 4#23410
AztecBot merged 1 commit into
nextfrom
spl/zod-4

Conversation

@spalladino
Copy link
Copy Markdown
Contributor

Migrates the yarn-project TypeScript monorepo from Zod 3 to Zod 4.

Summary:

  • bumps workspace zod dependencies to ^4 and refreshes yarn.lock
  • updates Zod function schemas to the v4 input/output API
  • adapts shared schema helpers, JSON-RPC schema accessors, record schemas, and coercion typing for Zod 4

Validation:

  • yarn build
  • yarn prepare
  • yarn format
  • yarn lint
  • yarn workspace @aztec/foundation test src/schemas/parse.test.ts src/schemas/schemas.test.ts src/json-rpc/convert.test.ts
  • yarn workspace @aztec/foundation test src/json-rpc/client/safe_json_rpc_client.test.ts

@spalladino spalladino added the ci-draft Run CI on draft PRs. label May 19, 2026
@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 19, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​zod@​4.4.310010010095100

View full report

@spalladino spalladino marked this pull request as ready for review May 19, 2026 18:15
@spalladino spalladino added ci-full Run all master checks. and removed ci-draft Run CI on draft PRs. labels May 19, 2026
@spalladino spalladino requested a review from Thunkar May 19, 2026 18:17
@Thunkar Thunkar added the claudebox Owned by claudebox. it can push to this PR. label May 19, 2026
Copy link
Copy Markdown
Contributor

@Thunkar Thunkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty!

@Thunkar Thunkar added ci-squash-and-merge ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure labels May 19, 2026
@AztecBot AztecBot enabled auto-merge May 20, 2026 07:14
Migrates the yarn-project TypeScript monorepo from Zod 3 to Zod 4.

Summary:
- bumps workspace zod dependencies to ^4 and refreshes yarn.lock
- updates Zod function schemas to the v4 input/output API
- adapts shared schema helpers, JSON-RPC schema accessors, record schemas, and coercion typing for Zod 4

Validation:
- yarn build
- yarn prepare
- yarn format
- yarn lint
- yarn workspace @aztec/foundation test src/schemas/parse.test.ts src/schemas/schemas.test.ts src/json-rpc/convert.test.ts
- yarn workspace @aztec/foundation test src/json-rpc/client/safe_json_rpc_client.test.ts
@AztecBot AztecBot added this pull request to the merge queue May 20, 2026
Merged via the queue into next with commit a1d18a2 May 20, 2026
21 checks passed
@AztecBot AztecBot deleted the spl/zod-4 branch May 20, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run all master checks. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants