Skip to content

Commit e81024c

Browse files
committed
v1.2.0
1 parent 3c9e50a commit e81024c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [1.2.0] - 2016-01-13
6+
### Added
7+
8+
- A new option `replaceWith` which can be used to replace offending characters in a key. This is an alternative to removing the data from the payload.
9+
510
## [1.1.0] - 2016-01-13
611
### Added
712
- The middleware also now sanitizes keys with a `.`. This is in line with Mongo's reserved operators.
@@ -10,4 +15,5 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1015

1116
Initial Release.
1217

18+
[1.2.0]: https://github.com/fiznool/express-mongo-sanitize/compare/v1.1.0...v1.2.0
1319
[1.1.0]: https://github.com/fiznool/express-mongo-sanitize/compare/v1.0.0...v1.1.0

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "express-mongo-sanitize",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Sanitize your express payload to prevent MongoDB operator injection.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)