Repository navigation
Releases: chiptoma/validex
Release list
v1.0.3
Packages
@validex/core@1.0.3@validex/nuxt@1.0.3@validex/fastify@1.0.3
All three published to npm with OIDC trusted publishing and Sigstore provenance.
Changes
@validex/nuxt@1.0.3 — Patch
@validex/fastify@1.0.3 — Patch
Align adapter packages with Nuxt Module and Fastify plugin directory conventions (#16).
@validex/nuxt
- Move
@nuxt/kitfrompeerDependenciestodependenciesso module resolution works without relying on a hoisted@nuxt/kit. - Declare
nuxt: ">=3.0.0"as a real peer dependency (previously only referenced by an orphanedpeerDependenciesMetaentry). - Add
nuxt-moduletokeywordsfor discovery on nuxt.com/modules.
@validex/fastify
- Move
fastify-pluginfrompeerDependenciestodependencies, matching the convention used by@fastify/*plugins so consumers don't need to install it separately. - Drop the
optional: trueflag on thefastifypeer — Fastify is required, not optional. - Add
fastify-plugintokeywordsfor Fastify ecosystem indexing.
@validex/core@1.0.3 — Patch
Version bump via the fixed-version group. No direct code changes.
Install
```bash
pnpm add @validex/core@1.0.3
pnpm add @validex/nuxt@1.0.3
pnpm add @validex/fastify@1.0.3
```
Notes
This release and its tag were created manually to backfill a changesets/action workflow bug: the workflow used pnpm -r publish directly instead of pnpm exec changeset publish, which prevented the action from parsing the publish output and auto-creating the GitHub release. A follow-up fix to .github/workflows/release.yml will restore automatic release creation for future versions.
v1.0.2
What's changed
Documentation
- Fixed incorrect error codes for Password, Phone, Text, URL, and Website rules
- Corrected
ipAddress.privateNotAllowederror message and params - Added missing
sameAsandrequiredWhenfields to BaseRuleOptions docs - Completed
sameAsandrequiredWhenutility option signatures - Added missing
stringnamespace (22 messages) to i18n translation template - Fixed peer dependency labels for Phone and PostalCode (both are bundled, not peer deps)
- Added
readonlymodifiers toValidationResultinterface
Breaking changes
configure()removed from public exports — usesetup()instead (it already calls configure internally)
CI
- Release workflow switched to OIDC trusted publishing with Node 24
- Version-only commits skip expensive CI checks
v1.0.0
validex v1.0.0
Initial release of the validex validation library.
Packages
@validex/core— 25 type-safe validation rules built on Zod@validex/nuxt— Nuxt module with auto-imports and useValidation composable@validex/fastify— Fastify plugin with decorators and preValidation hooks
Highlights
- 25 production-ready rules: identity, auth, networking, finance, and text
- 141 error codes with full i18n support and CLI locale generator
- Tree-shakeable — 5–6 kB Brotli per rule, all 25 = 13 kB
- Cross-field validation (sameAs, requiredWhen)
- Three-tier config merge (defaults → global → per-call)
- 22 chainable check methods via Zod augmentation
- 22 standalone pure check functions
- Dual CJS/ESM with full TypeScript declarations
- 7,800+ tests across 80 files