Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emiljanitzek committed Mar 7, 2024
1 parent b1e4847 commit caabd1f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [v2.0.0]
> Mars 6, 2024
Version compatible with mongoose 8, updated types and removed callback support.

### BREAKING CHANGES
- Only support for Mongoose 8 (see breaking changes for Mongoose 7/8)
- Dropping support for Node 14, 16
- Dropping support for MongoDB 4
- Renaming query helper functions withDeleted() -> allDocuments(), onlyDeleted -> deletedDocuments()
- Removing support for query option { withDeleted: true } (use deleted: { $in: [true, false] } in query instead)

## [v1.3.1]
> December 28, 2022
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongoose-delete-ts",
"version": "1.3.1",
"version": "2.0.0",
"description": "Mongoose soft delete plugin",
"author": "Emil Janitzek <emil@pixel2.se>",
"main": "dist/source/index.js",
Expand Down

0 comments on commit caabd1f

Please sign in to comment.