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

101 Commits

Author SHA1 Message Date
Nedyalko Dyakov
a29d91d9ca
release 9.7.3, retract 9.7.2 (#3314) 2025-03-20 18:24:34 +02:00
Nedyalko Dyakov
ce3034c7b3
bump version to 9.7.2 2025-03-20 16:49:34 +02:00
Nedyalko Dyakov
3d041a1dd6
release: 9.7.1 patch (#3278)
* 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

* Eliminate redundant dial mutex causing unbounded connection queue contention (#3088)

* Eliminate redundant dial mutex causing unbounded connection queue contention

* Dialer connection timeouts unit test

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>

* SortByWithCount FTSearchOptions fix (#3201)

* SortByWithCount FTSearchOptions fix

* FTSearch test fix

* Another FTSearch test fix

* Another FTSearch test fix

---------

Co-authored-by: Christopher Golling <Chris.Golling@aexp.com>

* Fix race condition in clusterNodes.Addrs() (#3219)

Resolve a race condition in the clusterNodes.Addrs() method.
Previously, the method returned a reference to a string slice, creating
the potential for concurrent reads by the caller while the slice was
being modified by the garbage collection process.

Co-authored-by: Nedyalko Dyakov <nedyalko.dyakov@gmail.com>

* chore: fix some comments (#3226)

Signed-off-by: zhuhaicity <zhuhai@52it.net>
Co-authored-by: Nedyalko Dyakov <nedyalko.dyakov@gmail.com>

* fix(aggregate, search): ft.aggregate bugfixes (#3263)

* fix: rearange args for ft.aggregate

apply should be before any groupby or sortby

* improve test

* wip: add scorer and addscores

* enable all tests

* fix ftsearch with count test

* make linter happy

* Addscores is available in later redisearch releases.

For safety state it is available in redis ce 8

* load an apply seem to break scorer and addscores

* fix: add unstableresp3 to cluster client (#3266)

* fix: add unstableresp3 to cluster client

* propagate unstableresp3

* proper test that will ignore error, but fail if client panics

* add separate test for clusterclient constructor

* fix: flaky ClientKillByFilter test (#3268)

* Reinstate read-only lock on hooks access in dialHook (#3225)

* use limit when limitoffset is zero (#3275)

* remove redis 8 comments

* update package versions

* use latest golangci-lint

* fix(search&aggregate):fix error overwrite and typo  #3220 (#3224)

* fix (#3220)

* LOAD has NO AS param(https://redis.io/docs/latest/commands/ft.aggregate/)

* fix typo: WITHCOUT -> WITHCOUNT

* fix (#3220):

    * Compatible with known RediSearch issue in test

* fix (#3220)

    * fixed the calculation bug of the count of load params

* test should not include special condition

* return errors when they occur

---------

Co-authored-by: Nedyalko Dyakov <nedyalko.dyakov@gmail.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>

* Recognize byte slice for key argument in cluster client hash slot computation (#3049)

Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>

---------

Signed-off-by: zhuhaicity <zhuhai@52it.net>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Co-authored-by: LINKIWI <LINKIWI@users.noreply.github.com>
Co-authored-by: Cgol9 <chris.golling@verizon.net>
Co-authored-by: Christopher Golling <Chris.Golling@aexp.com>
Co-authored-by: Shawn Wang <62313353+shawnwgit@users.noreply.github.com>
Co-authored-by: ZhuHaiCheng <zhuhai@52it.net>
Co-authored-by: herodot <54836727+bitsark@users.noreply.github.com>
Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com>
2025-02-21 15:40:07 +02:00
Vladyslav Vildanov
ed37c33a90
Updated package version [9.7] (#3159) 2024-10-16 10:01:32 +03:00
Vladyslav Vildanov
ad131f49b0
Updated package version (#3134)
* Updated package version

* Changed version format according to specification

* Updated submodule versions
2024-09-26 13:14:30 +03:00
Vladyslav Vildanov
00d98485f8
Updated module version that points to retracted package version (#3074)
* Updated module version that points to retracted package version

* Updated testing image to latest
2024-07-31 11:15:15 +03:00
dependabot[bot]
fc4c8bd2f7
chore(deps): bump golang.org/x/net in /example/otel (#3000)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Monkey <golang@88.com>
2024-06-21 09:58:08 +08:00
Vladimir Mihailenco
f752b9a9d5
Release/v9.5.3 (#3018)
* chore: ignore package.json

* chore: release v9.5.3 (release.sh)
2024-06-07 17:04:08 +03:00
Endre Sara
f3fe61148b
add server address and port attributes to redis otel trace instrumentation (#2826)
Co-authored-by: esara <esara@causely.io>
2024-03-27 08:56:11 +02:00
dependabot[bot]
8b15101fa0
chore(deps): bump google.golang.org/protobuf in /example/otel (#2944)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-03-21 13:18:41 +02:00
ofekshenawa
d43a9fa887
Bump go-redis version to 9.5.1 (#2917) 2024-02-20 17:44:29 +02:00
ofekshenawa
b5a9e5d2c6
Bump go-redis version to 9.5.0 (#2905)
* Bump go-redis version to 9.4.1

* Bump go-redis version to 9.5.0
2024-02-18 19:16:42 +02:00
fengyun.rui
7b9e81fd41
fix: add bytes in scan struct example (#2836)
* fix: add bytes in scan struct example

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

* fix: add bytes in scan struct example

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

---------

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 22:22:32 +02:00
Vladimir Mihailenco
2512123b76
chore: update OpenTelemetry and Uptrace to the latest version (#2864)
* chore: update OpenTelemetry and Uptrace to the latest version

* chore: remove Go 1.19.x build since many popular Go packages only support 2 last major Go versions

* chore: bump uptrace version
2024-01-23 13:09:47 +02:00
ofekshenawa
531f06861b
9.4.0 (#2862) 2024-01-07 12:27:07 +02:00
ofekshenawa
73c879df57
9.3.1 (#2835) 2023-12-19 12:14:38 +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
ofekshenawa
21bd40a47e
Version 9.3.0 (#2774) 2023-10-31 15:40:45 +02:00
dependabot[bot]
828fd2d3b8
chore(deps): bump google.golang.org/grpc in /example/otel (#2775)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-31 10:49:29 +02:00
dependabot[bot]
898bd9aa51
chore(deps): bump golang.org/x/net in /example/otel (#2776) 2023-10-31 10:06:16 +02:00
ofekshenawa
f994ff1cd9
Bump version to 9.2.1 (#2735) 2023-09-27 11:25:09 +03:00
ofekshenawa
dac3314bc6
Bump version to 9.2.0 (#2722) 2023-09-20 16:38:58 +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
ofekshenawa
c3098d5f7e
Bump to 9.1.0 (#2676)
* Bump to 9.0.6

* Bump to 9.1.0
2023-08-16 18:30:40 +03:00
Vladimir Mihailenco
50f04c14de chore: update otel example 2023-06-18 10:25:42 +03:00
Vladimir Mihailenco
dc8c93ba66
chore: release v9.0.5 (release.sh) (#2614) 2023-05-29 09:05:49 +03:00
Vladimir Mihailenco
99f8464a5a
chore: update otel example to the latest versions (#2606) 2023-05-29 08:42:32 +03:00
Mikhail Mazurskiy
9a9423d3df
chore(deps): Update otel/metric to stable API (#2607) 2023-05-24 12:07:43 +03:00
Vladimir Mihailenco
fcb3506e79
chore: release v9.0.4 (release.sh) (#2572) 2023-05-02 08:40:46 +03:00
Vincent Boutour
e2fabdf157
chore(deps): Updating otel/metric and fixing breaking changes (#2569)
* chore(deps): Updating otel/metric and fixing breaking changes

Signed-off-by: Vincent Boutour <bob@vibioh.fr>

* ci: Removing go1.18 and updating example/otel to latest version

Latest otel version use atomic.Pointer which is a go1.19 feature, so we have to drop support for the go 1.18

Signed-off-by: Vincent Boutour <bob@vibioh.fr>

---------

Signed-off-by: Vincent Boutour <bob@vibioh.fr>
2023-05-01 11:33:30 +03:00
Monkey
ad89a97fdc
chore: update go mod, Upgrade golang.org/x/net version to 0.7.0 (#2476)
Signed-off-by: monkey92t <golang@88.com>
2023-03-06 19:42:42 +08:00
Lucas Caparelli
206ad44196
chore: bump Go to 1.18 (#2428) 2023-02-08 09:07:42 +02:00
Vladimir Mihailenco
a38f75b640
chore: release v9.0.2 (release.sh) (#2412)
* chore: release v9.0.2 (release.sh)

* chore: remove release in favor of release drafter
2023-02-01 10:13:41 +02:00
Ngọc Long
e29e42cde2
feat: upgrade OpenTelemetry, use the new metrics API. (#2410) 2023-02-01 16:04:33 +08:00
Vladimir Mihailenco
0798cccba5 Merge branch 'master' into release/v9.0.1 2023-01-30 10:05:16 +02:00
Vladimir Mihailenco
ce04442105 chore: update uptrace config 2023-01-30 10:02:16 +02:00
Vladimir Mihailenco
30e954104a chore: release v9.0.1 (release.sh) 2023-01-30 09:54:30 +02:00
Vladimir Mihailenco
98a8502d8e chore: downgrade OpenTelemetry 2023-01-30 09:47:57 +02:00
Vladimir Mihailenco
0023b80d82 chore: release v9.0.0 (release.sh) 2023-01-30 08:59:17 +02:00
Dimitrij Denissenko
7fa451c740 chore: fewer test dependencies 2023-01-27 15:01:50 +00:00
Vladimir Mihailenco
b8c0db8c73 chore: release v9.0.0-rc.4 (release.sh) 2023-01-24 16:15:51 +02:00
Vladimir Mihailenco
d9c1775b88 chore: release v9.0.0-rc.3 (release.sh) 2023-01-24 15:54:58 +02:00
Vladimir Mihailenco
97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
Vladimir Mihailenco
3dc5e40445 chore: cleanup key checker 2022-12-07 10:38:28 +02:00
Vladimir Mihailenco
3892986f01 feat(redisotel): add code attributes 2022-12-06 11:49:56 +02:00
Vladimir Mihailenco
0b7ced8baf chore: release v9.0.0-rc.2 (release.sh) 2022-11-26 14:20:33 +02:00
Vladimir Mihailenco
bbff4dd5dc chore: fix metrics in redisotel 2022-11-18 15:32:17 +02:00
Vladimir Mihailenco
44af3c09a7 chore: add more metrics to redisotel 2022-11-17 16:24:16 +02:00
Vladimir Mihailenco
f9e60f214b chore: update example 2022-11-09 15:51:59 +02:00
Vladimir Mihailenco
dd858eaf07 chore: update otel example 2022-11-09 15:16:13 +02:00