Skip to content

Commit

Permalink
Merge pull request #505 from Tirke/changeset-release/main
Browse files Browse the repository at this point in the history
chore: version packages
  • Loading branch information
Tirke committed Jan 30, 2024
2 parents 017194b + 9bf3ca6 commit 1a6b1da
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 1a6b1da

Please sign in to comment.