Releases: aeroview/runtyp
Releases · aeroview/runtyp
v2.0.3
v2.0.2
v2.0.1
v2.0.0
🚨 Breaking Changes
- API overhaul: All validators now return
ValidationResult<T>instead of throwing exceptions - Package rename: Changed from
typuratoruntyy
✨ What's New
- Added comprehensive benchmarks - 25x faster than zod, 24.8x faster than yup, 4.3x faster than joi,
- Zero dependencies - lightweight and tree-shakeable
- 100% test coverage - robust validation scenarios
- Structured error handling - field-specific error messages
📖 Migration
// Before
try {
const result = validator(data);
} catch (error) { /* handle */ }
// After
const result = validator(data);
if (result.isValid) {
/* use result.value */
} else {
/* use result.errors */
}See README for full docs and examples.
v2.0.0-next.3
🐛 Bug Fixes
- force release (8b8c48c)
v2.0.0-next.2
🐛 Bug Fixes
- lint (5f97d8d)
📚 Documentation
- renaming, reordered sections (dc48fce)
- renaming, reordered sections (4411dce)
- name change (9f1bbce)
- name change (c051b55)
- added list of predicates for easy navigation (160a6cc)
- improve validation description (bdbe504)
- improve flow of readme (3b664ad)
- improve examples (6564959)
- improve examples (ce76118)
- update tagline/description (9ec8445)
- sponsorship (a4dd425)
- update tagline/description (4f2b944)
- work on benchmark (353a189)
- work on benchmark (c32127c)
- benchmarks! (2c36d5f)
- benchmarks! (e133528)
- improve examples (4669273)
- update readme for new changes (53be5f1)
- update readme for new changes (6a4a94e)