Vladimir Mihailenco
997118894a
Merge pull request #1884 from dmke/feat/parseurl
...
Allow query parameters for ParseURL
2021-09-15 09:08:59 +03:00
Vladimir Mihailenco
7ecd5cee5b
chore: fix discussions link
2021-09-15 08:58:50 +03:00
Vladimir Mihailenco
0af87003d0
chore: add links to readme
2021-09-15 08:58:09 +03:00
Dominik Menke
dfedc31d20
Add query parameter parsing to ParseURL()
...
Before this change, ParseURL would only accept a very restricted
set of URLs (it returned an error, if it encountered any parameter).
This commit introduces the ability to process URLs like
redis://localhost/1?dial_timeout=10s
and similar.
Go programs which were providing a configuration tunable (e.g.
CLI flag, config entry or environment variable) to configure
the Redis connection now don't need to perform this task
themselves.
2021-09-14 18:41:31 +02:00
Dominik Menke
3ac3452fe5
Refactor TestParseURL
...
This is in preparation for supporting query parameters
in ParseURL:
- use an expected *Options instance to execute assertions on
- extract assertions into helper function
- enable parallel testing
- condense test table
2021-09-10 20:55:16 +02:00
Vladimir Mihailenco
0982b38527
Merge pull request #1882 from go-redis/chore/otel-example
...
chore: cleanup OpenTelemetry example
2021-09-10 08:45:29 +03:00
Vladimir Mihailenco
9b6ee9c3cc
chore: gofmt all code
2021-09-08 16:52:29 +03:00
Vladimir Mihailenco
11c4d6f556
chore: cleanup OpenTelemetry example
2021-09-08 15:54:10 +03:00
Vladimir Mihailenco
b94bde306e
Fix/pubsub ping mutex ( #1878 )
...
* Fix PubSub.Ping to hold the lock
* Fix PubSub.Ping to hold the lock
* add write cmd data-race test
Signed-off-by: monkey92t <golang@88.com>
Co-authored-by: monkey92t <golang@88.com>
2021-09-03 17:57:34 +08:00
Vladimir Mihailenco
917c476e75
Fix releasing.md
2021-09-03 12:20:59 +03:00
Vladimir Mihailenco
c16c45cd34
Merge branch 'master' of github.com:go-redis/redis
2021-09-01 15:30:42 +03:00
Vladimir Mihailenco
0c6ce84bad
Fix tag script to push tag by tag
2021-09-01 15:30:36 +03:00
dependabot[bot]
7fc0d6bc14
Bump github.com/cespare/xxhash/v2 from 2.1.1 to 2.1.2 ( #1872 )
...
Bumps [github.com/cespare/xxhash/v2](https://github.com/cespare/xxhash ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/cespare/xxhash/releases )
- [Commits](https://github.com/cespare/xxhash/compare/v2.1.1...v2.1.2 )
---
updated-dependencies:
- dependency-name: github.com/cespare/xxhash/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 11:49:38 +08:00
Vladimir Mihailenco
5e6479ec64
Replace release job
2021-08-30 17:18:31 +03:00
Vladimir Mihailenco
ed42d3c37b
Add scan struct example ( #1870 )
2021-08-30 00:37:17 +08:00
Vladimir Mihailenco
989295a24b
Merge pull request #1867 from kishaningithub/patch-1
...
Add go 1.17 to the build matrix
2021-08-24 14:15:24 +03:00
Kishan B
3d2164ecb5
Remove go 1.15 from build matrix
2021-08-24 14:24:45 +05:30
Kishan B
83f70de29a
Add go 1.17 to the build matrix
2021-08-24 09:51:28 +05:30
dependabot[bot]
db669da175
Bump github.com/onsi/gomega from 1.15.0 to 1.16.0 ( #1865 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.15.0 to 1.16.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.15.0...v1.16.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>
2021-08-23 14:59:40 +08:00
monkey92t
afafeda8a3
after the connection pool is closed, no new connections should be added ( #1863 )
...
* after the connection pool is closed, no new connections should be added
Signed-off-by: monkey92t <golang@88.com>
* remove runGoroutine
Signed-off-by: monkey92t <golang@88.com>
* pool.popIdle add p.closed check
Signed-off-by: monkey92t <golang@88.com>
* upgrade golangci-lint v1.42.0
Signed-off-by: monkey92t <golang@88.com>
2021-08-19 16:56:23 +08:00
Vladimir Mihailenco
bc9d5c8d3a
Add Cmd.Slice helper to cast to []interface{} ( #1859 )
2021-08-13 15:37:54 +08:00
Vladimir Mihailenco
4029656ad5
Tweak tag.sh
2021-08-12 15:43:44 +03:00
Vladimir Mihailenco
4ed306de42
Create an annotated tag to give release.yml chance to run
2021-08-12 15:00:12 +03:00
Vladimir Mihailenco
74f9a7338f
Merge pull request #1853 from go-redis/release/v8.11.3
...
Release v8.11.3 (release.sh)
2021-08-12 14:54:07 +03:00
Vladimir Mihailenco
702e7cfe68
Release v8.11.3 (release.sh)
2021-08-12 14:35:44 +03:00
Vladimir Mihailenco
493a4d05c6
Fix release.sh
2021-08-12 14:35:35 +03:00
Vladimir Mihailenco
f02921d3da
And more
2021-08-12 14:31:54 +03:00
Vladimir Mihailenco
9cd9efd218
More fixes for otel example
2021-08-12 14:30:05 +03:00
Vladimir Mihailenco
084dcdea94
Fix package name in release script
2021-08-12 14:26:13 +03:00
Vladimir Mihailenco
98ed2cbcad
Fix otel example
2021-08-12 14:24:39 +03:00
Vladimir Mihailenco
818c0e0b2e
Add version.go
2021-08-12 14:15:57 +03:00
dependabot[bot]
047f907625
Bump github.com/onsi/gomega from 1.10.5 to 1.14.0 ( #1832 )
...
* Bump github.com/onsi/gomega from 1.10.5 to 1.14.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.10.5 to 1.14.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.10.5...v1.14.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>
* Upgrade gomega to v1.15.0
Signed-off-by: monkey92t <golang@88.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: monkey92t <golang@88.com>
2021-08-12 15:04:39 +08:00
Vladimir Mihailenco
5e89d627dd
Automate release process ( #1852 )
2021-08-11 22:14:46 +08:00
monkey92t
fd3025bfed
Revert "ConnPool check fd for bad conns ( #1824 )" ( #1849 )
...
This reverts commit 346bfafddd
.
2021-08-06 17:16:22 +08:00
Vladimir Mihailenco
67ae445d24
Merge pull request #1845 from iph0/master
...
Added missing method XInfoStreamFull to Cmdable interface
2021-08-06 10:46:22 +03:00
Vladimir Mihailenco
ad880a9644
Merge pull request #1847 from bogdandrutu/otelredis
...
Run go mod tidy in redisotel
2021-08-06 10:32:11 +03:00
Bogdan Drutu
67082aad38
Run go mod tidy in redisotel
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-08-05 10:41:37 -07:00
Eugene Ponizovsky
2ca559d5e5
Added missing method XInfoStreamFull to Cmdable interface
2021-08-05 17:48:09 +03:00
Vladimir Mihailenco
4261a2cb2a
Update changelog for v9 ( #1843 )
2021-08-02 19:03:38 +08:00
monkey92t
38d1749d56
adjust the code ( #1842 )
...
* Upgrade redis-server version (#1833 )
* Upgrade redis-server version
Signed-off-by: monkey <golang@88.com>
* XAutoClaim changed the return value
Signed-off-by: monkey <golang@88.com>
* add cmd: geosearch, geosearchstore (#1836 )
* add cmd: geosearch, geosearchstore
Signed-off-by: monkey92t <golang@88.com>
* GeoSearchQuery and GeoSearchLocationQuery changed to pointer passing
Signed-off-by: monkey92t <golang@88.com>
* adjust the code, and fix #1553 , #1676
Signed-off-by: monkey92t <golang@88.com>
2021-08-02 19:01:01 +08:00
monkey92t
7dad93efa2
add cmd: geosearch, geosearchstore ( #1836 )
...
* add cmd: geosearch, geosearchstore
Signed-off-by: monkey92t <golang@88.com>
* GeoSearchQuery and GeoSearchLocationQuery changed to pointer passing
Signed-off-by: monkey92t <golang@88.com>
2021-07-28 14:38:14 +08:00
monkey92t
437184bded
Upgrade redis-server version ( #1833 )
...
* Upgrade redis-server version
Signed-off-by: monkey <golang@88.com>
* XAutoClaim changed the return value
Signed-off-by: monkey <golang@88.com>
2021-07-24 23:46:41 +08:00
monkey
b8245b56f9
Remove redundant code.
...
Signed-off-by: monkey <golang@88.com>
2021-07-24 22:24:17 +08:00
monkey
83454856c7
Merge branch 'master' into v9
...
Signed-off-by: monkey <golang@88.com>
2021-07-24 22:10:04 +08:00
MengZeLee
704212eaae
fix typo ( #1829 )
2021-07-22 10:27:46 +08:00
Matthieu MOREL
54ef62f9b7
Create dependabot.yml ( #1826 )
2021-07-22 10:26:33 +08:00
do it
346bfafddd
ConnPool check fd for bad conns ( #1824 )
...
* conncheck for badconn (#1821 )
* format imports
* fix ut: pool with badconn
* fix unstable ut: should facilitate failover
* Revert "fix unstable ut: should facilitate failover"
This reverts commit c7eeca2a5c
.
* fix test error
Signed-off-by: monkey92t <golang@88.com>
Co-authored-by: hidu <duv123+github@gmail.com>
Co-authored-by: monkey92t <golang@88.com>
2021-07-20 17:23:48 +08:00
Anatoly Rugalev
62fc2c821b
Check Failing() before serving random node ( #1825 )
...
* Check Failing() before serving random node
* Revert condition
* Addressed review comments
* Fallback to random failing node
2021-07-18 00:20:48 +08:00
ktaekwon000
ce40cd942a
Allow FIFO pool in redis client ( #1820 )
...
* Initial commit for FIFO pool
* Change PoolType string to PoolFIFO bool
* Remove redundant type
* add PoolFIFO option to all clients
Signed-off-by: monkey92t <golang@88.com>
Co-authored-by: Kim Tae Kwon <taekwon.kim@shopee.com>
Co-authored-by: monkey92t <golang@88.com>
2021-07-16 11:58:01 +08:00
Vladimir Mihailenco
247c62ad92
Add contributors
2021-07-14 14:41:02 +03:00