Follow-up to #1370 / #1367.
Remaining Zod usage that was intentionally left behind:
@sentry/api/zod coupling in src/types/sentry.ts, src/types/feedback.ts, src/lib/api/replays.ts
- Central response validator in
src/lib/api/infrastructure.ts (uses ZodError.issues for telemetry)
- Zod internals introspection in
src/lib/formatters/output.ts (_def.typeName)
These require either upstream valibot schemas, an interop layer, or repo-wide telemetry changes.
Once addressed, we can drop the zod dependency entirely.
Follow-up to #1370 / #1367.
Remaining Zod usage that was intentionally left behind:
@sentry/api/zodcoupling insrc/types/sentry.ts,src/types/feedback.ts,src/lib/api/replays.tssrc/lib/api/infrastructure.ts(usesZodError.issuesfor telemetry)src/lib/formatters/output.ts(_def.typeName)These require either upstream valibot schemas, an interop layer, or repo-wide telemetry changes.
Once addressed, we can drop the
zoddependency entirely.