typescript-json-validator

Automatically generate a validator using JSON Schema and AJV for any TypeScript type.

MIT License

Downloads
13.3K
Stars
227
Committers
6
typescript-json-validator - v2.4.2 Latest Release

Published by ForbesLindesay over 4 years ago

2.4.2 (2020-03-04)

Bug Fixes

  • load tsconfig with a lib that supports extends (#32) (13efde2)
typescript-json-validator - v2.4.1

Published by ForbesLindesay almost 5 years ago

2.4.1 (2020-01-12)

Bug Fixes

typescript-json-validator - v2.4.0

Published by ForbesLindesay about 5 years ago

2.4.0 (2019-09-04)

Features

  • export raw validator function as isTypeName(value): value is TypeName (#22) (ebaeaab)
typescript-json-validator - v2.3.1

Published by ForbesLindesay about 5 years ago

2.3.1 (2019-08-21)

Bug Fixes

  • ignore tsBuildInfoFile compiler option (#26) (9ce784a)
typescript-json-validator - v2.3.0

Published by ForbesLindesay about 5 years ago

2.3.0 (2019-08-15)

Features

typescript-json-validator - v2.2.2

Published by ForbesLindesay over 5 years ago

2.2.2 (2019-06-19)

Bug Fixes

  • 🐛 use ECMAScript syntax to import ajv if allowSyntheticDefaultImports is true (#19) (9ea471f), closes #17
typescript-json-validator - v2.2.1

Published by ForbesLindesay over 5 years ago

2.2.1 (2019-06-17)

Bug Fixes

typescript-json-validator - v2.2.0

Published by ForbesLindesay over 5 years ago

2.2.0 (2019-06-11)

Features

typescript-json-validator - v2.1.1

Published by ForbesLindesay over 5 years ago

2.1.1 (2019-06-11)

Bug Fixes

  • disable composite before running ts (#14) (8ee2a2f)
typescript-json-validator - v2.1.0

Published by ForbesLindesay over 5 years ago

2.1.0 (2019-06-11)

Features

  • do not require koa as dependency (#13) (670735f)
typescript-json-validator - v2.0.3

Published by ForbesLindesay over 5 years ago

2.0.3 (2019-05-22)

Bug Fixes

typescript-json-validator - v2.0.2

Published by ForbesLindesay over 5 years ago

2.0.2 (2019-04-02)

Bug Fixes

typescript-json-validator - v2.0.1

Published by ForbesLindesay over 5 years ago

2.0.1 (2019-03-22)

Bug Fixes

  • 🐛 remove unused import declaration (#9) (1e29431)
typescript-json-validator - v2.0.0

Published by ForbesLindesay over 5 years ago

2.0.0 (2019-01-28)

Bug Fixes

  • get koa request body from correct prop (#7) (f8d0277)

BREAKING CHANGES

  • if you were passing something that looked like a koa request, we now get the body from ctx.request.body
typescript-json-validator - v1.2.0

Published by ForbesLindesay over 5 years ago

1.2.0 (2019-01-28)

Features

typescript-json-validator - v1.1.3

Published by ForbesLindesay over 5 years ago

1.1.3 (2019-01-28)

Bug Fixes

  • avoid variable shadowing in generated validator (#5) (ae079c7)
typescript-json-validator - v1.1.2

Published by ForbesLindesay almost 6 years ago

1.1.2 (2019-01-25)

Bug Fixes

  • load compiler options from tsconfig (#4) (94f437d)
typescript-json-validator - v1.1.1

Published by ForbesLindesay almost 6 years ago

1.1.1 (2019-01-25)

Bug Fixes

typescript-json-validator - v1.1.0

Published by ForbesLindesay almost 6 years ago

1.1.0 (2019-01-25)

Features

  • support type collections and koa request validation (#2) (9538f99)
typescript-json-validator - v1.0.0

Published by ForbesLindesay almost 6 years ago

1.0.0 (2019-01-16)

Features