From da52b0c0de8951f271f5c8ef4be8a41e52fae68d Mon Sep 17 00:00:00 2001 From: Mike Botsko Date: Wed, 17 Apr 2019 11:56:00 -0700 Subject: [PATCH] Marking as 2.0.3 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b67ad2..0a9cfa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.3 + +- Escapes regular expression characters when used with case-insensitive option. + ## 2.0.2 - Updates collection.count to collection.countDocuments for mongoose deprecation. diff --git a/package.json b/package.json index 79c1d1b..27a35d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mongoose-unique-validator", - "version": "2.0.2", + "version": "2.0.3", "description": "mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema.", "main": "index.js", "scripts": {