[PR #4260] [MERGED] fix: update zod peer dep to have min 3.25.1 for v3 as the prev version didn't upload dist folder #30881

Closed
opened 2026-04-17 21:52:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4260
Author: @RiskyMH
Created: 8/27/2025
Status: Merged
Merged: 8/27/2025
Merged by: @Bekacru

Base: canaryHead: riskymh/zod-peer-fix


📝 Commits (1)

  • 0e69a8d Update zod peer dep to have min 3.25.1 for v3 as the prev didn't upload dist folder

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/better-auth/package.json (+1 -1)

📄 Description

A "fix" to https://github.com/oven-sh/bun/issues/22184, we will also fix the peer deps resolution in Bun to be more aligned with npm. This fix should also help other package managers by ensuring it is only 3.5.1 or later so the broken release isn't installed by anyone.

See https://www.npmjs.com/package/zod/v/3.25.0?activeTab=code


Summary by cubic

Set the zod v3 minimum to 3.25.1 so the broken 3.25.0 (missing dist/) cannot be installed. This prevents install/build failures across package managers, including Bun.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4260 **Author:** [@RiskyMH](https://github.com/RiskyMH) **Created:** 8/27/2025 **Status:** ✅ Merged **Merged:** 8/27/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `riskymh/zod-peer-fix` --- ### 📝 Commits (1) - [`0e69a8d`](https://github.com/better-auth/better-auth/commit/0e69a8d830b8a68452dbc6e027bded90c669983a) Update zod peer dep to have min `3.25.1` for v3 as the prev didn't upload dist folder ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/package.json` (+1 -1) </details> ### 📄 Description A "fix" to https://github.com/oven-sh/bun/issues/22184, we will also fix the peer deps resolution in Bun to be more aligned with npm. This fix should also help other package managers by ensuring it is only 3.5.1 or later so the broken release isn't installed by anyone. See https://www.npmjs.com/package/zod/v/3.25.0?activeTab=code <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Set the zod v3 minimum to 3.25.1 so the broken 3.25.0 (missing dist/) cannot be installed. This prevents install/build failures across package managers, including Bun. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 21:52:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#30881