v0.8.0
What's Changed
There are three main features in this release:
- Improve json schema validation support for
string
,number
,array
(min / max / etc) - Make
boolean
schema validation stricter - Start using a pre-compiled ajv validator for better performance
BREAKING CHANGES
Previously any truthy value would be accepted for a boolean, eg: any-string
would parse to true
. Now its parsed like:
true | "true" | 1
->true
false | "false" | 0
->false
- anything else -> error
Features
- feat: support minimum / maximum for numbers by @mnahkies in #140
- feat: use pre-compiled ajv validators at runtime by @mnahkies in #141
- feat: joi number min/max validation by @mnahkies in #143
- feat: support exclusive min/max and multipleOf by @mnahkies in #144
- feat: support string validation by @mnahkies in #145
- fix!: stricter booleans by @mnahkies in #146
- feat: support basic array validation by @mnahkies in #147
Misc
- chore(deps): Bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in #136
- chore(deps): Bump webpack-dev-middleware from 5.3.3 to 5.3.4 by @dependabot in #137
- chore(deps): Bump express from 4.18.3 to 4.19.2 by @dependabot in #138
- chore: deps by @mnahkies in #139
- chore: refresh data by @mnahkies in #142
- chore: bump deps by @mnahkies in #149
Full Changelog: v0.7.0...v0.8.0