Skip to content

Commit

Permalink
Add mongoose v7 and v8 support, fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Nov 30, 2023
1 parent d522898 commit d20f30d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
- run: npm run ci
- run: npm run ci-mongoose5
- run: npm run ci-mongoose6
- run: npm run ci-mongoose7
- run: npm run ci-mongoose8
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,14 @@ For `medici_transactions` collection with 50000 documents:

## Changelog

### 6.2
### 6.3

- The `book.listAccounts()` method is now cached same way the `book.balance()` is cached.
- Add `mongoose` v8 support.

### 6.2

- Add `mongoose` v7 support.
- Add Node 20 support.

### 6.1
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"types": "types/index.d.ts",
"scripts": {
"ci": "npm run build && npm run test",
"ci-mongoose8": "npm i mongoose@8 && npm run test:code",
"ci-mongoose7": "npm i mongoose@7 && npm run test:code",
"ci-mongoose6": "npm i mongoose@6 && npm run test:code",
"ci-mongoose5": "npm i mongoose@5 && npm run test:code",
"bench:balance": "ts-node ./bench/bench-balance.ts",
Expand Down Expand Up @@ -49,7 +51,7 @@
"url": "https://github.com/flash-oss/medici/issues"
},
"dependencies": {
"mongoose": "5 - 7"
"mongoose": "5 - 8"
},
"homepage": "https://github.com/flash-oss/medici",
"devDependencies": {
Expand Down

0 comments on commit d20f30d

Please sign in to comment.