[PR #1875] [MERGED] Upgrade Zod #20943

Closed
opened 2026-05-29 02:21:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/1875
Author: @Lokowitz
Created: 11/17/2025
Status: Merged
Merged: 11/17/2025
Merged by: @oschwartz10612

Base: devHead: fix-zod-new


📝 Commits (5)

📊 Changes

202 files changed (+897 additions, -1383 deletions)

View changed files

📝 package-lock.json (+61 -20)
📝 package.json (+3 -3)
📝 server/lib/blueprints/types.ts (+59 -123)
📝 server/lib/readConfigFile.ts (+17 -19)
📝 server/lib/validators.ts (+2 -2)
📝 server/private/lib/readConfigFile.ts (+4 -4)
📝 server/private/routers/auditLogs/queryAccessAuditLog.ts (+6 -6)
📝 server/private/routers/auditLogs/queryActionAuditLog.ts (+5 -5)
📝 server/private/routers/auth/getSessionTransferToken.ts (+1 -1)
📝 server/private/routers/auth/quickStart.ts (+2 -2)
📝 server/private/routers/billing/createCheckoutSession.ts (+2 -4)
📝 server/private/routers/billing/createPortalSession.ts (+2 -4)
📝 server/private/routers/billing/getOrgSubscription.ts (+2 -4)
📝 server/private/routers/billing/getOrgUsage.ts (+2 -4)
📝 server/private/routers/billing/internalGetOrgTier.ts (+2 -4)
📝 server/private/routers/certificates/getCertificate.ts (+2 -4)
📝 server/private/routers/certificates/restartCertificate.ts (+4 -6)
📝 server/private/routers/domain/checkDomainNamespaceAvailability.ts (+3 -5)
📝 server/private/routers/domain/listDomainNamespaces.ts (+5 -7)
📝 server/private/routers/hybrid.ts (+28 -58)

...and 80 more files

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Please have a detailed view on server/lib/blueprints/types.ts

Migration guide
Codemod

Fixes https://github.com/fosrl/pangolin/pull/1514
Fixes https://github.com/fosrl/pangolin/pull/1513
Fixes https://github.com/fosrl/pangolin/pull/1277


🔄 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/fosrl/pangolin/pull/1875 **Author:** [@Lokowitz](https://github.com/Lokowitz) **Created:** 11/17/2025 **Status:** ✅ Merged **Merged:** 11/17/2025 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `fix-zod-new` --- ### 📝 Commits (5) - [`000904e`](https://github.com/fosrl/pangolin/commit/000904eb31f30f25f26d871baa3b5979c6e70bc3) upgrade zod - [`7db99a7`](https://github.com/fosrl/pangolin/commit/7db99a7dd560e8b4d1b1efc56a2e41f9ee4bef81) used zod codemod - [`58cf471`](https://github.com/fosrl/pangolin/commit/58cf471bc46e4cd5cfb32d26348c2efad5613995) fix z.coerce.number - [`5d2f65d`](https://github.com/fosrl/pangolin/commit/5d2f65daa920898f38d3ffe72f32fa0a85c1b3f7) fix for zod - [`dc87df5`](https://github.com/fosrl/pangolin/commit/dc87df5d3865b6c703aa75d04fd9acaa0a0c2b21) remove temp test ### 📊 Changes **202 files changed** (+897 additions, -1383 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+61 -20) 📝 `package.json` (+3 -3) 📝 `server/lib/blueprints/types.ts` (+59 -123) 📝 `server/lib/readConfigFile.ts` (+17 -19) 📝 `server/lib/validators.ts` (+2 -2) 📝 `server/private/lib/readConfigFile.ts` (+4 -4) 📝 `server/private/routers/auditLogs/queryAccessAuditLog.ts` (+6 -6) 📝 `server/private/routers/auditLogs/queryActionAuditLog.ts` (+5 -5) 📝 `server/private/routers/auth/getSessionTransferToken.ts` (+1 -1) 📝 `server/private/routers/auth/quickStart.ts` (+2 -2) 📝 `server/private/routers/billing/createCheckoutSession.ts` (+2 -4) 📝 `server/private/routers/billing/createPortalSession.ts` (+2 -4) 📝 `server/private/routers/billing/getOrgSubscription.ts` (+2 -4) 📝 `server/private/routers/billing/getOrgUsage.ts` (+2 -4) 📝 `server/private/routers/billing/internalGetOrgTier.ts` (+2 -4) 📝 `server/private/routers/certificates/getCertificate.ts` (+2 -4) 📝 `server/private/routers/certificates/restartCertificate.ts` (+4 -6) 📝 `server/private/routers/domain/checkDomainNamespaceAvailability.ts` (+3 -5) 📝 `server/private/routers/domain/listDomainNamespaces.ts` (+5 -7) 📝 `server/private/routers/hybrid.ts` (+28 -58) _...and 80 more files_ </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Please have a detailed view on `server/lib/blueprints/types.ts` [Migration guide](https://zod.dev/v4/changelog) [Codemod](https://github.com/nicoespeon/zod-v3-to-v4) Fixes https://github.com/fosrl/pangolin/pull/1514 Fixes https://github.com/fosrl/pangolin/pull/1513 Fixes https://github.com/fosrl/pangolin/pull/1277 --- <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-05-29 02:21:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#20943