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
In server/lib/validators.ts z.cidr() and z.ip() musst be changed to z.cidrv4() and z.ipv4().
Is there need for ipv6 validation?
-> added v6 support
Removed the "^" in package.json versions to avoid changes in packages-lock.json by accident when installing packages on a PR.
🔄 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/1581
**Author:** [@Lokowitz](https://github.com/Lokowitz)
**Created:** 9/28/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `fix-zod`
---
### 📝 Commits (10+)
- [`587c1f1`](https://github.com/fosrl/pangolin/commit/587c1f1fc854887c975969cc6b0879b452620680) update zod package
- [`24090ee`](https://github.com/fosrl/pangolin/commit/24090ee68a1bb86c19f68fa4087282a63210187f) fix package version
- [`8f33de3`](https://github.com/fosrl/pangolin/commit/8f33de3b9e8247ec145c82281eef7765f93bbf15) codemod v3-to-v4
- [`6fbeeea`](https://github.com/fosrl/pangolin/commit/6fbeeead7ff0f557f607539b9a459ed2707911d9) fix refine error
- [`0923eb3`](https://github.com/fosrl/pangolin/commit/0923eb30590b53db651aba834a8c8b464110513a) fix zod error
- [`f9041b5`](https://github.com/fosrl/pangolin/commit/f9041b56300526ed7575994b18ca4659ea5e36ab) Merge remote-tracking branch 'upstream/main' into fix-zod
- [`3332497`](https://github.com/fosrl/pangolin/commit/333249719ecdf3ab0b99353be88ece8b7edd8b11) Merge remote-tracking branch 'upstream/main' into fix-zod
- [`ec332c6`](https://github.com/fosrl/pangolin/commit/ec332c6967b1f63615b537d3bf71319b7f554430) Merge remote-tracking branch 'upstream/main' into fix-zod
- [`3b93583`](https://github.com/fosrl/pangolin/commit/3b93583e8d726628c78bfbf43431a48788df1ee6) Merge remote-tracking branch 'upstream/dev' into fix-zod
- [`fc5079c`](https://github.com/fosrl/pangolin/commit/fc5079c3e12c01b53980656b3c18182e859261fd) merge dev
### 📊 Changes
**181 files changed** (+1690 additions, -5723 deletions)
<details>
<summary>View changed files</summary>
📝 `package-lock.json` (+782 -4309)
📝 `package.json` (+37 -52)
📝 `server/extendZod.ts` (+0 -2)
📝 `server/lib/blueprints/types.ts` (+80 -142)
📝 `server/lib/readConfigFile.ts` (+124 -130)
📝 `server/lib/validators.ts` (+2 -2)
📝 `server/private/lib/readConfigFile.ts` (+4 -4)
📝 `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` (+26 -54)
📝 `server/private/routers/license/activateLicense.ts` (+2 -4)
_...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
In `server/lib/validators.ts` z.cidr() and z.ip() musst be changed to z.cidrv4() and z.ipv4().
Is there need for ipv6 validation?
-> added v6 support
Removed the "^" in package.json versions to avoid changes in packages-lock.json by accident when installing packages on a PR.
[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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1581
Author: @Lokowitz
Created: 9/28/2025
Status: ❌ Closed
Base:
dev← Head:fix-zod📝 Commits (10+)
587c1f1update zod package24090eefix package version8f33de3codemod v3-to-v46fbeeeafix refine error0923eb3fix zod errorf9041b5Merge remote-tracking branch 'upstream/main' into fix-zod3332497Merge remote-tracking branch 'upstream/main' into fix-zodec332c6Merge remote-tracking branch 'upstream/main' into fix-zod3b93583Merge remote-tracking branch 'upstream/dev' into fix-zodfc5079cmerge dev📊 Changes
181 files changed (+1690 additions, -5723 deletions)
View changed files
📝
package-lock.json(+782 -4309)📝
package.json(+37 -52)📝
server/extendZod.ts(+0 -2)📝
server/lib/blueprints/types.ts(+80 -142)📝
server/lib/readConfigFile.ts(+124 -130)📝
server/lib/validators.ts(+2 -2)📝
server/private/lib/readConfigFile.ts(+4 -4)📝
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(+26 -54)📝
server/private/routers/license/activateLicense.ts(+2 -4)...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
In
server/lib/validators.tsz.cidr() and z.ip() musst be changed to z.cidrv4() and z.ipv4().Is there need for ipv6 validation?
-> added v6 support
Removed the "^" in package.json versions to avoid changes in packages-lock.json by accident when installing packages on a PR.
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.