leepowelldev / mongoose-validator

Validators for mongoose models utilising validator.js
MIT License
379 stars 43 forks source link

Upgrade validator major version #44

Closed h2non closed 6 years ago

h2non commented 6 years ago

Just ensure we're using the latest validator package version. No breaking changes as far as I know.

leepowelldev commented 6 years ago

Thanks for this. I'm going to include part of this PR but release this as a major release update. The reason being is we're jumping two versions of validator 7.0.0 > 9.4.0 and there may be breaking changes within validator itself for the users of mongoose-validator (i.e. a validator being removed). I have looked through the validator release history but can't find a list of what has changed (without going through the hundreds of commits in the history).

leepowelldev commented 6 years ago

New 2.0.0 release includes update to latest version. Thanks.