From 8f27e44a4cdcbad8e1846d101801a4bec0af0320 Mon Sep 17 00:00:00 2001 From: April Mintac Pineda Date: Mon, 26 Feb 2018 17:44:38 +0800 Subject: [PATCH] added changelogs; --- .npmignore | 3 ++- README.md | 1 + changelogs/v1.1.0.md | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/v1.1.0.md diff --git a/.npmignore b/.npmignore index c255153..6404a53 100644 --- a/.npmignore +++ b/.npmignore @@ -2,4 +2,5 @@ dev __tests__ src .babelrc -package.json \ No newline at end of file +package.json +changelogs \ No newline at end of file diff --git a/README.md b/README.md index 75470f2..7c08225 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ## Docs - [Validation rules](https://github.com/aprilmintacpineda/smart-input-validator/wiki/List-of-Validation-Rules) +- [change logs](https://github.com/aprilmintacpineda/smart-input-validator/changelogs) ## Guide diff --git a/changelogs/v1.1.0.md b/changelogs/v1.1.0.md new file mode 100644 index 0000000..1b6a0a0 --- /dev/null +++ b/changelogs/v1.1.0.md @@ -0,0 +1,3 @@ +- __Renamed__ `max`, `min`, `between`, and `len` to `maxLen`, `minLen`, `betweenLen`, and `exactLen`. +- __Added__ `max`, `min`, `between`, `exactly` which can be used to validate a numeric field. +- __Added__ `bool` which can be used to validate a boolean field. \ No newline at end of file