Valita Versions Save

A typesafe validation & parsing library for TypeScript.

v0.2.8

9 months ago
  • Fix: custom error formatting lost the custom error message in some situations.

v0.2.7

9 months ago
  • A maintenance release with some internal refactoring.

v0.2.5

9 months ago
  • A bit of internal refactoring.

v0.2.4

9 months ago
  • Fix a regression that was introduced in v0.2.3 by Yours Truly.

v0.2.3

10 months ago
  • Fix a typo in README.md (#40, thanks to @dimatakoy!)
  • Minor refactoring & optimizations

v0.2.2

10 months ago
  • Add .nullable() (thanks to @dimatakoy!)

    See the README.md for usage examples.

v0.2.1

1 year ago
  • Fix build artifacts & package.json to work with TypeScript 5.0's "moduleResolution": "bundler" setting (thanks to @jukkakoskinen for reporting the problem!)

v0.2.0

1 year ago
  • Breaking: Optionals don't have .parse and .try methods anymore. To create a standalone parser that accepts e.g. either a string or undefined, then v.union(v.string(), v.undefined()) is the recommended way for that.

v0.1.10

1 year ago

v0.1.9

1 year ago
  • Restore exported types that were accidentally omitted from v0.1.8