Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: colinhacks/zod
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.1
Choose a base ref
...
head repository: colinhacks/zod
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.3
Choose a head ref
  • 15 commits
  • 12 files changed
  • 6 contributors

Commits on Aug 24, 2025

  1. Improve codec docs

    colinhacks committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    e45e61b View commit details
    Browse the repository at this point in the history
  2. fix(v4): toJSONSchema - wrong record tuple output when targeting `ope…

    …napi-3.0` (#5145)
    
    * fix(v4): toJSONSchema - wrong record tuple output when targeting `openapi-3.0`
    
    * chore: rename unsued variable in get-llm-text.ts
    marcalexiei authored Aug 24, 2025
    Configuration menu
    Copy the full SHA
    25a4c37 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2025

  1. Configuration menu
    Copy the full SHA
    0fa4f46 View commit details
    Browse the repository at this point in the history
  2. Update JSON codec and docs

    colinhacks committed Aug 25, 2025
    1 Configuration menu
    Copy the full SHA
    940383d View commit details
    Browse the repository at this point in the history
  3. 4.1.2

    colinhacks committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    3009fa8 View commit details
    Browse the repository at this point in the history
  4. Drop stringToBoolean

    colinhacks committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    98ff675 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    colinhacks committed Aug 25, 2025
    Configuration menu
    Copy the full SHA
    a410616 View commit details
    Browse the repository at this point in the history
  6. fix(v4): toJSONSchema - add missing oneOf inside items in tuple conve…

    …rsion (#5146)
    
    * fix(v4): toJSONSchema - add missing oneOf inside items in tuple conversion
    
    * oneOf -> anyOf
    
    ---------
    
    Co-authored-by: Colin McDonnell <[email protected]>
    marcalexiei and colinhacks authored Aug 25, 2025
    Configuration menu
    Copy the full SHA
    0cf4589 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2025

  1. fix(v4): toJSONSchema tuple path handling for draft-7 with metadata I…

    …Ds (#5152)
    
    * test(v4): add regression test for tuple draft-7 path handling issue #5151
    
    Adds test that exposes bug where tuple schemas with rest elements and
    metadata IDs generate incorrect internal paths when targeting draft-7,
    causing improper schema extraction and reference generation.
    
    * fix(v4): toJSONSchema tuple path handling for draft-7 with metadata IDs
    
    Fixes issue #5151 where tuple schemas with rest elements and metadata IDs
    generated incorrect internal paths when targeting draft-7, causing improper
    schema extraction and reference generation.
    
    The bug was in hardcoded path names regardless of JSON Schema target:
    - draft-2020-12 should use "prefixItems" and "items"
    - draft-7/draft-4 should use "items" and "additionalItems"
    - openapi-3.0 should use indexed "items"
    xphir authored Aug 26, 2025
    Configuration menu
    Copy the full SHA
    8bf0c16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c5fa90 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87b97cc View commit details
    Browse the repository at this point in the history
  4. fix(v4): toJSONSchema - output numbers with exclusive range correctly…

    … when targeting `openapi-3.0` (#5139)
    marcalexiei authored Aug 26, 2025
    Configuration menu
    Copy the full SHA
    309f358 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e71ca9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a85ec3c View commit details
    Browse the repository at this point in the history
  7. 4.1.3

    colinhacks committed Aug 26, 2025
    Configuration menu
    Copy the full SHA
    3e98274 View commit details
    Browse the repository at this point in the history
Loading