Skip to content

Releases: ar-nelson/spartan-schema

Spartan Schema v1.1.1

26 Mar 19:06
Compare
Choose a tag to compare

Adds detailed validation error messages complete with both source and schema locations. Also adds an assertMatchesSchema function to throw errors containing these error messages.

The archive does not contain the Node module; run make to generate it.

Spartan Schema v1.0.1

29 Jul 13:38
Compare
Choose a tag to compare

Changed "array" and "tuple" types to not use recursion (static typechecking now supports a maximum of 10 tuple elements). Whenever arrays or tuples became long enough for the type definition to recurse, typechecking would always fail and sometimes hang; this should fix that issue.

The archive does not contain the Node module; run make to generate it.

Spartan Schema v1.0.0

27 Jul 14:13
Compare
Choose a tag to compare

Initial v1 release, plus Deno compatibility changes. Does not contain the Node module; run make to generate it.