All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- added API to disable and enable validation (#183) (d4d334f)
- implement
undefinedAsNull
keyword for enum
type (#176) (95826eb)
- added the
link
property in validation error (589aa59)
- minimum supported
Node.js
version is 10.13.0
,
- the packages exports was changed, please use
const { validate } = require('schema-utils');
- the
ValidateError
export was removed in favor the ValidationError
export, please use const { ValidationError } = require('schema-utils');
- correct dots at end of sentence (7284beb)
- prefer the
baseDataPath
option from arguments (#86) (e236859)
- better handle Windows absolute paths (#85) (1fa2930)
- rework format for maxLength, minLength (#67) (0d12259)
- support all cases with one number in range (#64) (7fc8069)
- typescript definition and export naming (#69) (a435b79)
- drop support for Node.js < 8.9.0
- drop support
errorMessage
, please use description
for links.
- api was changed, please look documentation.
- error messages was fully rewritten.
- src: add support for custom error messages (#33) (1cbe4ef)
- package: remove lockfile (#28) (69f1a81)
- package: remove unnecessary
webpack
dependency (#26) (532eaa5)
- CHANGELOG: update broken links (4483b9f)
- package: update broken links (f2494ba)
- validateOptions: throw
err
instead of process.exit(1)
(#17) (c595eda)
- ValidationError: never return
this
in the ctor (#16) (c723791)
- validateOptions: catch
ValidationError
and handle it internally (#15) (9c5ef5e)
- ValidationError: use
Error.captureStackTrace
for err.stack
handling (#14) (a6fb974)
- add support for
typeof
, instanceof
({Function\|RegExp}
) (#10) (9f01816)
- validations: add validateOptions module (ae9b47b)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.