Commit Graph

2298 Commits

Author SHA1 Message Date
Vladimir Mihailenco 25db55cdc0
Merge pull request #2119 from szyhf/szyhf-patch-1
fix: #2114 for redis-server not support Hello
2022-06-12 10:48:59 +03:00
Back Yu b6d2a92529
fix: #2114 for redis-server not support Hello
Using `strings.HasPrefix` instead of `equal`
2022-06-10 21:19:02 +08:00
Vladimir Mihailenco 4ddd7d1803 chore: remove WithContext 2022-06-05 09:58:05 +03:00
Vladimir Mihailenco 0768a688c6 chore: update readme 2022-06-04 18:20:41 +03:00
Vladimir Mihailenco 53c26684c1
Merge pull request #2112 from go-redis/release/v9.0.0-beta.1
Release/v9.0.0 beta.1
2022-06-04 18:19:49 +03:00
Vladimir Mihailenco 58e087fe08 chore: release v9.0.0-beta.1 (release.sh) 2022-06-04 18:02:11 +03:00
Vladimir Mihailenco 98300d72b9 chore: cleanup 2022-06-04 18:00:44 +03:00
Vladimir Mihailenco 27f0addeb2
Merge pull request #2111 from go-redis/chore/v9
chore: v9
2022-06-04 17:58:40 +03:00
Vladimir Mihailenco a18fad5bd3 chore: v9 2022-06-04 17:42:06 +03:00
Vladimir Mihailenco a8e56a2961
Merge pull request #2110 from go-redis/feat/redis-7
feat: upgrade to Redis 7
2022-06-04 17:38:02 +03:00
Vladimir Mihailenco d09c27e604 feat: upgrade to Redis 7 2022-06-04 17:25:12 +03:00
Vladimir Mihailenco c98c5f0eeb fix: update ChannelWithSubscriptions to accept options 2022-06-04 16:20:10 +03:00
Vladimir Mihailenco f44b325a6d
Merge pull request #2109 from go-redis/fix/build
chore: fix build
2022-06-04 16:19:25 +03:00
Vladimir Mihailenco b0bb514059 fix: update COMMAND parser for Redis 7 2022-06-04 16:07:28 +03:00
Vladimir Mihailenco 3a722be811 fix: fix tests 2022-06-04 15:25:01 +03:00
Vladimir Mihailenco 91171f5e19 feat: add ClientUnpause 2022-06-04 15:09:18 +03:00
Vladimir Mihailenco a15a89ea58 chore: fix build 2022-06-04 14:52:46 +03:00
Vladimir Mihailenco 0aa94538ee Merge branch 'v9' 2022-06-04 14:28:10 +03:00
renzheng.wang 52af8ba852
update cluster slots reply checking logic for Redis 7 (#2108)
fix: update cluster slots reply checking logic for redis 7
2022-06-04 13:24:32 +03:00
Vladimir Mihailenco 1980be0f9f chore: fix golangci-lint 2022-06-04 10:50:58 +03:00
Vladimir Mihailenco 74fb9f0a8b
Merge pull request #2072 from go-redis/dependabot/github_actions/actions/setup-go-3
chore(deps): bump actions/setup-go from 2 to 3
2022-06-04 10:31:03 +03:00
janbar 56a3dbc7b6
feat: provide a username and password callback method, so that the plaintext username and password will not be stored in the memory, and the username and password will only be generated once when the CredentialsProvider is called. After the method is executed, the username and password strings on the stack will be released. (#2097)
Co-authored-by: janbar <janbar@163.com>
2022-06-04 10:26:04 +03:00
raynor fca64a6a70 fix(baseClient): fix retryTimeout in _process, default value should be 0 2022-06-04 00:41:55 +08: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
Bogus Jung 1fdcbf86bb fix: test code 2022-04-28 20:32:58 +09:00
Bogus Jung 07e15d2876 fix: tags for structToMap "json" -> "key" 2022-04-28 20:32:20 +09:00
Vladimir Mihailenco 60d62a8a40
Merge pull request #2073 from go-redis/dependabot/github_actions/golangci/golangci-lint-action-3
chore(deps): bump golangci/golangci-lint-action from 2 to 3
2022-04-21 08:46:59 +03:00
neilnaveen 8ed3773467 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-20 15:48:57 +00: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 fc61bffa49 chore: fix links 2022-04-13 15:53:17 +03:00
dependabot[bot] e685ead9ef
chore(deps): bump golangci/golangci-lint-action from 2 to 3
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 01:27:44 +00:00
dependabot[bot] e83e61f0bf
chore(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 01:27:39 +00:00
Vladimir Mihailenco 99c79f7041 chore: update readme 2022-04-05 10:06:50 +03:00
Vladimir Mihailenco 68098a7e59 Merge branch 'master' of github.com:go-redis/redis 2022-04-05 09:34:44 +03:00
Vladimir Mihailenco b5d6b29c95 chore: update links 2022-04-05 09:34:33 +03:00
Dominic Baggott b7fd09e594
feat: add NewXPendingResult for unit testing XPending (#2066) 2022-04-05 09:13:39 +03:00
Vladimir Mihailenco 2baad407e2 Merge branch 'master' of github.com:go-redis/redis 2022-04-03 09:27:30 +03:00
Vladimir Mihailenco 85f34e0224 chore: update readme 2022-04-03 09:27:24 +03:00
dependabot[bot] 370773ba26
chore(deps): bump github.com/onsi/gomega from 1.18.1 to 1.19.0 (#2063)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.18.1 to 1.19.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.18.1...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/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>
2022-03-28 11:15:32 +08:00
Sown 7d5167e862
feat: add WriteArg and Scan net.IP(#2062)
* feat: add WriteArg net.IP

* feat: add Scan net.IP
2022-03-28 09:16:12 +08:00
slowrookie 3961b9577f
fix: use redis over ssh channel(#2057) (#2060) 2022-03-26 18:11:44 +08:00
Vladimir Mihailenco 3f9f6166a4
Merge pull request #2056 from Aoang/add-go-1-18-support
Update Go version to v1.18
2022-03-22 09:04:19 +02:00
Aoang 229f8d5a5d
chore: update CI Test Go version to v1.18 2022-03-22 13:38:16 +08:00
naiqianz a8a7665ddf
feat(pool): add check for badConnection
* fix: badConn check(#2053)

* fix: internalpool test

* fix: sentinel test

* fix: conncheck ut

* fix: remove maxBadConnRetries

* fix: add connCheck.deadline check

Signed-off-by: monkey92t <golang@88.com>
2022-03-21 01:06:47 +08:00
monkey92t f5fbb367e7 fix: remove test(XInfoConsumer.idle), not a stable return value when tested.
Signed-off-by: monkey92t <golang@88.com>
2022-03-19 22:04:22 +08:00
monkey92t 6f1a1ac284 fix: add XInfoConsumers test
Signed-off-by: monkey92t <golang@88.com>
2022-03-19 20:54:27 +08:00
Vladimir Mihailenco 8b3668e554 chore: add chat link 2022-03-19 14:32:12 +02:00
Monkey 997ab5e7e3
fix(#1943): xInfoConsumer.Idle should be time.Duration instead of int64 (#2052)
Signed-off-by: monkey92t <golang@88.com>
2022-03-19 18:22:12 +08:00