Skip to content

Commit 902e1a7

Browse files
committed
Release v3.0.0-rc.1 🔖
1 parent 3b98284 commit 902e1a7

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v3.0.0-rc.1](https://github.com/elixir-nebulex/nebulex_redis_adapter/tree/v3.0.0-rc.1) (2025-05-10)
8+
> [Full Changelog](https://github.com/elixir-nebulex/nebulex_redis_adapter/compare/v2.4.2...v3.0.0-rc.1)
9+
10+
### Enhancements
11+
12+
- [Nebulex.Adapters.Redis] Upgraded the Redis adapter to Nebulex v3.
13+
- [Nebulex.Adapters.Redis] The adapter supports the `:timeout` option from
14+
`Nebulex.Cache`.
15+
- [Nebulex.Adapters.Redis] The `:client_side_cluster` mode uses the
16+
[`ExHashRing`](ex_hash_ring) library internally for handling the nodes.
17+
- [Nebulex.Adapters.Redis] Added extended callbacks `fetch_conn/0,1` and
18+
`fetch_conn!/0,1` - useful for performing Redis commands (when using the
19+
adapter as a Redis client).
20+
- [Nebulex.Adapters.Redis] Added extended callbacks `encode_key/1,2`,
21+
`decode_key/1,2`, `encode_value/1,2`, and `decode_value/1,2` - useful for
22+
encoding and decoding keys and values according to the adapter.
23+
24+
[ex_hash_ring]: https://github.com/discord/ex_hash_ring
25+
26+
### Backwards incompatible changes
27+
28+
- [Nebulex.Adapters.Redis] Adapter module has been renamed from
29+
`NebulexRedisAdapter` to `Nebulex.Adapters.Redis`.
30+
- [Nebulex.Adapters.Redis] The option `:keyslot` when using `:redis_cluster`
31+
mode no longer supports a module implementing the `Nebulex.Adapter.Keyslot`
32+
behaviour. Please use an anonymous function that receives the key and the
33+
range (16384 slots for Redis Cluster) as arguments and returns the hash slot
34+
where perform the action to (e.g., `keyslot: &MyApp.hash_slot/2`).
35+
- [Nebulex.Adapters.Redis] The option `:keyslot` when using
36+
`:client_side_cluster` mode is no longer supported.
37+
- [Nebulex.Adapters.Redis] The previous extended functions `command/1,2`,
38+
`command!/1,2`, `pipeline/1,2`, and `pipeline!/1,2` were removed.
39+
Please see the new ones: `fetch_conn/0,1` and `fetch_conn!/0,1`.
40+
41+
### Closed issues
42+
43+
- Upgrade the Redis adapter to Nebulex V3
44+
[#65](https://github.com/elixir-nebulex/nebulex_redis_adapter/issues/65)
45+
746
## [v2.4.2](https://github.com/cabol/nebulex_redis_adapter/tree/v2.4.2) (2024-11-01)
847

948
[Full Changelog](https://github.com/cabol/nebulex_redis_adapter/compare/v2.4.1...v2.4.2)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
[![Documentation](http://img.shields.io/badge/Documentation-ff69b4)](http://hexdocs.pm/nebulex_redis_adapter)
88

99
[redis_cluster]: http://redis.io/topics/cluster-tutorial
10+
[redix]: http://github.com/whatyouhide/redix
1011

1112
## About
1213

13-
This adapter uses [Redix](http://github.com/whatyouhide/redix); a Redis driver
14-
for Elixir.
14+
This adapter uses [Redix][redix]; a Redis driver for Elixir.
1515

1616
The adapter supports different configurations modes which are explained in the
1717
next sections.
@@ -79,7 +79,7 @@ config :my_app, MyApp.RedisCache,
7979
Since this adapter is implemented by means of `Redix`, it inherits the same
8080
options, including regular Redis options and connection options as well. For
8181
more information about the options, please check out `Nebulex.Adapters.Redis`
82-
module and also [Redix](http://github.com/whatyouhide/redix).
82+
module and also [Redix][redix].
8383

8484
See [online documentation][docs] and [Redis cache example][redis_example]
8585
for more information.

0 commit comments

Comments
 (0)