mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-05 19:17:29 -06:00
[PR #1581] Fix upgrade zod from 3.25.76 to 4.1.12 #1124
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1581
Author: @Lokowitz
Created: 9/28/2025
Status: 🔄 Open
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.