Skip to content

Commit

Permalink
Merge pull request #469 from Tirke/changeset-release/main
Browse files Browse the repository at this point in the history
chore: version packages
  • Loading branch information
Tirke committed Dec 28, 2023
2 parents 928f7a9 + a7deab6 commit 306ed79
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
6 changes: 0 additions & 6 deletions .changeset/sour-boats-promise.md

This file was deleted.

30 changes: 18 additions & 12 deletions packages/node-cache-manager-ioredis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tirke/node-cache-manager-ioredis

## 3.5.0

### Minor Changes

- add license ([`3213b822d8b31b7b508a9c4beec947aeb53de176`](https://github.com/Tirke/node-cache-manager-stores/commit/3213b822d8b31b7b508a9c4beec947aeb53de176))

## 3.4.0

### Minor Changes
Expand Down Expand Up @@ -45,30 +51,30 @@
```typescript
// Before

import { IoRedisStore } from '@tirke/node-cache-manager-ioredis'
import { caching } from 'cache-manager'
import { IoRedisStore } from "@tirke/node-cache-manager-ioredis";
import { caching } from "cache-manager";

const redisCache = caching({
store: IoRedisStore,
host: 'localhost', // default value
host: "localhost", // default value
port: 6379, // default value
password: 'XXXXX',
password: "XXXXX",
ttl: 600,
})
});
```

```typescript
// After

import { ioRedisStore, RedisCache } from '@tirke/node-cache-manager-ioredis'
import { caching } from 'cache-manager'
import { ioRedisStore, RedisCache } from "@tirke/node-cache-manager-ioredis";
import { caching } from "cache-manager";

const redisCache: RedisCache = caching(ioRedisStore, {
host: 'localhost', // default value
host: "localhost", // default value
port: 6379, // default value
password: 'XXXXX',
password: "XXXXX",
ttl: 600,
})
});
```

## 2.1.0
Expand All @@ -93,15 +99,15 @@
Package was previously imported as a default import

```typescript
import RedisStore from '@tirke/cache-manager-ioredis'
import RedisStore from "@tirke/cache-manager-ioredis";
```

This could lead to some difficulties when transpiling and importing with require in node.

The package is now exporting a new named import

```typescript
import { IoRedisStore } from '@tirke/cache-manager-ioredis'
import { IoRedisStore } from "@tirke/cache-manager-ioredis";
```

## 1.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/node-cache-manager-ioredis/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tirke/node-cache-manager-ioredis",
"license": "MIT",
"version": "3.4.0",
"version": "3.5.0",
"type": "commonjs",
"repository": "https://github.com/Tirke/node-cache-manager-stores",
"funding": "https://github.com/sponsors/tirke",
Expand Down
6 changes: 6 additions & 0 deletions packages/node-cache-manager-mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tirke/node-cache-manager-mongodb

## 1.4.0

### Minor Changes

- add license ([`3213b822d8b31b7b508a9c4beec947aeb53de176`](https://github.com/Tirke/node-cache-manager-stores/commit/3213b822d8b31b7b508a9c4beec947aeb53de176))

## 1.3.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.3.0",
"version": "1.4.0",
"license": "MIT",
"type": "commonjs",
"repository": "https://github.com/Tirke/node-cache-manager-stores",
Expand Down

0 comments on commit 306ed79

Please sign in to comment.