- d02006b: Adds schema types to ctx.invalid
- 668bcd6: Bump dependencies
- 5995387: Fix incorrect ZodError type for ctx.invalid
- 22e8e50: Bump dependencies
-
62874b1: Improved Router context by extending Koa.Context (Potential breaking change)
Previously, koa-zod-router's context did not extend Koa.Context due to potential conflicts with other third-party libraries that may have overridden Koa.Context globally. However, after addressing all internal issues, we have now enhanced Router context by extending Koa.Context for better interoperability with other Koa-based libraries.
While we have conducted thorough testing, there is still a possibility that this change may affect some third-party libraries. Hence, we are flagging this as a potential breaking change.
Added feature: validationErrorHandler option for router-wide error handling
- 723f907: Move continueOnError to route specific option
- 12e0a9c: Add continueOnError flag for custom validation error handling support
- 8bc7684: Update deps, move internal type peer dependencies to dependencies
- ffb3890: Update Dependencies, fix formidable types causing tsc errors in declaration file
- 0df5a48: Fix broken async in noop middleware
- e98f5cd: Add github repository to package.json
- a0c71c6: Add state helpers, fix esm bundling, more descriptive zod errors in response
- caeac2e: Update type exports
- 5d879fd: Update peer dependencies
- 244e59a: Update Docs, fix transform type inference
- be19b89: Date type coercion fix
- c8cabc0: Release v1