Skip to content

Releases: dahomey-technologies/rustis

0.4.4

05 Dec 00:22
Compare
Choose a tag to compare
  • Refactored FromValue

    • API more consistent, clearer with stronger constraints
    • introduced FromSingleValue trait
    • renamed FromSingleValueArray to FromValueArray
  • Refactored IntoArgs & CommandArg

    • API more consistent, clearer with stronger constraints
    • SingleArg trait has been introduced to contraint IntoArg to a single argument
    • built-in commands do not expect anymore impl Into<CommandArg> as arguments but SingleArg instead
    • Fromtrait implementation to convert Rust primitives to CommandArg has been removed
    • Rust primitives implementation for IntoArgs has been added
    • renamed ArgsOrCollection to MultipleArgsCollection
    • renamed SingleArgOrCollection to SingleArgCollection
    • renamed KeyValueArgOrCollection to KeyValueArgsCollection

0.4.3

04 Dec 21:19
Compare
Choose a tag to compare
  • Refactored crate modules: introduced client and commands modules
  • Provided full documentation with multiple examples

0.4.2

04 Dec 00:17
Compare
Choose a tag to compare
  • Added missing methods to ClientTrait
  • Added missing documentation to all traits, structs, enums & types definitions

Full Changelog: 0.4.1...0.4.2

0.4.1

03 Dec 01:20
Compare
Choose a tag to compare
  • Improved general documentation

0.4.0

02 Dec 23:40
Compare
Choose a tag to compare
  • fix ValueDecoder: implemented & tests all edge cases
  • refactored resp::Value
    • removed Option from BulkString, Array and Push variants
    • added Nil variant
  • Improved SentinelConfig
    • added sentinel_username & sentinel_password
    • Can parse SentinelConfig fields from an URI
  • include PooledClientManager in docrs
  • improved Config documentation

0.3.0

01 Dec 19:31
Compare
Choose a tag to compare

Major Updates

  • renamed redis-driver-rs to rustis
  • added RedisJSON support
  • added RedisSearch support
  • added RedisGraph support
  • added RedisBloom support
  • added RedisTimeSeries support

Minior Updates & Bug fixes

  • improved cluster refresh when a MOVED error occurs
  • remove abusive unwrap() calls
  • fix RedisErrorKind::Error
  • fix sentinel docker conf
  • prepare_command function visiblity restricted to pub(crate)
  • Replace resp::Array enum by Option<Vec>
  • removed BulkString enum

0.2.1

13 Nov 21:31
Compare
Choose a tag to compare

0.2.0

12 Nov 01:57
f9558bc
Compare
Choose a tag to compare
  • added Cluster support
  • fix FindKeys enum (used ServerCommands::command)
  • added BulkString::to_usize
  • added Deref support for BulkString
  • added IntoIterator support for CommandArgs
  • added Deref support for CommandArgs
  • added FromSingleValueArray support for SmallVec
  • added all cluster related commands
  • fix CallBuilder when there is no args/keys
  • fix RESP3
  • refactored Redis errors (extract error kind in a specific enum)

0.1.9

31 Oct 19:18
b7b2ca3
Compare
Choose a tag to compare
  • Refactored Transaction
    • The whole transaction is sent to the server in a single batch
    • API similar to Pipeline
    • added limited transaction support to MultiplexedClient (no watch & unwatch support)
  • added pipelining support (#9)
    • added pipelining support to Client struct
    • added pipelining support to MultiplexedClientstruct
    • added send_batch to Client struct
    • added command batch support to NetworkHandler struct
    • added command batch support to Message struct
    • introduced InnerClient to mutualise implementations between Client & MultiplexedClient
    • removed MultiplexedPubSubStream for PubSubStream can now be used with MultiplexedClient
    • improved error management in FromValue
  • a few renames
    • renamed connection to client in Transaction
    • renamed ClientCommandResult to ClientPreparedCommand
    • renamed MultiplexedClientCommandResult to MultiplexedPreparedCommand

0.1.8

26 Oct 12:49
943becd
Compare
Choose a tag to compare
  • Added MultiplexedClient
  • Automatic command batching
  • Client struct is not publicly cloneable anymore. If you want to clone a client instance, use MultiplexedClient instead.
  • Hide HashMapExt from Public API
  • Commands traits are no more generic
  • Renamed CommandResult to PreparedCommand