You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.3.0]
9
+
10
+
### Added
11
+
12
+
-**Valkey GLIDE Support**: Added support for Valkey's official GLIDE client via `GlideAdapter`
13
+
-**Re-exported Adapters**: `NodeRedisAdapter`, `IoredisAdapter`, and `GlideAdapter` are now re-exported from `nestjs-redlock-universal` for convenience
14
+
- Updated peer dependency to `redlock-universal ^0.8.0`
15
+
16
+
### Documentation
17
+
18
+
- Added Valkey GLIDE configuration examples
19
+
- Updated all examples to use re-exported adapters from `nestjs-redlock-universal`
Copy file name to clipboardExpand all lines: README.md
+44-11Lines changed: 44 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# nestjs-redlock-universal
2
2
3
-
> NestJS integration for [redlock-universal](https://www.npmjs.com/package/redlock-universal) - Distributed Redis locks with decorators and dependency injection
3
+
> NestJS integration for [redlock-universal](https://www.npmjs.com/package/redlock-universal) - Distributed Redis and Valkey locks with decorators and dependency injection
NestJS wrapper for [redlock-universal](https://www.npmjs.com/package/redlock-universal), providing **distributed Redis locks** through NestJS decorators, modules, and dependency injection.
12
+
NestJS wrapper for [redlock-universal](https://www.npmjs.com/package/redlock-universal), providing **distributed Redis and Valkey locks** through NestJS decorators, modules, and dependency injection.
13
13
14
14
## Features
15
15
16
16
-**NestJS Native**: First-class integration with dependency injection and lifecycle hooks
17
-
-**Distributed Locks**: Redlock algorithm for multi-instance Redis setups
17
+
-**Distributed Locks**: Redlock algorithm for multi-instance Redis/Valkey setups
18
18
-**Simple API**: Method decorator for zero-boilerplate distributed locking
19
19
-**High Performance**: <1ms lock acquisition with automatic extension
20
20
-**Type-Safe**: Full TypeScript support with strict type checking
21
-
-**Universal**: Works with both `node-redis` v4+ and `ioredis` v5+ clients
21
+
-**Universal**: Works with `node-redis` v4+, `ioredis` v5+, and Valkey GLIDE v2+
22
22
23
23
## Table of Contents
24
24
25
25
-[Installation](#installation)
26
26
-[Quick Start](#quick-start)
27
27
-[Configuration](#configuration)
28
+
-[Using ioredis](#using-ioredis)
29
+
-[Using Valkey GLIDE](#using-valkey-glide)
28
30
-[API Reference](#api-reference)
29
31
-[Advanced Usage](#advanced-usage)
30
32
-[Testing](#testing)
@@ -39,14 +41,17 @@ This package wraps `redlock-universal`, so you need to install both packages:
0 commit comments