Skip to content

build(deps): upgrade zod to 4.6.7 (#CVE-2023-54404) - #53

Merged
zvonimirfras merged 2 commits into
IBM:mainfrom
zvonimirfras:fix/zod-4-upgrade
Nov 4, 2026
Merged

zvonimirfras merged 2 commits into
IBM:mainfrom
zvonimirfras:fix/zod-4-upgrade

Conversation

@zvonimirfras

Copy link
Copy Markdown
Member

Closes #

Supersedes #47. Includes Dependabot's zod bump plus the code changes needed for zod 4, which were failing the TypeScript quality gates.

Changelog

Changed

  • zod 3.25.76 -> 4.6.7 across backend, agent-service-api, packages/config and packages/types
  • packages/types/data-transfer.ts: z.record now takes an explicit key schema
  • backend/src/routes/conversations.ts: required_error/invalid_type_error replaced by the error option

Notes

  • Passes locally: build:packages, typecheck, lint (0 errors), format:check, backend tests (1375) and frontend tests (465).

dependabot Bot and others added 2 commits November 1, 2026 15:32
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.6.7.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v3.25.76...v4.6.7)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
z.record now requires an explicit key schema, and required_error/invalid_type_error were replaced by the error option.

Signed-off-by: Zvonimir Fras <zvonimir@zvonimirfras.com>
@zvonimirfras
zvonimirfras merged commit f62438e into IBM:main Nov 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant