From 6bb42cdfc0551998b62fcf805e9891827c4fb5fd Mon Sep 17 00:00:00 2001 From: Adam <134429563+RustoMCSpit@users.noreply.github.com> Date: Thu, 9 Apr 2026 14:42:59 +0100 Subject: [PATCH] Update changes field length in PackageVersionValidator Increased the maximum length of the 'changes' field from 256 to 1024 characters. --- src/helpers/package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/package.ts b/src/helpers/package.ts index a6300d4..b5ca0e6 100644 --- a/src/helpers/package.ts +++ b/src/helpers/package.ts @@ -78,7 +78,7 @@ export const PackageTypeObj = { ...PluginType, ...PresetType, ...ProjectType }; export const PackageVersionValidator = z.object({ audio: z.optional(z.string().min(8).max(256).startsWith('https://')), author: z.string().min(1).max(256), - changes: z.string().min(1).max(256), + changes: z.string().min(1).max(1024), date: z.string().datetime(), description: z.string().min(1).max(256), donate: z.optional(z.string().min(8).max(256).startsWith('https://')),