npm zod 3.0.0-alpha.7

latest releases: 3.24.0-canary.20241016T212913, 3.24.0-canary.20241016T212839, 3.24.0-canary.20240701T200529...
3 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.