Releases: liaoliaots/nestjs-redis
Releases · liaoliaots/nestjs-redis
v4.1.0
What's Changed
New
- add
extraProviders
async option - export
RedisStatus
andClusterStatus
for some use cases
Bug Fixes
- await clients quit instead of .catch()
Improvements
- remove unnecessary wrapper module to increase perf
Maintenance
- use redis-errors lib instead of custom error
- add default module options to prevent some possible issues
- update messages
- update api comments
- add engines field
- update README.md, redis/cluster docs
- update dependencies
v4.0.1
v4.0.0
What's Changed
⚠️ BREAKING CHANGES
- [redis] rename
RedisService
toRedisManager
for better semantics, no other changes (#110) - [cluster] rename
ClusterService
toClusterManager
for better semantics, no other changes (#110)
Migration from v3 to v4
v3
import { RedisService, ClusterService } from '@liaoliaots/nestjs-redis';
v4
import { RedisManager, ClusterManager } from '@liaoliaots/nestjs-redis';
Documentation
- update examples
Maintenance
- update dependencies
- update github actions
v3.1.1
v3.1.0
v3.0.0
What's Changed
⚠️ BREAKING CHANGES
- drop support for
@nestjs/terminus@next
- please use v8
redis
- rename
DEFAULT_REDIS_CLIENT
toDEFAULT_REDIS_NAMESPACE
(#66) - rename
ClientOptions
toRedisClientOptions
(#98) - rename
defaultOptions
tocommonOptions
(#98)
cluster
- rename
DEFAULT_CLUSTER_CLIENT
toDEFAULT_CLUSTER_NAMESPACE
(#66) - rename
ClientOptions
toClusterClientOptions
(#98)
health checks
- if you don't use health check, you don't have to install
@nestjs/terminus
- rename
check
tocheckHealth
For now, you need to import RedisHealthModule
and RedisHealthIndicator
via:
import { RedisHealthModule, RedisHealthIndicator } from '@liaoliaots/nestjs-redis/health';
- add
RedisHealthModule
toimports
list of@Module()
decorator - inject
RedisHealthIndicator
provider into our service, controller, etc - pass the redis or cluster client to it
Bug Fixes
New
redis:
- add
getRedisToken
to get internal DI token (#95)
cluster:
- add
getClusterToken
to get internal DI token (#95)
Maintenance
- update dependencies
- preserve code comments
- update github actions, add unit-testing action
- update error messages
- use fastify for e2e testing
- update unit and e2e tests
- update config
v3.0.0-next.3
What's Changed
Bug Fixes
- make
quit
promise safe - use
quit
for status ready, otherwise usedisconnect
(#56)
Documentation
- update test coverage
- update menus
- other updates
v3.0.0-next.2
What's Changed
Maintenance
- remove unnecessary packages check
Documentation
- update test coverage
- update dependency graph
v3.0.0-next.1
What's Changed
Maintenance
- remove
node
engines
v3.0.0-next.0
What's Changed
BREAKING CHANGES
- drop support for
NestJS 7
- For NestJS 7 please use@liaoliaots/nestjs-redis
2.x
Documentation
- update install
- other updates
Maintenance
- add engines field