Skip to content

Zod 4#4074

Merged
colinhacks merged 553 commits intomainfrom
v4
May 19, 2025
Merged

Zod 4#4074
colinhacks merged 553 commits intomainfrom
v4

Conversation

@colinhacks
Copy link
Copy Markdown
Owner

@colinhacks colinhacks commented Apr 8, 2025

Announcement post: v4.zod.dev/v4
Release notes / breaking changes: v4.zod.dev/v4/changelog

Summary by CodeRabbit

  • New Features

    • Launched a modern documentation site with comprehensive guides, API references, error handling, and migration resources for Zod 4.
    • Added extensive benchmarking tools and scripts comparing Zod versions and alternative validation libraries.
    • Implemented new configuration files for workspace, formatting, linting, and editor support.
    • Introduced new schema methods and validation features, including template literals, advanced string formats, and improved error customization.
    • Added rich ecosystem resource listings with live GitHub star counts and support indicators.
    • Provided new React components for documentation layout, sidebar, headings, featured sponsors, and navigation enhancements.
    • Enhanced CI/CD workflows with updated branch triggers and package manager usage.
  • Bug Fixes

    • Updated workflow triggers and package manager commands to ensure compatibility with the latest tooling and branch naming conventions.
  • Documentation

    • Replaced legacy documentation with new, structured content covering usage, migration, metadata, ecosystem, and library author guidance.
    • Added detailed API documentation and migration guides for Zod 4, with improved navigation and metadata.
    • Introduced new error formatting and customization documentation.
    • Added comprehensive docs on JSON Schema conversion, metadata registries, and parsing strategies.
  • Chores

    • Migrated the project to a pnpm monorepo structure with workspace and package management enhancements.
    • Removed deprecated configuration files, test suites, and legacy documentation.
    • Updated copyright and license information.
    • Switched package manager from Yarn to pnpm across CI and development scripts.
  • Refactor

    • Transitioned from legacy tools (Jest, Babel, ESLint, Prettier) to Biome, Vitest, and pnpm.
    • Streamlined and modernized build, test, and linting scripts.
    • Removed or replaced outdated or redundant files and scripts.
    • Simplified internal module exports and reorganized source structure.
  • Style

    • Introduced new formatting and linting standards across the codebase.
  • Tests

    • Removed legacy test suites and introduced new benchmarking and validation tests for current and future development.

Loading
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.