Commit Graph

2426 Commits

Author SHA1 Message Date
Jens Fosgerau 9664fd2359
feat(zadd): add ZAddLT and ZAddGT (#2429)
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
2023-03-04 09:03:14 +02:00
Monkey 73d939e7bf
test: remove testify (#2463)
* test: remove testify

Signed-off-by: monkey92t <golang@88.com>
2023-02-28 14:56:41 +08:00
Monkey e309eaf915
docs: add reading lag field comment (#2451)
Signed-off-by: monkey92t <golang@88.com>
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
2023-02-24 20:21:12 +08:00
Chandra Eepuri 6ec458549e
Pointer -> Ptr (#2458) 2023-02-24 13:47:58 +08:00
YuGan 6045d2e456
Add support for BZMPOP (#2456)
* Add support for BZMPOP

* Add BZMPOP command comment
2023-02-23 19:25:41 +08:00
Anurag Bandyopadhyay 621c02c583
Adding support for ZMPOP command (#2408)
* feat: add ZMPOP command

* fix: reply reading string

* fix: evaluating a test tweak

* fix: test fix

* fix: reverting to debug

* fix: test fix

* fix: remove old implementation

* feat: adding ZMPOP and tests

* feat: modifying ZMpopCmd

* fix: fix test

* fix: test removal check

* fix: fix testS

* Adding more tests

* fix: using redis.Nil instead of string

* fix: renaming command to ZArrayWithKeyCmd to match the standard

* feat: updated ZArrayWithKeyCmd to ZSliceWithKeyCmd

* feat: adding help strings

---------

Co-authored-by: Anuragkillswitch <70265851+Anuragkillswitch@users.noreply.github.com>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
2023-02-23 01:38:51 +08:00
Chayim f95bdb8a8b
redis 7.0.8 in tests (#2450)
Co-authored-by: Monkey <golang@88.com>
2023-02-19 19:42:18 +08:00
Timofey 3b5361dc10
fix: lag can be null (#2448)
see 383d902ce6/src/t_stream.c (L1456)
2023-02-17 21:05:44 +08:00
ZhiQiang Li bd0d1c2293
Add support for BLMPOP (#2442)
* Add support for BLMPOP
2023-02-14 23:50:51 +08:00
Monkey d2c53bd2a5
refactor: change ListElementCmd to KeyValuesCmd. (#2443)
* refactor: change ListElementCmd to KeyValuesCmd

Signed-off-by: monkey92t <golang@88.com>

* KeyValuesCmd.val are modified to pointers

Signed-off-by: monkey92t <golang@88.com>

* recover KeyValuesCmd API

Signed-off-by: monkey92t <golang@88.com>

---------

Signed-off-by: monkey92t <golang@88.com>
2023-02-14 21:52:56 +08:00
Monkey 3532f2a414
fix: limit the number of connections created (#2441)
* fix: limit the number of connections created

Signed-off-by: monkey92t <golang@88.com>
2023-02-14 18:01:53 +08:00
Anurag Bandyopadhyay 0d306237c7
Add support for LMPOP (#2440)
* feat: add lmpop command
2023-02-13 23:02:14 +08:00
Monkey 08b4cc5f4b
feat: remove pool unused fields (#2438)
Signed-off-by: monkey92t <golang@88.com>
2023-02-12 18:50:25 +08:00
Vladimir Mihailenco 2bed94510b
chore: add Chinese translation (#2436) 2023-02-11 17:32:44 +08:00
dependabot[bot] 345ad7598a
chore(deps): bump github.com/bsm/gomega from 1.20.0 to 1.26.0 (#2421)
Bumps [github.com/bsm/gomega](https://github.com/bsm/gomega) from 1.20.0 to 1.26.0.
- [Release notes](https://github.com/bsm/gomega/releases)
- [Commits](https://github.com/bsm/gomega/compare/v1.20.0...v1.26.0)

---
updated-dependencies:
- dependency-name: github.com/bsm/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 20:50:55 +08:00
dependabot[bot] 247ef35a02
chore(deps): bump github.com/bsm/ginkgo/v2 from 2.5.0 to 2.7.0 (#2420)
Bumps [github.com/bsm/ginkgo/v2](https://github.com/bsm/ginkgo) from 2.5.0 to 2.7.0.
- [Release notes](https://github.com/bsm/ginkgo/releases)
- [Commits](https://github.com/bsm/ginkgo/compare/v2.5.0...v2.7.0)

---
updated-dependencies:
- dependency-name: github.com/bsm/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
2023-02-08 20:31:43 +08:00
Monkey 1cb89d7f3b
test: update go mod before testing(go mod tidy) (#2423) 2023-02-08 19:52:04 +08:00
Lucas Caparelli 206ad44196
chore: bump Go to 1.18 (#2428) 2023-02-08 09:07:42 +02:00
Monkey 8db6eeed27
feat(scan): scan time.Time sets the default decoding (#2413)
* feat(scan): scan time.Time uses `UnmarshalText(RFC3339)` interface decoding by default
2023-02-07 20:23:39 +08:00
Elena Kolevska 9d5e48507e
Expiretime and PExpireTime (#2426)
* Implemented EXPIRETIME and PEXPIRETIME
2023-02-07 18:41:27 +08:00
Kason Braley 74389af269
docs: Update redisotel example for v9 (#2425)
* docs: Update redisotel docs for v9

Update the redisotel example for v9 to match the example at
https://redis.uptrace.dev/guide/go-redis-monitoring.html#what-is-opentelemetry.

* docs: Point to correct otel example
2023-02-07 08:40:00 +02:00
Vladimir Mihailenco fc26460b78 chore: move pipelines change to breaking section 2023-02-05 09:24:53 +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
Monkey 154ca02e2f
test: remove deep search (#2411) 2023-02-01 15:46:59 +08:00
Chayim 35c8e06610
Adding the release drafter, for release note generation (#2368) 2023-01-31 12:45:05 +02:00
Vladimir Mihailenco 50fab03f0f chore: update 2023-01-30 10:27:03 +02:00
Vladimir Mihailenco 7ee1282665
Merge pull request #2377 from redis/release/v9.0.1
Release/v9.0.1
2023-01-30 10:25:03 +02:00
Vladimir Mihailenco 515043aaab chore: fix test 2023-01-30 10:19:36 +02: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 ddb0bc08be chore: run tests in all packages 2023-01-30 09:52:13 +02:00
Vladimir Mihailenco 98a8502d8e chore: downgrade OpenTelemetry 2023-01-30 09:47:57 +02:00
Vladimir Mihailenco b4d46d2316 chore: update changelog 2023-01-30 09:16:34 +02:00
Vladimir Mihailenco dcb9e99533
Merge pull request #2376 from redis/release/v9.0.0
chore: release v9.0.0 (release.sh)
2023-01-30 09:13:47 +02:00
Vladimir Mihailenco 0023b80d82 chore: release v9.0.0 (release.sh) 2023-01-30 08:59:17 +02:00
Vladimir Mihailenco 0bc68f531d
Merge pull request #2371 from redis/feature/fewer-deps
Reduce (chain) of test dependencies
2023-01-30 08:57:03 +02:00
Vladimir Mihailenco 2b9bd23c4b
Merge pull request #2375 from monkey92t/defer-releaseConn
fix(conn): releaseConn should be executed correctly
2023-01-30 08:51:46 +02:00
monkey92t 21e1954745 fix(conn): releaseConn should be executed correctly
Signed-off-by: monkey92t <golang@88.com>
2023-01-28 15:44:06 +08:00
Dimitrij Denissenko 7fa451c740 chore: fewer test dependencies 2023-01-27 15:01:50 +00:00
Daniel Cormier 805bfc2c60
fix: implement `redis.Hook` (v9) for `rediscensus.TracingHook` (#2367)
Fixes #2266
2023-01-26 08:23:14 +02:00
Vladimir Mihailenco 699887efc8
Merge pull request #2365 from redis/release/v9.0.0-rc.4
Release/v9.0.0 rc.4
2023-01-24 16:23:03 +02:00
Vladimir Mihailenco b8c0db8c73 chore: release v9.0.0-rc.4 (release.sh) 2023-01-24 16:15:51 +02:00
Vladimir Mihailenco 00f12ab29f chore: fix release script 2023-01-24 16:14:31 +02:00
Vladimir Mihailenco c7e6f04ee7
Merge pull request #2364 from redis/release/v9.0.0-rc.3
chore: release v9.0.0-rc.3 (release.sh)
2023-01-24 16:10:49 +02:00
Vladimir Mihailenco d9c1775b88 chore: release v9.0.0-rc.3 (release.sh) 2023-01-24 15:54:58 +02:00
Vladimir Mihailenco bdfb4a75ad chore: fix import path 2023-01-24 15:50:10 +02:00
Vladimir Mihailenco 8db53fadf6
Merge pull request #2362 from redis/chore/update-import-path
chore: update import path
2023-01-24 15:48:35 +02:00
Chayim I. Kirshen d4582b0bd4 restoring redismock path 2023-01-24 14:19:26 +02:00