Releases: enerBit/redsumer-rs
Releases · enerBit/redsumer-rs
Version v0.5.1 🦀
What's New 💜
- ⚡ Implement
belongs_to_me()
inIsStillMineReply
to verify if the message is still in consumer pending list. Functionis_still_mine()
was deprecated. By @JMTamayo. - ⚡ Implement Doc Tests in CI pipeline. By @JMTamayo.
Changed:
- 🚀 Unify Unit Tests and Coverage steps in CI pipeline. By @JMTamayo.
- 🚀 Making the Checkout step the first step in the pipeline to ensure that the code is available prior to the execution of the CI flow. By @JMTamayo.
- 🚀 Apply all steps for workspace in CI pipeline. By @JMTamayo.
What's Changed
Full Changelog: v0.5.0...v0.5.1
Version v0.5.0 🦀
What's New 💜
Added:
- ⚡ Implement
Debug
forClientCredentials
. By @JMTamayo. - ⚡ Implement
CommunicationProtocol
type to define Redis Protocol version. By @JMTamayo. - ⚡ Implement
ClientArgs
andRedisClientBuilder
to build Redis Client. By @JMTamayo. - ⚡ Implement
VerifyConnection
trait andping()
function to verify connection to Redis Server. By @JMTamayo. - ⚡ Implement
produce_from_map()
,produce_from_items()
andProducerCommands
in producer core module. By @JMTamayo. - ⚡ Implement
ProducerConfig
to manage the configuration parameters forProducer
. ImplementClientArgs
inProducer
[BreakingChange]. By @JMTamayo. - ⚡ Implement
ProduceMessageReply
to handle the response fromproduce_from_map()
andproduce_from_items()
functions inProducer
. By @JMTamayo. - ⚡ Implement
ConsumerConfig
to manage the configuration parameters forConsumer
. ImplementClientArgs
inConsumer
. ImplementReadNewMessagesOptions
,ReadPendingMessagesOptions
andClaimMessagesOptions
inConsumerConfig
[BreakingChange]. By @JMTamayo. - ⚡ Implement types
LastDeliveredMilliseconds
andTotalTimesDelivered
to handle the response from theis_still_mine()
core function. By @JMTamayo. - ⚡ Implement
ConsumeMessagesReply
to handle the response fromconsume()
function inConsumer
. By @JMTamayo. - ⚡ Implement
AckMessageReply
to handle the response fromack()
function inConsumer
. By @JMTamayo. - ⚡ Implement
IsStillMineReply
to handle the response fromis_still_mine()
function inConsumer
. By @JMTamayo. - ⚡ Refactor in the import of library modules: The prelude, consumer, producer and client modules were implemented [BreakingChange]. By @JMTamayo.
Changed:
- 🚀 Rename
RedsumerProducer
toProducer
[BreakingChange]. By @JMTamayo. - 🚀 Include minimum line coverage target as a env variable in CI pipeline. By @JMTamayo.
Removed:
- ❌ Remove
FromRedisValueHandler
from crate [BreakingChange]. By @JMTamayo. - ❌ Remove internal function
get_redis_client()
from client module. By @JMTamayo. - ❌ Remove step
Upload coverage to Codecov
from CI pipeline. By @JMTamayo.
What's Changed
- Feature/v0.4.2 by @JMTamayo in #18
- v0.5.0-beta.1 by @JMTamayo in #21
- Feature v0.5.0 by @JMTamayo in #22
Full Changelog: v0.4.1...v0.5.0
Version v0.4.1 🦀
What's New 💜
Fixed:
- 🛠 Fixing BUG reported in issue #15 with arguments in function xclaim.
What's Changed
Full Changelog: v0.4.0...v0.4.1
Version v0.4.0 🦀
What's New 💜
Added:
- ⚡ Implementation of new types: RedsumerResult, RedsumerError and Id (Breaking change).
- ⚡ Debug and Clone implementation in RedsumerProducer and RedsumerConsumer.
- ⚡ The consumer configuration parameters were implemented directly in RedsumerConsumer (Breaking change).
Fixed:
- 🛠 General refactoring of the package in order to improve performance.
Changed:
- 🚀 New project structure as workspace.
- 🚀 Update dependencies and documentation.
- 🚀 Library modules reorganization (Breaking change).
- 🚀 FromRedisValueImplHandler was changed to FromRedisValueHandler (Breaking change).
- 🚀 The produce_from_map method was replaced by the produce method in RedsumerProducer (Breaking change).
- 🚀 The validate_pending_message_ownership method was replaced by is_still_mine in RedsumerConsumer (Breaking change).
- 🚀 The acknowledge method was replaced by ack in RedsumerConsumer (Breaking change).
- 🚀 The consume method was refactored in RedsumerConsumer in order to implement a new consumption methodology that allows scalability in distributed systems. To understand this new implementation in detail, take a look at the project https://github.com/elpablete/refactored-computing-machine.
Removed:
- ❌ The stream_information.rs module was removed from the project: StreamInfo and StreamConsumersInfo implementations were removed (Breaking change).
- ❌ RedsumerConsumerOptions was removed (Breaking change).
- ❌ The produce_from_items method was removed from RedsumerProducer (Breaking change).
What's Changed
- 🧑💻 v0.4.0 by @JMTamayo in #11
- 🧑💻 Fixing references to README and LICENSE in Cargo.toml in v0.4.0 by @JMTamayo in #13
Full Changelog: v0.3.3...v0.4.0
Version v0.3.3 🦀
What's New 💜
- ⚡ Implementation of FromRedisValueImplHandler struct that includes some functions to unwrap redis::Value into general types by implementing redis::from_redis_value.
- ⚡Refactoring of the RedsumerClient::get_connection(...) function as a synchronous method.
- ⚡Removal of the default implementation for RedsumerConsumerOptions in order to implement mandatory definition of consumer configuration parameters from the client side.
- ⚡Unit testing implementation for types module. Refactoring of unit tests for RedsumerProducer and RedsumerConsumer to adjust synchronous methods and new RedsumerConsumerOptions model.
- ⚡ Implementation of CI configuration files using Github Actions.
What's Changed
Full Changelog: v0.3.2...v0.3.3
Version v0.3.2 🦀
What's New 💜
- ⚡Traits implementation to get information from Redis stream using RedsumerConsumer or RedsumerProducer.
- ⚡Function implementation in RedsumerConsumer to get stream messages ownership.
- ⚡Traits, structs and function implementations from Redis crate to improve error handling and to improve the experience of unwrap values from stream message.
- ⚡Unit testing implementation.