John Du Hart
516abe867d
add CredentialsProvider to ClusterOptions ( #2791 )
2024-02-14 23:03:18 +02:00
Tiago Peczenyj
21ed15bbed
Add helpers to set libinfo without panic ( #2724 )
...
* add helpers to set library name and library info without risk of panic if we try to set both
* refactor code to use helpers
* add example
* refactor tests
* fix testable example
* simplify example
* rename exampl
* fix ring.go
* update example
---------
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 22:40:20 +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
fengyun.rui
9133749cd3
test: add ut for util_test ( #2840 )
...
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 22:16:50 +02:00
limotley
51897bc5bf
Remove unnecessary Node project definition file ( #2863 )
...
Co-authored-by: Personalizer Team <personalizer@microsoft.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 22:16:27 +02:00
dependabot[bot]
afffb47b0b
chore(deps): bump release-drafter/release-drafter from 5 to 6 ( #2883 )
...
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter ) from 5 to 6.
- [Release notes](https://github.com/release-drafter/release-drafter/releases )
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 22:15:44 +02:00
Nanthen Hale
8d2a022fd5
Add support for specifying bitcount unit as byte or bit, byte default ( #2887 )
...
* Add support for specifying bitcount unit as byte or bit, byte default
* Add bitcount test
* Test bitcount without unit specified
---------
Co-authored-by: wanghongwei5 <wanghongwei5@360.cn>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 22:15:30 +02:00
Oleg Stotsky
36bab9c8dc
fix ConnPool race in newConn ( #2885 )
...
Co-authored-by: Oleg Stotskiy <ostotsky@ordercapital.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 22:14:50 +02:00
dependabot[bot]
a1577376e1
chore(deps): bump rojopolis/spellcheck-github-actions ( #2889 )
...
Bumps [rojopolis/spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/rojopolis/spellcheck-github-actions/releases )
- [Changelog](https://github.com/rojopolis/spellcheck-github-actions/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rojopolis/spellcheck-github-actions/compare/0.35.0...0.36.0 )
---
updated-dependencies:
- dependency-name: rojopolis/spellcheck-github-actions
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: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 21:04:25 +02:00
dependabot[bot]
ffe9125a24
chore(deps): bump golangci/golangci-lint-action from 3 to 4 ( #2890 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 21:03:49 +02:00
ofekshenawa
83dd4d7200
Change RE image to edge-focal ( #2884 )
...
* Change RE image to edge-focal
* Fix typo
* change tag to 7.2.4-108
2024-02-14 21:02:52 +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
27581fcb43
Change Z Member type to interface ( #2861 )
2024-01-07 11:57:20 +02:00
ofekshenawa
a32be3d93d
Add Suffix support to default client set info ( #2852 )
...
* Add Suffix support to defualt client set info
* Change ClientNameSuffix to IdentitySuffix
* add tests
2024-01-04 14:40:14 +02:00
dragon-fly
d8e3e95866
return raw value instead of funcation calling in Result() ( #2831 )
...
Signed-off-by: lowang-bh <lhui_wang@163.com>
2024-01-03 10:43:42 +02:00
ofekshenawa
00229238c0
Change Env vars in RE CI ( #2856 )
...
* Change Env vars in RE CI
* Change Env vars in RE CI
* Change RE_USE_RE_USE_OSS_CLUSTER to RE_USE_OSS_CLUSTER
2024-01-03 09:38:03 +02:00
ofekshenawa
2e12191023
Change RE build in CI ( #2855 )
2024-01-02 00:29:17 +02:00
ofekshenawa
b762309243
Add RE tests ( #2847 )
...
* Add RE tests
* Enable testing on RE
* change db id to 0 - only when RE cluster is set
* label tests
* adding secrets
2024-01-01 22:19:22 +02:00
ofekshenawa
73c879df57
9.3.1 ( #2835 )
2023-12-19 12:14:38 +02:00
ofekshenawa
5665b0f7ea
Clarify TSMadd ktvSlices usage in docstring ( #2827 )
...
* Clarify TSMadd ktvSlices usage in docstring
* change syntax
2023-12-17 17:45:00 +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
Ilia Kuznetcov
c828764336
Allow scanning redis values into pointer fields ( #2787 )
...
* Allow scanning redis values into pointer fields
* Formatting
---------
Co-authored-by: Ilia Personal <iliapersonal@Ilyas-MBP.station>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-12-17 17:42:45 +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
ofekshenawa
86c68be278
Execute "COMMAND" command only when readonly ( #2815 )
...
* remove command command from oss cluster
* remove command command from oss cluster
* remove cmdInfo from ring
---------
Co-authored-by: Chayim <chayim@users.noreply.github.com>
2023-12-17 15:21:01 +02:00
fengyun.rui
8c695488a2
fix: add Cmder annotation ( #2816 )
...
* fix: add Cmder annotation
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
* fix: add Cmder annotation
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
---------
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-12-17 15:20:23 +02:00
ofekshenawa
e535124055
Change Z member to string ( #2818 )
2023-12-17 15:20:01 +02:00
ofekshenawa
1d784578df
Add BITFIELD_RO Command ( #2820 )
...
Co-authored-by: Chayim <chayim@users.noreply.github.com>
2023-12-17 15:19:27 +02:00
ofekshenawa
277e8b7d9f
Support Monitor Command ( #2830 )
...
* Add monitor command
* Add monitor commadn and tests
* insure goroutine shutdown
* fix data race
* linting
* change timeout explanation
---------
Co-authored-by: Chayim <chayim@users.noreply.github.com>
2023-12-17 12:35:10 +02:00
Lev Zakharov
631deaf25f
test: fix WriteArg test ( #2808 )
2023-12-17 12:13:01 +02:00
dependabot[bot]
6ddf27879e
chore(deps): bump rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 ( #2807 )
...
Bumps [rojopolis/spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions ) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/rojopolis/spellcheck-github-actions/releases )
- [Changelog](https://github.com/rojopolis/spellcheck-github-actions/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rojopolis/spellcheck-github-actions/compare/0.34.0...0.35.0 )
---
updated-dependencies:
- dependency-name: rojopolis/spellcheck-github-actions
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: Chayim <chayim@users.noreply.github.com>
2023-12-13 15:56:17 +02:00
dependabot[bot]
9372018b51
chore(deps): bump actions/stale from 8 to 9 ( #2828 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 15:54:20 +02:00
dependabot[bot]
2fc48987d1
chore(deps): bump actions/setup-go from 4 to 5 ( #2829 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 15:54:06 +02:00
RyoMiyashita
a109302230
fix : #2730 data race at hooksMixin ( #2814 )
2023-12-10 12:04:13 +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
Tong Zhaoqi
15682e3227
feat: support write the types of pointer of simple data types ( #2745 ) ( #2753 )
...
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-31 07:17:22 +02:00
Sergey Galkin
81947daa8d
Handle wrapped errors in scripter.Run ( #2674 )
...
* Handle wrapped errors in script
* test
* remove accidentially committed changes
---------
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 18:08:18 +02:00
Nic Gibson
84f46c3301
BUG: BFReserveArgs - error_rate & capacity ( #2763 )
...
the error_rate and capacity parameters should not be
optional - corrected
2023-10-30 18:08:06 +02:00
Nic Gibson
343016bf72
add InfoMap command ( #2665 )
...
Add an extended version of Info() to parse the results from a call to redis.Info so that it’s simpler to operate on any given item in the result.
Signed-off-by: Nic Gibson <nic.gibson@redis.com>
2023-10-30 18:07:42 +02:00
cyningsun
4408f8cfb2
free turn when leave with error ( #2658 )
...
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 17:42:26 +02:00
ofekshenawa
7ebb537c80
remove duplicate declaration ( #2773 )
2023-10-30 17:01:41 +02:00
Tiago Peczenyj
a5fe17472a
Option types must propagage missing fields ( #2726 )
...
* must propagage missing fields
Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>
* remove credentials provider from ring
---------
Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:36:44 +02:00
chenjie199234
fd13da4fea
fix missing fields in different Options ( #2757 )
...
* fix missing fields in different Options
* fix missing fields in different Options
---------
Co-authored-by: chenjie199234 <chenjie199234@gmail.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:35:51 +02:00
Sergey Kozlov
e053f7eaf3
update PubSub.Channel documentation ( #2761 )
...
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:35:02 +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
Chayim
d466bd1dee
Creating CODEOWNERS for the examples ( #2749 )
...
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:33:18 +02:00
dependabot[bot]
ea3f5a0b33
chore(deps): bump rojopolis/spellcheck-github-actions ( #2740 )
...
Bumps [rojopolis/spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions ) from 0.33.1 to 0.34.0.
- [Release notes](https://github.com/rojopolis/spellcheck-github-actions/releases )
- [Changelog](https://github.com/rojopolis/spellcheck-github-actions/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rojopolis/spellcheck-github-actions/compare/0.33.1...0.34.0 )
---
updated-dependencies:
- dependency-name: rojopolis/spellcheck-github-actions
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: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:32:44 +02:00
Seth Rylan Gainey
d6a3f02666
Add BitMapCmdable to Cmdable. ( #2737 )
...
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-10-30 14:32:13 +02:00