Skip to content

0.0.32

Choose a tag to compare

@github-actions github-actions released this 20 Dec 12:33
· 15 commits to main since this release
  • Optional adapters now lazy-load their peers with friendly errors: valibot.ts and yup.ts dynamically import dependencies and throw clear install guidance if missing, while keeping validation logic unchanged for installed deps. Added adapter-specific entrypoints and externals so the main bundle stays zod-first: tsup.config.ts builds valibot.ts and yup.ts, marks valibot/yup/typebox as external, and package.json exports map exposes ./valibot and ./yup alongside the main entry. New coverage for optional adapters: optionalAdapters.test.ts checks zod-only usage under mocked missing peers, friendly valibot error when absent, and successful valibot/yup validation when present. Documentation updated for optional peer installs and subpath imports in README.md. (64e0137)