@@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
44
55This 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 )
0 commit comments