- Add missing concatenated and minified versions
- Proper implementation of regexp and quantified properties
- The library has been stable for a long time now, so it's time to release 1.0. It will also make it possible to signal API breakage in the future (using semantic versioning).
- Reverting the object pattern fix released in 0.7.1 because of breaking error reporting functionality
- A bugfix for OrSchema
errors()
method (thanks to Kuba Wyrobek) - Type checking for
Array.of()
that prevents misusages like:Array.of(schema, length)
orArray.of(schema, minLength, maxLength)
(thanks to Kuba Wyrobek) - A bugfix for the object pattern to handle
{ "+.+" : String }
and similar patterns correctly (thanks to Alex Ivanov) - The
String.of()
extension now has.
as default instead of[a-zA-Z0-9]
(thanks to Mikael Berg)
- Support for error reporting
- Addition of .jshintrc file for code style consistency
- Addition of unit tests
- Fixing Bower issues
- Bower front-end package manager support
- Fixing Windows and Mac compatibility issues (#3, #5)
- Minor bugfixes
- Support for general purpose referencing (with JSON Schema serialization/deserialization)
- Property description support
- Splitting out random generation into a separate library (molnarg/generate.js)
- Removal of the premature compilation system (optimizations will reappear in a future release)
- Cleaner codebase
- Js-schema is now self-contained: it has no dependencies
- Reduced size: 15kb -> 5kb (minified and gzipped)
- Support for self-referencing
- Browser support
- Regexp object properties
- Enhanced JSON Schema serialization/deserialization support
- Deep equality pattern
- Optional properties in objects
- Introduction of schema.generate()
- Compilation infrastructure
- Pattern documentation
- Basic patterns are in place.