Skip to content

Releases: Melvynx/next-zod-route

1.0.0

13 Sep 03:54

Choose a tag to compare

  • Merge pull request #19 from Melvynx/zod-v4-upgrade (11b83fa)
  • add upgrade migration info (f402b15)
  • add v4 (f58c360)
  • fix: resolve Zod v4 TypeScript compatibility issues (7534cfb)
  • upgrade zod to v4.0.17 (6652324)
  • Merge pull request #18 from Melvynx/add-middlewar-function (e5e04b9)
  • update docs (98d739e)
  • add middleware function (374a290)

0.2.6

20 May 10:37

Choose a tag to compare

  • add route handler builder (726157b)
  • Merge pull request #17 from teichx/add-suports-query-params-as-arrays (869344d)
  • feat: Suport arrays in query params (81dabca)
  • Merge pull request #12 from Alane38/main (07bb7ac)
  • docs: Fix timing calculation example in loggingMiddleware (466985b)

0.2.5

30 Mar 04:32

Choose a tag to compare

We fixed a critical bug in handling empty POST requests. Previously, when no body was sent in a POST request, the server would crash with a 500 error because we tried to parse an empty body without proper error handling.

Now, we properly catch these parsing errors and:

  • Allow empty POST bodies to pass through when no schema is defined
  • Return a clear 400 error when a schema is defined but body is missing

This makes the library much more robust for real-world usage where clients might send empty request bodies.

0.1.5

13 Mar 04:24

Choose a tag to compare

  • Merge pull request #7 from Melvynx/feat/add-metadata (fae483a)

0.1.4

28 Feb 02:14

Choose a tag to compare

  • feat: Enhance route handler with form data and response handling (e17c34a)

0.1.3

17 Feb 14:00

Choose a tag to compare

  • docs(nextjs): nextjs and custom error (a69b85e)

0.1.2

23 Oct 05:31

Choose a tag to compare

  • fix(nextjs15): Upgrade to latest NextJS api (3e12d5a)

0.0.11

01 Oct 07:09

Choose a tag to compare

  • fix return values of zod parsed values (d586af6)

0.0.10

01 Oct 06:34

Choose a tag to compare

0.0.9

08 Sep 07:31

Choose a tag to compare

  • Merge pull request #2 from Melvynx/add-metadata (b41fbf5)