Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Solosnuk committed Jun 25, 2019
1 parent 4b366ff commit dafa2f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Removed documents.
#### Example:
```javascript
const usersService = db.createService('users');
const removeUsers = await usersService.update({ name: 'Alex' });
const removeUsers = await usersService.remove({ name: 'Alex' });
```

### `ensureIndex(index, options)`
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v1.1.0 (2019-06-25)

* Update dependencies.
* Fix required version of the Node.js.

### Breaking Changes

* Now `update` function will work via [set](https://docs.mongodb.com/manual/reference/operator/update/set/) operator. It means the new doc will be the result of merge of the old doc and the provided one.

## v1.0.0 (2018-05-23)

* Update dependencies.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paralect/node-mongo",
"version": "1.0.0",
"version": "1.1.0",
"author": "Paralect",
"description": "MongoDB wrapper for Node.JS 8",
"private": false,
Expand Down

0 comments on commit dafa2f3

Please sign in to comment.