Commit Graph
233 Commits
Author SHA1 Message Date
ec24007819 fix(vectorsets): VLinks return type (#3820)
* fix(vset): vlinks return type

* fix(vset): fix test

* fix(vset): fix test

* fix(vset): remove last layer check from tests

* fix(vset): fix lint & issue

* fix(vset): fix n -> innerLen check

* test(vset): add mocked-response parser tests for VLINKS

Cover StringSliceSliceCmd.readReply (VLINKS) and
VectorScoreSliceSliceCmd.readReply (VLINKS WITHSCORES) with both
RESP2 and RESP3 wire fixtures, including empty layers, nil
elements, odd-length-array errors, and malformed input.

Also switch NewStringSliceSliceCmd to args ...any to match the
sibling NewVectorScoreSliceSliceCmd signature.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
2026-05-26 11:11:40 +03:00
bfd1922200 feat(command): Add AR* (array data structure) commands (#3813)
* feat: impl array data structure

* add integration tests for array commands

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* fix: move CmdTypeUint and CmdTypeUintSlice to end of iota sequence

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* test: add boundary tests for large uint64 index values

Covers ARSet, ARGet, ARGetRange, ARMSet, ARMGet, ARDel,
ARDelRange, ARScan, ARSeek, ARNext, and AROp.

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* refactor: replace generic AROp with typed methods and improve test coverage

- Split AROp into specific methods: AROpSum, AROpMin, AROpMax, AROpAnd,
  AROpOr, AROpXor, AROpMatch, AROpUsed with proper return types
- Pre-allocate slices in ARScan, ARGrep, ARGrepWithValues, ARLastItems
- Add tests: ARInfoFull, negative AND/OR/XOR results, ARGrep nil args

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* mark ArrayCmdable API as experimental

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* Use `any` instead of `interface{}` and document index range constraint on ArrayCmdable interface.

Co-Authored-By: Claude Opus 4.7 <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 <[email protected]>
2026-05-21 17:14:57 +03:00
Nedyalko DyakovandGitHub c5f08a5847 feat(command): add support for INCREX (#3816)
* feat(command): add increx

* add one additional test

* update increx

* use custom 8.8 image with new increx

* address pr comments

* always use by in float
2026-05-21 14:08:15 +03:00
5a3f74cc81 feat(xautoclaim): Add support for xautoclaim to return list of deleted messages ids from PEL (#3798)
* reading xautoclaim's 3rd return value as list of deletedIDs

* adding test for xautoclaim that returns deletedIDs

* updating expected comments. running doctests make test locally works fine ?

* Adding missing clone deletedIDs

* switch to creating a new command instead

* output needed updating

* forgot to add the XAutoClaimWithDelete command to StreamCmdable

* Fix naming inconsistency in XAutoClaimWithDeleted

* trigger CI

* trigger CI

* trigger CI

* trigger CI

---------

Co-authored-by: Benoit Verreault <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
2026-05-07 16:05:58 +03:00
8d91e50250 fix(parser): Adds Redis 8.8 fields and makes reply parsers forward-compatible (#3781)
* Adds Redis 8.8 fields and makes reply parsers forward-compatible

* Bump default redis version for tests to 8.8

* Update .github/actions/run-tests/action.yml

* Update .github/workflows/build.yml

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
2026-04-20 23:03:24 +03:00
romanpovolGitHubcxljsdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>BigskNedyalko Dyakov
b4613b3992 feat(vectorset): add VISMEMBER & WITHATTRIBS (#3753)
* feat(vectorset): WIP

* feat(vectorsets): WITHATTRIBS & VIsMember

* fix(vectorsets): fix tests

* fix(vectorsets): improve doctest/

* feat(vectorsets): add test with nil attrs

* fix(vectorsets): typo Epsilon

* fix: review issues

* chore(go): use -compat=1.24 (#3754)

Signed-off-by: Xiaolong Chen <[email protected]>

* chore(maps): Use `maps.Keys`, `slices.Collect` and `slices.Contains` instead of custom functions (#3758)

* Optimize: Use modern Go standard library (maps.Keys, slices.Collect, slices.Contains) instead of custom functions

* format

* chore(deps): bump codecov/codecov-action from 5 to 6 (#3757)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(ring): inline rendezvous hashing and remove external dependency (#3762)

* ring: remove external rendezvous dependency by inlining implementation

Replace usage of github.com/dgryski/go-rendezvous with an internal
implementation to eliminate the external dependency and avoid licence
propagation concerns.

The implementation preserves the exact hashing algorithm and behaviour:
- same hash combination: khash ^ nhash
- same mixing function (xorshift* variant)
- same node ordering semantics

No functional changes intended.

* Refactor TestRendezvous to remove randomString function

Replaced function with inline string generation for test cases.

* test: refactor RendezvousHash tests to use Ginkgo and Gomega

* test: improve RendezvousHash test for per-instance determinism and distribution balance

* test: enhance distribution verification in RendezvousHash tests

---------

Signed-off-by: Xiaolong Chen <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: cxljs <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bigsk <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
2026-04-09 16:02:39 +03:00
a6741de03e fix(vector): VectorScoreSliceCmd to handle RESP2 flat array responses (#3767)
* Initial plan

* Fix VectorScoreSliceCmd to handle RESP2 flat array responses

Agent-Logs-Url: https://github.com/redis/go-redis/sessions/98c71a51-26cc-46ab-b9a0-25bd9c1f3295

Co-authored-by: ndyakov <[email protected]>

* Add NewVectorScoreSliceCmd constructor; fix test to use proper constructor

Agent-Logs-Url: https://github.com/redis/go-redis/sessions/98c71a51-26cc-46ab-b9a0-25bd9c1f3295

Co-authored-by: ndyakov <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: ndyakov <[email protected]>
2026-04-09 15:29:57 +03:00
cxljsandGitHub 0ae2f4c088 chore(client): optimize for Go 1.24: use slices/maps/clear built-ins (#3746)
- pubsub.go: use clear() to empty maps
- search_commands.go: use slices.Clone() and maps.Clone()
- command.go: use maps.Clone() in XMessageSliceCmd.Clone()
- options.go: use maps.Keys() + slices.Collect() + slices.Sort()
- osscluster.go: use slices.SortFunc() instead of custom sort type
- proxy_fault_injector_server.go: remove custom min() function
2026-03-23 22:38:24 +02:00
ofekshenawaandGitHub 73418596a3 feat(client): Add DoRaw and DoRawWriteTo for raw RESP protocol access (#3713)
* Add DoRaw and DoRawWriteTo for raw RESP protocol access

* fix augment comments

* Pipeline retry fix

* Fix Missing NoRetry check in cluster and ring retry loops
2026-03-23 17:35:59 +02:00
Artur KandGitHub 5c216583a7 fix(commands): mark time as keyless command (#3722) 2026-02-26 14:31:20 +02:00
33ca5cb864 feat(commands): Add support for Redis HOTKEYS commands (#3695)
* Add support for Redis HOTKEYS commands

* Skip hotkeys tests for redis version lower than 8.6

* chore(image): use proper ci image for 8.6

* feat(command): hotkeys wip

* fix(tests): cluster hotkeys

* chore(lint): fmt

* Ensure HOTKEYS commands are only available on standalone Client and NOT on ClusterClient, Ring, or pooled clients

* fix(hotkeys): address pr comments

* chore(ci): use latest build

* fix(hotkeys): fix typo in response

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
Co-authored-by: Elena Kolevska <[email protected]>
2026-02-11 18:08:28 +02:00
b0cb6c4330 chore(ci): use 8.6-pre (#3685)
* chore(ci): use 8.6-pre

* chore(ci): add 8.6 in ci matrix

* fix(xinfostream): added new fields in the response

* fix(doctests): fix expected output for XInfoStream

* fix(xinfostreamfull): same as xinfostream

* fix(doctests): fix expected output for XInfoStream

* Support hybrid search params vectors

* Support xinfo stream change in tests

* Revert "Support xinfo stream change in tests"

This reverts commit fde9315b50dd495f96bdaac5300c9828ecdee90b.

* Support xinfo stream change in tests

* Fix stream doctest to support the changes in 8.6

---------

Co-authored-by: ofekshenawa <[email protected]>
Co-authored-by: ofekshenawa <[email protected]>
2026-01-26 15:09:52 +02:00
cxljsandGitHub 254e65fb47 refactor(math): use Go1.21's built-in min/max function (#3656)
Signed-off-by: Xiaolong Chen <[email protected]>
2026-01-08 17:46:13 +02:00
f711eb0f62 feat(cluster): Implement Request and Response Policy Based Routing in Cluster Mode (#3422)
* Add search module builders and tests (#1)

* Add search module builders and tests

* Add tests

* Use builders and Actions in more clean way

* Update search_builders.go

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Update search_builders.go

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nedyalko Dyakov <[email protected]>

* feat(routing): add internal request/response policy enums

* feat: load the policy table in cluster client (#4)

* feat: load the policy table in cluster client

* Remove comments

* modify Tips and command pplicy in commandInfo (#5)

* centralize cluster command routing in osscluster_router.go and refactor osscluster.go (#6)

* centralize cluster command routing in osscluster_router.go and refactor osscluster.go

* enalbe ci on all branches

* Add debug prints

* Add debug prints

* FIX: deal with nil policy

* FIX: fixing clusterClient process

* chore(osscluster): simplify switch case

* wip(command): ai generated clone method for commands

* feat: implement response aggregator for Redis cluster commands

* feat: implement response aggregator for Redis cluster commands

* fix: solve concurrency errors

* fix: solve concurrency errors

* return MaxRedirects settings

* remove locks from getCommandPolicy

* Handle MOVED errors more robustly, remove cluster reloading at exectutions, ennsure better routing

* Fix: supports Process hook test

* Fix: remove response aggregation for single shard commands

* Add more preformant type conversion for Cmd type

* Add router logic into processPipeline

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>

* remove thread debugging code

* remove thread debugging code && reject commands with policy that cannot be used in pipeline

* refactor processPipline and cmdType enum

* remove FDescribe from cluster tests

* Add tests

* fix aggregation test

* fix mget test

* fix mget test

* remove aggregateKeyedResponses

* added scaffolding for the req-resp manager

* added default policies for the search commands

* split command map into module->command

* cleanup, added logic to refresh the cache

* added reactive cache refresh

* revert cluster refresh

* fixed lint

* addresed first batch of comments

* rewrote aggregator implementations with atomic for native or nearnative primitives

* addressed more comments, fixed lint

* added batch aggregator operations

* fixed lint

* updated batch aggregator, fixed extractcommandvalue

* fixed lint

* added batching to aggregateResponses

* fixed deadlocks

* changed aggregator logic, added error params

* added preemptive return to the aggregators

* more work on the aggregators

* updated and and or aggregators

* fixed lint

* added configurable policy resolvers

* slight refactor

* removed the interface, slight refactor

* change func signature from cmdName to cmder

* added nil safety assertions

* few small refactors

* added read only policies

* removed leftover prints

* Rebased to master, resolved comnflicts

* fixed lint

* updated gha

* fixed tests, minor consistency refactor

* preallocated simple errors

* changed numeric aggregators to use float64

* speculative test fix

* Update command.go

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Update main_test.go

Co-authored-by: Nedyalko Dyakov <[email protected]>

* Add static shard picker

* Fix nil value handling in command aggregation

* Modify the Clone method to return a shallow copy

* Add clone method to digest command

* Optimize keyless command routing to respect ShardPicker policy

* Remove MGET references

* Fix MGET aggregation to map individual values to keys across shards

* Add clone method to hybrid search commands

* Undo changes in route keyless test

* remove comments

* Add test for DisableRoutingPolicies option

* Add Routing Policies Comprehensive Test Suite and Fix multi keyed aggregation for different step

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
Co-authored-by: Hristo Temelski <[email protected]>
2025-11-28 11:46:23 +02:00
Marco FerrerandGitHub b362eb7f7d fix(txpipeline) add wait to keyless commands list (#3615) 2025-11-25 14:15:13 +02:00
Nedyalko DyakovandGitHub 5069fd6fa9 feat(cmd): Add CAS/CAD commands (#3583)
* add cas/cad commands

* feat(command): Add SetIFDEQ, SetIFDNE and *Get cmds

Decided to move the *Get argument as a separate methods, since the
response will be always the previous value, but in the case where
the previous value is `OK` there result may be ambiguous.

* fix tests

* matchValue to be interface{}

* Only Args approach for DelEx

* use uint64 for digest, add example

* test only for 8.4
2025-11-07 13:31:00 +02:00
destinyooooandGitHub 63fbaafcef feat: support for latency command (#3584)
* support for latency command

* add NonRedisEnterprise label for latency test
2025-11-05 21:10:35 +02:00
71bb3cae4f Add support for XReadGroup CLAIM argument (#3578)
* Add support for XReadGroup CLAIM argument

* modify tutorial tests

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
2025-11-03 18:58:14 +02:00
d924f7ea68 feat(bitop): add support for the new bitop operations (#3409)
* Add support for new bitop operations

* chore(ci): Add 8.2 pre build for CI

* feat(info): add new client info keys

* fixed tests

* added godocs for bitop commands

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
2025-07-02 17:19:24 +03:00
Nedyalko DyakovandGitHub 05f42e2327 fix(txpipeline): keyless commands should take the slot of the keyed (#3411)
* fix(txpipeline): keyless commands should take the slot of the keyed commands

* fix(txpipeline): extract only keyed cmds from all cmds

* chore(test): Add tests for keyless cmds and txpipeline

* fix(cmdSlot): Add preferred random slot

* fix(cmdSlot): Add shortlist of keyless cmds

* chore(test): Fix ring test

* fix(keylessCommands): Add list of keyless commands

Add list of keyless Commands based on the Commands output
for redis 8

* chore(txPipeline): refactor slottedCommands impl

* fix(osscluster): typo
2025-06-24 10:34:23 +03:00
fukua95andGitHub 858ecda7fd fix: insert entry during iterating over a map (#3398)
Signed-off-by: fukua95 <[email protected]>
2025-06-09 11:03:18 +03:00
4e22885ca1 feat: support vectorset (#3375)
* feat: support vectorset

* fix: char encoding error

* use `any` instread of `interface{}`

* update vectorset API

Signed-off-by: fukua95 <[email protected]>

* refact: MapStringFloat64Cmd -> VectorInfoSliceCmd

Signed-off-by: fukua95 <[email protected]>

* update:

* the type of vector attribute: string -> VectorAttributeMarshaller
* Add a new API VRemAttr
* mark the APIs are experimental

Signed-off-by: fukua95 <[email protected]>

* trigger CI again

Signed-off-by: fukua95 <[email protected]>

* rename a API: VRemAttr -> VClearAttributes

Signed-off-by: fukua95 <[email protected]>

* add test

Signed-off-by: fukua95 <[email protected]>

* feat(vectorset): improve VSetAttr API and add comprehensive test suite

- Simplify VSetAttr to accept interface{} with automatic JSON marshalling
- Remove VectorAttributeMarshaller interface for simpler API
- Add comprehensive unit tests for all vectorset commands

---------

Signed-off-by: fukua95 <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
2025-06-05 11:35:45 +03:00
ofekshenawaandGitHub b67455e099 xinfo-groups: support nil lag in XINFO GROUPS (#3369)
* xinfo-groups: support nil lag in XINFO GROUPS

* Add test

* docs: clarify XInfoGroup.Lag field behavior with Nil values

* docs: clarify XInfoGroup.Lag field behavior
2025-05-21 13:57:58 +03:00
ofekshenawaandGitHub 2f0a9b720a migrate golangci-lint config to v2 format (#3354)
* migrate golangci-lint config to v2 format

* chore: skip CI on migration [skip ci]

* Bump golangci version

* Address several golangci-lint/staticcheck warnings

* change staticchecks settings
2025-04-29 12:53:06 +03:00
GlennandGitHub a7b4ce5e50 docs: fix documentation comments (#3351) 2025-04-22 08:11:00 +03:00
f3c2711fe1 move regexp.MustCompile close to call (#3280)
* move regexp.MustCompile out of func

* move moduleRe close to call

---------

Co-authored-by: Nedyalko Dyakov <[email protected]>
2025-02-20 16:22:34 +02:00
Nedyalko DyakovandGitHub a39be37273 feat(tests): validate that ConfigSet and ConfigGet work with Modules (#3258)
* Add tests for unified config in Redis 8

* WIP: fix reading FT.CONFIG with RESP3

* add more tests

* use search-timeout

* move deprecated warnings on the bottom
2025-02-03 19:10:54 +02:00
Nedyalko DyakovandGitHub 94b88f5ab2 fix(command): add missing io-thread key in client info (#3244)
* Add 8.0m3 image in docker compose

* Add new key `io-thread` in client info

Redis 8.0 introduces new key `io-thread` in the response
for client info. The key needs to be parsed. If an unknown key
is observed, the client will return an error.

* improve readibility

* Revert "Add 8.0m3 image in docker compose"

This reverts commit 787c41f42917fb7d3ca3471d9941304695a9b3c8.

* add dockers directory to gitignore
2025-01-23 14:47:28 +02:00
fc32d0a01d Recognize byte slice for key argument in cluster client hash slot computation (#3049)
Co-authored-by: Vladyslav Vildanov <[email protected]>
Co-authored-by: ofekshenawa <[email protected]>
2024-11-21 14:38:11 +02:00
ofekshenawaandGitHub d1b4eaed41 Support TimeSeries commands with RESP 2 protocol (#3184)
* Support Timeseries resp 2

* Change to resp 2

* Support Resp2 for TimeSeries commands
2024-11-13 10:27:00 +02:00
04005cbdc7 Support Resp 3 Redis Search Unstable Mode (#3098)
* Updated module version that points to retracted package version (#3074)

* Updated module version that points to retracted package version

* Updated testing image to latest

* support raw parsing for problematic Redis Search types

* Add UnstableResp3SearchModule to client options

* Add tests for Resp3 Search unstable mode

* Add tests for Resp3 Search unstable mode

* Add readme note

* Add words to spellcheck

* Add UnstableResp3SearchModule check to assertStableCommand

* Fix assertStableCommand logic

* remove go.mod changes

* Check panic occur on tests

* rename method

* update errors

* Rename flag to UnstableResp3

---------

Co-authored-by: Vladyslav Vildanov <[email protected]>
Co-authored-by: vladvildanov <[email protected]>
2024-09-12 11:26:10 +03:00
244a3e22da RediSearch Support (#2801)
* Add RediSearch Support

* searach

* Add RediSearch commands and tests

* Adding more tests and fixing commands

* Remove unnecessary additions

* fixing tests

* fixing tests

* fixing tests

* fixing FTConfig dialect test

* fix commects

* make enum for field types

* Support resp 2

* fix golang ci

* fix ftinfo

---------

Co-authored-by: Chayim <[email protected]>
2024-06-26 13:13:06 +03:00
2d7382e8cc Add (*StatusCmd).Bytes() method (#3030)
Signed-off-by: Andrew Haines <[email protected]>
Co-authored-by: Monkey <[email protected]>
2024-06-21 11:00:16 +08:00
ofekshenawaandGitHub 2a3de7e1fc Change redis version from 7.2 to 7.4 in makefile (#3034)
* Change redis version from 7.2 to 7.4

* fix jsonGet test

* Add 'watch' to client info

* Remove jsonGet from Enterprise tests
2024-06-20 00:08:35 +03:00
ofekshenawaandGitHub 34dacf14a7 Fix monitor on go 1.19 (#2908)
* Fix monitor on go 1.19

* Remove exmaple tests when go 1.19

* Fix typo

* Fix typo

* Skip exmaple test

* Skip exmaple test

* Guard Peek call with mutex for thread safety
2024-03-21 10:48:31 +02:00
21ed15bbed Add helpers to set libinfo without panic (#2724)
* add helpers to set library name and library info without risk of panic if we try to set both

* refactor code to use helpers

* add example

* refactor tests

* fix testable example

* simplify example

* rename exampl

* fix ring.go

* update example

---------

Co-authored-by: ofekshenawa <[email protected]>
2024-02-14 22:40:20 +02:00
dragon-flyandGitHub d8e3e95866 return raw value instead of funcation calling in Result() (#2831)
Signed-off-by: lowang-bh <[email protected]>
2024-01-03 10:43:42 +02:00
c828764336 Allow scanning redis values into pointer fields (#2787)
* Allow scanning redis values into pointer fields

* Formatting

---------

Co-authored-by: Ilia Personal <[email protected]>
Co-authored-by: ofekshenawa <[email protected]>
2023-12-17 17:42:45 +02:00
86c68be278 Execute "COMMAND" command only when readonly (#2815)
* remove command command from oss cluster

* remove command command from oss cluster

* remove cmdInfo from ring

---------

Co-authored-by: Chayim <[email protected]>
2023-12-17 15:21:01 +02:00
8c695488a2 fix: add Cmder annotation (#2816)
* fix: add Cmder annotation

Signed-off-by: rfyiamcool <[email protected]>

* fix: add Cmder annotation

Signed-off-by: rfyiamcool <[email protected]>

---------

Signed-off-by: rfyiamcool <[email protected]>
Co-authored-by: ofekshenawa <[email protected]>
2023-12-17 15:20:23 +02:00
277e8b7d9f Support Monitor Command (#2830)
* Add monitor command

* Add monitor commadn and tests

* insure goroutine shutdown

* fix data race

* linting

* change timeout explanation

---------

Co-authored-by: Chayim <[email protected]>
2023-12-17 12:35:10 +02:00
Nic GibsonandGitHub 343016bf72 add InfoMap command (#2665)
Add an extended version of Info() to parse the results from a call to redis.Info so that it’s simpler to operate on any given item in the result.

Signed-off-by: Nic Gibson <[email protected]>
2023-10-30 18:07:42 +02:00
e8ad794e96 Format code and fix go vet (#2696)
* run go fix ./...

Signed-off-by: Tiago Peczenyj <[email protected]>

* run make fmt

Signed-off-by: Tiago Peczenyj <[email protected]>

* fix go vet ./... issues

* Update README.md

Reorder imports with the rules defined in the Makefile 

as if we run `make fmt`

* run gofumpt -w .

* update Makefile to use gofumpt instead gofmt

* increment makefile

* format test

* format tests

Signed-off-by: Tiago Peczenyj <[email protected]>

---------

Signed-off-by: Tiago Peczenyj <[email protected]>
Co-authored-by: ofekshenawa <[email protected]>
2023-09-20 14:03:44 +03:00
3b0d10b4ed Support for CLIENT SETINFO (#2659)
* feat: merge master

* feat: revert ring.go

* feat: add ClientSetInfo command

* fix: test and cmd:

* fix: test and cmd

* fix: test and cmd

* fix: test and cmd

* feat: redesigning the API

* fix: panic test

* fix: panic test

---------

Co-authored-by: Anuragkillswitch <[email protected]>
Co-authored-by: ofekshenawa <[email protected]>
2023-09-14 16:24:23 +03:00
ofekshenawaandGitHub 017466b6cc Add Redis Timeseries support (#2688)
* Add Redis Timeseries support

* Small fixes

* Make timeseries interface public

* remove bloom renaming
2023-09-11 14:51:31 +03:00
ofekshenawaandGitHub aba21be8cd Add Redis Gears support (#2675)
* Add gears commands and tests

* Fix tfunctionlist and add docstrings

* fixes

* fixes

* add tfcallasync to gearsCmdable
2023-08-16 17:06:07 +03:00
Kamyab ZarehandGitHub b1800df239 fix: Fix bool ToBool bug (#2626) 2023-06-13 12:20:21 +03:00
MonkeyandGitHub 6f0af685cf fix the reading of the "entries-read" field in XInfoStreamFull (#2595)
* fix:  In the response of the XInfoStreamFull command, the "entries-read" field may be nil

Signed-off-by: monkey92t <[email protected]>

* add XInfoStreamFull test

Signed-off-by: monkey92t <[email protected]>

* add test XInfoStreamFull entries_read = nil

Signed-off-by: monkey92t <[email protected]>

---------

Signed-off-by: monkey92t <[email protected]>
2023-05-29 08:40:45 +03:00
31ba855dde feat: Add ACL LOG (#2536)
* feat: Add ACL LOG

Signed-off-by: monkey92t <[email protected]>

---------

Signed-off-by: monkey92t <[email protected]>
Co-authored-by: Anuragkillswitch <[email protected]>
Co-authored-by: ktsivkov <[email protected]>
Co-authored-by: Elena Kolevska <[email protected]>
Co-authored-by: monkey92t <[email protected]>
2023-05-08 22:40:42 +08:00
MonkeyandGitHub b8c7317cc6 feat: add client info command (#2483)
* feat: add client info command

Signed-off-by: monkey92t <[email protected]>

* add lib-name, lib-ver

Signed-off-by: monkey92t <[email protected]>

---------

Signed-off-by: monkey92t <[email protected]>
2023-04-24 21:18:33 +08:00