valkey_client 0.3.0
valkey_client: ^0.3.0 copied to clipboard
A modern, production-ready Dart client for Valkey (9.0.0+). Fully Redis 7.x compatible.
Changelog #
0.3.0 #
Added #
- New Commands: Added
client.set()andclient.get()methods. - Upgraded RESP Parser: The internal parser now supports Bulk Strings (
$). - This enables handling standard string values (e.g.,
GET mykey) andnullreplies (e.g.,GET non_existent_key).
0.2.0 #
Added #
- Command Execution Pipeline: Implemented the core
executemethod to send commands and process responses via a queue. - PING Command: Added the first user-facing command:
client.ping(). - Basic RESP Parser: Added an internal parser to handle simple string (
+) and error (-) responses, preparing for full RESP3 support.
0.1.0 #
This is the first functional release, implementing the core connection logic.
Added #
- Core Connection: Implemented the initial client connection logic.
connect(): Connects to the Valkey server.close(): Closes the connection.onConnected: AFuturethat completes when the connection is established.
- Documentation:
- Added public API documentation (
lib/valkey_client.dart). - Added a comprehensive usage example (
example/valkey_client_example.dart).
- Added public API documentation (
- Testing:
- Added unit tests for connection, connection failure, and disconnection scenarios.
0.0.1 #
- Initial version. (Placeholder)