Skip to content

Releases: liaoliaots/nestjs-redis

v10.0.0

25 Sep 18:20
13e056f
Compare
Choose a tag to compare

BREAKING CHANGE:

  • This lib require Node.js >= 16.13.0 (first LTS version), NestJS ^10, ioredis ^ 5
  • In some cases InjectRedis and InjectCluster won't handle dependencies correctly(for example: a module import RedisModule and re-export it will cause "Cannot resolve dependency" error) thus leading to errors and there is no better solution so InjectRedis and InjectCluster was removed and please use RedisService & ClusterService instead which is the most stable solution.
  • RedisService & ClusterService has two instance methods:
    • getOrThrow: Retrieves a redis|cluster connection by namespace. However, if the query does not find a connection, it returns ClientNotFoundError: No Connection found error.
    • getOrNil: Retrieves a redis|cluster connection by namespace, if the query does not find a connection, it returns null;

Bug Fixes

Others

  • add exports, type field for modern Node.js
  • bump tslib dependency to 2.7.0

v10.0.0-alpha.3 - Pre Release

22 Sep 18:50
f50ff6e
Compare
Choose a tag to compare
  • new TypeScript build options, "module": "Node16", "moduleResolution": "Node16"
  • add exports type field in package.json for modern Node.js
  • this lib requires Node.js>=16.13.0 (the first lts version) or higher
  • publish test

v10.0.0-alpha.2 - Incoming Changes

22 Sep 14:49
5753e38
Compare
Choose a tag to compare
Pre-release
  • This lib support both node-redis and ioredis, the minimum required version is node-redis^4.1.0, ioredis^5.0.0.
  • In some cases InjectRedis and InjectCluster won't handle dependencies correctly(for example: a module import RedisModule and re-export it will cause "Cannot resolve dependency" error) thus leading to errors and there is no better solution so InjectRedis and InjectCluster will be removed and please use RedisManager&ClusterManager instead which is the most stable solution.

v9.0.5

01 Jan 15:04
fc69763
Compare
Choose a tag to compare

9.0.5 - 2023-01-01

Other

  • chore(license): update [year] part (#422)
  • docs: use correct actions url (#419)
  • docs: restore old docs, include v2, v3 and v4 (#419)

Dependencies

  • chore(deps-dev): bump tsc-alias from 1.7.0 to 1.8.2 (#410)
  • chore(deps): bump dependencies to latest (#410)(#420)
  • chore(sample): bump dependencies to latest (#412)(#423)

nestjs-redis-health: v9.0.4

01 Jan 14:53
fc69763
Compare
Choose a tag to compare

9.0.4 - 2023-01-01

Other

  • chore(license): update [year] part (#422)

Dependencies

  • chore(deps-dev): bump tsc-alias from 1.7.0 to 1.8.2 (#410)

v9.0.4

06 Nov 16:09
432c61a
Compare
Choose a tag to compare

9.0.4 - 2022-11-06

Other

  • docs: fix typos, add badges, update (#378) (#384) (#385)
  • ci: upgrade ubuntu version to ubuntu-22.04 (#381)
  • ci: use pnpm/action-setup@v2 instead of a specified version (#383)
  • ci: add testing for node18 LTS (#383)

Dependencies

  • chore(deps): bump tslib from v2.4.0 to v2.4.1 (#379)
  • chore(deps): bump dependencies to latest (#370) (#371) (#379) (#382)

nestjs-redis-health: v9.0.3

06 Nov 15:58
432c61a
Compare
Choose a tag to compare

9.0.3 - 2022-11-06

Dependencies

  • chore(deps): bump tslib from v2.4.0 to v2.4.1 (#379)

v9.0.3

01 Oct 17:00
44020f8
Compare
Choose a tag to compare

9.0.3 - 2022-10-02

Other

  • build with [email protected] LTS [email protected]
  • regenerate dependency graphs (#366)
  • use index.d.ts of jest-extended directly instead of global.d.ts file (#366)
  • bump @liaoliaots/nestjs-redis to 9.0.3 (#366)
  • bump @liaoliaots/nestjs-redis-health to 9.0.2 (#366)

Dependencies

  • chore(deps): update dependencies to latest (#349) (#365)

v9.0.2

01 Sep 17:15
afb4482
Compare
Choose a tag to compare

9.0.2 - 2022-09-02

Other

  • refactor: update messages (#347)
  • test: simplify unit/e2e tests and update configuration (#336) (#342)
  • docs: fix absolute links, update (#347)
  • chore(sample): simplify tests, update dependencies (#336) (#345)
  • chore: simplify package.json fields (#342)

Dependencies

  • chore(deps): update dependencies to latest (#333) (#341) (#342)

v9.0.1

20 Jul 14:20
b8bc560
Compare
Choose a tag to compare

9.0.1 - 2022-07-20

Enhancements

  • perf: obtain providers when the onApplicationShutdown hook is invoked (#320)

Other

  • docs: fix unavailable links, add FAQs (#321)
  • test: update unit tests (#320)

Dependencies

  • chore(deps-dev): bump tsc-alias to v1.7.0 (#320)
  • chore(deps): update dependencies to latest (#320)