Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: aeroview/runtyp

v2.0.3

23 Oct 07:55

Choose a tag to compare

🐛 Bug Fixes

  • rename from runtyy to runtyp (011d64b)

v2.0.2

17 Oct 03:13

Choose a tag to compare

📚 Documentation

v2.0.1

17 Oct 03:03

Choose a tag to compare

📚 Documentation

  • correction: faster, not slower than joi! (f929f6a)

v2.0.0

17 Oct 02:57
a744ce7

Choose a tag to compare

🚨 Breaking Changes

  • API overhaul: All validators now return ValidationResult<T> instead of throwing exceptions
  • Package rename: Changed from typura to runtyy

✨ 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

17 Oct 02:34

Choose a tag to compare

v2.0.0-next.3 Pre-release
Pre-release

🐛 Bug Fixes

v2.0.0-next.2

17 Oct 02:27

Choose a tag to compare

v2.0.0-next.2 Pre-release
Pre-release

🐛 Bug Fixes

📚 Documentation

v2.0.0-next.1

16 Oct 23:44

Choose a tag to compare

v2.0.0-next.1 Pre-release
Pre-release

🚨 Breaking Changes 🚨

  • replace exceptions with error-as-value pattern (85154db)

✨ Features

  • replace exceptions with error-as-value pattern (85154db)

v1.9.1

21 Jul 18:35

Choose a tag to compare

📚 Documentation

v1.9.0

21 Jul 18:30

Choose a tag to compare

✨ Features

  • added requireProtocol param for url() (387bb1b)

v1.8.0

15 May 08:31

Choose a tag to compare

✨ Features

  • added literal predicate (d33b18e)