Skip to content

Commit 442dca8

Browse files
author
Thomas Schersach
authored
Merge pull request #708 from Tirke/changeset-release/main
chore: version packages
2 parents 177ff95 + f943d95 commit 442dca8

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.changeset/shaggy-cycles-compare.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/node-cache-manager-mongodb/CHANGELOG.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @tirke/node-cache-manager-mongodb
22

3+
## 1.8.0
4+
5+
### Minor Changes
6+
7+
- Add possibility to pass a Mongo Client to the constructor ([#694](https://github.com/Tirke/node-cache-manager-stores/pull/694))
8+
39
## 1.7.0
410

511
### Minor Changes
@@ -14,15 +20,15 @@
1420
Default collection name will remain cache if unspecified.
1521

1622
```typescript
17-
import { caching } from "cache-manager";
23+
import { caching } from 'cache-manager'
1824

19-
import { mongoDbStore } from "./node-cache-manager-mongodb";
25+
import { mongoDbStore } from './node-cache-manager-mongodb'
2026

2127
const mongoCache = await caching(mongoDbStore, {
22-
url: "mongodb://localhost:27017",
23-
collectionName: "custom-collection-name",
24-
mongoConfig: { auth: { password: "<password>", username: "<user>" } },
25-
});
28+
url: 'mongodb://localhost:27017',
29+
collectionName: 'custom-collection-name',
30+
mongoConfig: { auth: { password: '<password>', username: '<user>' } },
31+
})
2632
```
2733

2834
## 1.5.0

packages/node-cache-manager-mongodb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tirke/node-cache-manager-mongodb",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
44
"license": "MIT",
55
"type": "commonjs",
66
"repository": "https://github.com/Tirke/node-cache-manager-stores",

0 commit comments

Comments
 (0)