Skip to content

Commit

Permalink
chore: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 30, 2024
1 parent 406c142 commit 9bf3ca6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .changeset/six-bugs-push.md

This file was deleted.

19 changes: 19 additions & 0 deletions packages/node-cache-manager-mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @tirke/node-cache-manager-mongodb

## 1.6.0

### Minor Changes

- Can now specify a custom collection name. ([`406c1424c37916131fa4dcf1cb355a0e3b5b360b`](https://github.com/Tirke/node-cache-manager-stores/commit/406c1424c37916131fa4dcf1cb355a0e3b5b360b))
Default collection name will remain cache if unspecified.

```typescript
import { caching } from "cache-manager";

import { mongoDbStore } from "./node-cache-manager-mongodb";

const mongoCache = await caching(mongoDbStore, {
url: "mongodb://localhost:27017",
collectionName: "custom-collection-name",
mongoConfig: { auth: { password: "<password>", username: "<user>" } },
});
```

## 1.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node-cache-manager-mongodb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tirke/node-cache-manager-mongodb",
"version": "1.5.0",
"version": "1.6.0",
"license": "MIT",
"type": "commonjs",
"repository": "https://github.com/Tirke/node-cache-manager-stores",
Expand Down

0 comments on commit 9bf3ca6

Please sign in to comment.