1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-17 20:17:02 +03:00

169 Commits

Author SHA1 Message Date
Nedyalko Dyakov
d236865b0c
fix: handle network error on SETINFO (#3295) (CVE-2025-29923)
* fix: handle network error on SETINFO

This fix addresses potential out of order responses as described in `CVE-2025-29923`

* fix: deprecate DisableIndentity and introduce DisableIdentity

Both options will work before V10. In v10 DisableIndentity will be dropped. The preferred flag to use is `DisableIdentity`.
2025-03-19 19:02:36 +02:00
ofekshenawa
555a41ecc7
Enable dialect 2 on default (#3213)
* Enable dialect 2 on deafult

* add vector test for default dialect

* Add dialect 1 test

* Add dialect 1 test & fix ft.search

* Add default dialect to Readme
2025-03-13 14:54:25 +02:00
David Maier
310ce55c59
Update README.md
Minor update on the README by highlighting that go-redis is the official Redis library. The note about Uptrace was moved to the 'contributors' section of the README.
2025-03-12 14:57:19 +01:00
Nedyalko Dyakov
ebe11d06ca
feat: Enable CI for Redis CE 8.0 (#3274)
* chore: extract benchmark tests

* wip

* enable pubsub tests

* enable ring tests

* stop tests with build redis from source

* start all tests

* mix of makefile and action

* add sentinel configs

* fix example test

* stop debug on re

* wip

* enable gears for redis 7.2

* wip

* enable sentinel, they are expected to fail

* fix: linter configuration

* chore: update re versions

* return older redis enterprise version

* add basic codeql

* wip: increase timeout, focus only sentinel tests

* sentinels with docker network host

* enable all tests

* fix flanky test

* enable example tests

* tidy docker compose

* add debug output

* stop shutingdown masters

* don't test sentinel for re

* skip unsuported addscores

* Update README

bump go version in CI

* Update README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update CONTRIBUTING.md

add information about new test setup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-02-28 12:49:00 +02:00
ofekshenawa
930d904205
Add guidance on unstable RESP3 support for RediSearch commands to README (#3177)
* Add UnstableResp3 to docs

* Add RawVal and RawResult to wordlist

* Explain more about SetVal

* Add UnstableResp to wordlist
2024-11-13 13:20:59 +02:00
ofekshenawa
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 <117659936+vladvildanov@users.noreply.github.com>
Co-authored-by: vladvildanov <divinez122@outlook.com>
2024-09-12 11:26:10 +03:00
ofekshenawa
f99447854b
Add test coverage reporting and Codecov badge (#3055)
* Add codecov to ci

* Add codecov to ci

* update yanl

* Add changes

* Add changes

* test

* Add changes

* Add changes

* Add changes
2024-09-03 17:09:47 +03:00
高木同学
f7f34feddf
Optimize docs useless imports and typo (#2970) 2024-04-14 22:59:09 +08:00
ofekshenawa
99527f0ac1
docs: README update to highlight how to disable sending client identification (#2913) 2024-02-20 16:37:22 +02:00
fengyun.rui
f0ecdb4190
docs: update features (#2846)
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 23:04:23 +02:00
rouzier
9073e4056d
Update docs and examples (#2806)
* Fix example 'Connecting via a redis url' and make it compile

* Fix name of example

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-12-17 17:43:21 +02:00
ccx
716906adda
docs: correct the format error of the url in 'Connecting via a redis url' section (#2789)
* docs: correct the format error of the url in 'Connecting via a redis url' section

* docs: change secret to password in redis url exmaple

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-12-17 15:34:17 +02:00
Chayim
ed202936d7
Linking to Redis resources (#2759)
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:33:59 +02:00
Vladimir Mihailenco
af4872cbd0 chore: use abs link 2023-10-20 08:41:48 +03:00
Vladimir Mihailenco
86bae21dce chore: fix link 2023-10-20 08:39:54 +03:00
Jason Parraga
45d28c136f
Fix OpenTelemetry link in README (#2755) 2023-10-14 12:37:19 +03:00
Tiago Peczenyj
e8ad794e96
Format code and fix go vet (#2696)
* run go fix ./...

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

* run make fmt

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

* 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 <tpeczenyj@weborama.com>

---------

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-09-20 14:03:44 +03:00
Chayim
71dd81cded
CONTRIBUTING guideliens (#2718) 2023-09-20 10:42:45 +03:00
ofekshenawa
558581eac6
bloom support (#2673) 2023-08-15 10:19:19 +03:00
Chayim
0cc9cd6e08
Updating the README with connection options (#2661) 2023-07-26 09:40:01 +03:00
Chayim
cbfe6cd076
Allowing for running tests on a port other than the fixed 6380 (#2466)
* Allowing for redis on a specified port

* updating the readme

---------

Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
Co-authored-by: Monkey <golang@88.com>
2023-03-06 21:31:39 +08:00
Vladimir Mihailenco
2bed94510b
chore: add Chinese translation (#2436) 2023-02-11 17:32:44 +08:00
Vladimir Mihailenco
bdfb4a75ad chore: fix import path 2023-01-24 15:50:10 +02:00
Chayim I. Kirshen
d4582b0bd4 restoring redismock path 2023-01-24 14:19:26 +02:00
Vladimir Mihailenco
97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
monkey
806266524b docs: updated "Installation" description in README.md
Signed-off-by: monkey <golang@88.com>
2023-01-22 21:31:01 +08:00
monkey92t
2fd84242f0 docs(README.md): update doc addr, to v9
Signed-off-by: monkey92t <golang@88.com>
2023-01-03 18:37:13 +08:00
Vladimir Mihailenco
f9e60f214b chore: update example 2022-11-09 15:51:59 +02:00
Vladimir Mihailenco
90144999eb chore: update readme 2022-11-09 15:18:55 +02:00
Vladimir Mihailenco
f1d6bc91b7 chore: add link to an example 2022-10-20 16:44:05 +03:00
Vladimir Mihailenco
b0231c659e chore: always retry write timeouts 2022-10-06 10:06:02 +03:00
Vladimir Mihailenco
4dcf3cca72 chore: update readme 2022-09-15 12:01:14 +03:00
tison
c99340abb0
chore: correct Kvrocks spells and new repo location (#2202) 2022-09-01 11:00:37 +03:00
Vladimir Mihailenco
0768a688c6 chore: update readme 2022-06-04 18:20:41 +03:00
Vladimir Mihailenco
a18fad5bd3 chore: v9 2022-06-04 17:42:06 +03:00
Vladimir Mihailenco
d09c27e604 feat: upgrade to Redis 7 2022-06-04 17:25:12 +03:00
Vladimir Mihailenco
2465baaab5 chore: move sponsors up 2022-05-03 17:50:48 +03:00
Vladimir Mihailenco
a4da15b8ad chore: add sponsors 2022-05-03 17:48:11 +03:00
Vladimir Mihailenco
4c8b4d1619 chore: mention kvrocks 2022-04-14 17:55:34 +03:00
Vladimir Mihailenco
354913edca chore: update readme links 2022-04-13 16:01:35 +03:00
Vladimir Mihailenco
99c79f7041 chore: update readme 2022-04-05 10:06:50 +03:00
Vladimir Mihailenco
b5d6b29c95 chore: update links 2022-04-05 09:34:33 +03:00
Vladimir Mihailenco
85f34e0224 chore: update readme 2022-04-03 09:27:24 +03:00
Vladimir Mihailenco
8b3668e554 chore: add chat link 2022-03-19 14:32:12 +02:00
Vladimir Mihailenco
40e84a79bf chore: add discord back 2022-03-18 14:00:38 +02:00
Vladimir Mihailenco
6fd61e8258 chore: tweak Uptrace copy 2022-02-22 15:29:10 +02:00
hidu
b82a2d9d4d fix: rename Golang to Go (#2030)
https://go.dev/doc/faq#go_or_golang
2022-02-20 13:38:20 +08:00
Seyed Ali Ghaffari
e2d145d6ba
Update README.md (#2011)
chore: add fmt library in example code
2022-01-31 12:34:32 +02:00
Vladimir Mihailenco
955df2c4c4 chore: update link 2021-12-29 10:45:45 +02:00
Vladimir Mihailenco
f737d9a830 chore: remove Discord 2021-12-24 15:33:36 +02:00