Skip to content

Releases: technicalcandidate-stack/runtyp

v1.0.0

30 Jan 19:20
e2ea063

Choose a tag to compare

🚨 Breaking Changes 🚨

  • replace exceptions with error-as-value pattern (a744ce7)

🔧 Continuous Integration

  • enable npm provenance for package attestation (logfoxai#13) (e2ea063)
  • fixed autorel deprecation, updated outdated references in package.json, silenced passing tests (78dafe4)
  • force release (90a278e)
  • fix npm token (fe3cd2f)
  • move to autorel from semantic-release (248b5ab)
  • this is a test! (a048033)
  • fix (2897c6c)
  • fix (4f36203)
  • fix (fd5d179)
  • test (1ad4b0d)
  • fix (af1efea)
  • change ci to use custom rules so that we get credit for docs and other releases in registries and package evaluators (e834312)
  • fix (fb4c779)
  • fix (d88f585)
  • change to use github runner for security reasons (64e8efa)

🐛 Bug Fixes

  • lint (logfoxai#12) (dc83a29)
  • bump deps for security fixes (b5be66c)
  • remove aerovew sponsorship (91c2ac8)
  • lint error (fb97b81)
  • rename from runtyy to runtyp (011d64b)
  • incorrect validation of enum keys instead of values (fixes logfoxai#4) (4fa8dc0)
  • rename package (09a2594)
  • object now correctly throws if unspecified keys are present, with option to ignore (e2a2f9b)
  • missing export for array() (ae413a3)
  • added missing export for uuid and enum (3b3e9bb)
  • optional types (54cf1df)
  • type helpers and added unit test for it (f1ecae8)
  • omit map/spec files from package, update readme (7db4d8f)
  • remove spec files from package (d291a45)
  • remove stuff in dist (6b873a7)
  • lint issues (b529777)
  • permissions (714dbf1)

✨ Features

  • add record() predicate for validating Record<string, T> (logfoxai#9) (636198c)
  • object schema is now optional (478bcf7)
  • added any predicate (1fb31dc)
  • added date predicate (a052383)
  • replace exceptions with error-as-value pattern (a744ce7)
  • added requireProtocol param for url() (387bb1b)
  • added literal predicate (d33b18e)
  • added union type (8c18bf1)
  • added optional length range for array() (301cdb2)
  • add predicate for regex (closes logfoxai#3) (7a9836b)
  • added array() predicate... (19d154d)
  • added toResult to root export (9458715)
  • add predicate for uuid, add documentation (82cc8d1)
  • added password, email, and url predicates (6e864a4)
  • add unit tests (85d91e3)

📚 Documentation

  • fix link issue for validation errors (79132c1)
  • smol tweak to headline (19a738e)
  • correction: faster, not slower than joi! (f929f6a)
  • update badges (2307df5)
  • corrected union (b1faa26)
  • minor corrections in validation error section (98da155)
  • added section on ValidationError (7d846bb)
  • fixed autorel badge (441ea37)
  • added autorel and license badges (37f38e2)
  • added section on runtime validation definition while using static Infer at compiletime (bdbd2e6)
  • rearrange badges (9dbce16)
  • update logo for padding (ece38a7)
  • update to reflect package name change (bbcd843)
  • correct signature for custom() and add example (b7865e7)
  • fix links in TOC (2136b82)
  • simplify predicate api (a21f419)
  • clean up/simplify examples, remove redundant error handling section (fca8119)
  • correct logo (2f2229f)
  • update readme (6666523)
  • improve contribution section (cbdc29e)
  • add section on using the 'result' pattern (bebda20)
  • added error handling section (c24889a)
  • add link to aeroview logo (1bcedf5)
  • tweak logo style (e360774)
  • fix aeroview logo (f497199)
  • add sponsorship section (526574c)
  • fix logo (0918f95)
  • add section about nested errors (7361fa9)

🏗 Build System