Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fiznool committed Jan 13, 2016
1 parent 3c9e50a commit e81024c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.2.0] - 2016-01-13
### Added

- 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.

## [1.1.0] - 2016-01-13
### Added
- The middleware also now sanitizes keys with a `.`. This is in line with Mongo's reserved operators.
Expand All @@ -10,4 +15,5 @@ This project adheres to [Semantic Versioning](http://semver.org/).

Initial Release.

[1.2.0]: https://github.com/fiznool/express-mongo-sanitize/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/fiznool/express-mongo-sanitize/compare/v1.0.0...v1.1.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-mongo-sanitize",
"version": "1.1.0",
"version": "1.2.0",
"description": "Sanitize your express payload to prevent MongoDB operator injection.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e81024c

Please sign in to comment.