github colinhacks/zod 3.0.0-alpha.7

latest releases: v3.23.8, v3.23.7, v3.23.6...
pre-release3 years ago
  • Refactored parsing logic into individual subclass methods
  • Eliminated ZodTypes to enable custom ZodType subclasses
  • Removed ZodIntersection
  • Added ZodEffects as a container for refinement and transform logic
  • Added or method to ZodType
  • Added format method to ZodError
  • Added unwrap method to ZodOptional and ZodNullable
  • Added new default method and moved default functionality into ZodOptional
  • Implemented z.setErrorMap
  • Exporting z variable from index.ts to enable import { z } from 'zod';

Don't miss a new zod release

NewReleases is sending notifications on new releases.