Chayim
a5fad36ae7
Merge branch 'master' into search-support
2023-12-17 15:37:49 +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
470dec2f40
make enum for field types
2023-11-20 17:18:32 +02:00
ofekshenawa
a91a2b339f
fix commects
2023-11-20 16:54:04 +02:00
ofekshenawa
aae444eb44
fixing FTConfig dialect test
2023-11-17 01:52:22 +02:00
ofekshenawa
2547d1a0ce
fixing tests
2023-11-17 01:42:49 +02:00
ofekshenawa
555b8f3e47
fixing tests
2023-11-17 01:38:05 +02:00
ofekshenawa
5ae0c0679a
fixing tests
2023-11-17 01:12:51 +02:00
ofekshenawa
66295d8299
Remove unnecessary additions
2023-11-17 00:11:48 +02:00
ofekshenawa
aa69e5ebec
Adding more tests and fixing commands
2023-11-17 00:06:45 +02:00
ofekshenawa
8642634488
Add RediSearch commands and tests
2023-11-14 23:40:23 +02:00
ofekshenawa
b0616719b1
Merge branch 'master' of https://github.com/redis/go-redis into search-support
2023-11-05 09:04:22 +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
ofekshenawa
0d7a013e5d
Json support ( #2769 )
...
* Add support for RedisJSON
* Add optional args and tests
* Add more tests
* Add more tests
* Add more tests and cleanups
* Add docstring
* update JSONArrIndex and matching texts
Rename JSONArrIndexWithArgs to JSONArrIndexArgs
change name of args struct to match function name for consistency
change arg types to int (for required arg) and *int (for optional)
* update JSONArrTrim and matching texts
Rename JSONArrTrimWithArgs to JSONArrTrimArgs
change name of args struct to match function name for consistency
change arg types to int (for required arg) and *int (for optional)
* update JSONGetWithArgs and matching texts
Rename JSONGetWithArgs to JSONGetArgs
Removed Paths & Path from args - redundant and ambiguous
Renamed mispelled "Indention"
Changed args param from pointer to value
Updated and added additional tests for formatting params
* Update JSONSetMode
changed mode parameter back to string, added value checking for that
string
* Updated JSONMSet
Changed name of param struct to ...Args for consistency
Updated arg list to use an array of structs not pointers as
all args are mandatory (we never want to pass a nil parameter)
* Updated tests for JSONMSet
* Added stubbed (panicking) implementations of JSON.RESP AND JSON.DEBUG
* Pre-pull request tidy up
Renamed xArgs() to xWithArgs to match other Redis modules
Modified params to xWithArgs functions to use a pointer for the
arguments struct to match other Redis modules.
Modified JSONMSet to JSONMSetArgs and added a version that takes
a vararray of args to match the semantics of the native redis call
Updated tests to match above changes.
Renamed some variables in the json tests for consistency
* Testing fixes
Fixed error in JSONSetWithArgs found during tests
Fixed tests for indentation
* fix JSONCmdable typo (#5 )
* Remove deprecated command: JSONNumMultBy (#6 )
* Lowercase newJSONCmd (#7 )
---------
Co-authored-by: Nic Gibson <nic.gibson@redis.com>
Co-authored-by: Nic Gibson <newt+github@noslogan.org>
2023-10-30 14:09:25 +02:00
ofekshenawa
5cf337aed9
searach
2023-10-29 09:01:23 +02:00
Vladimir Mihailenco
af4872cbd0
chore: use abs link
2023-10-20 08:41:48 +03:00
Vladimir Mihailenco
86bae21dce
chore: fix link
2023-10-20 08:39:54 +03:00
Jason Parraga
45d28c136f
Fix OpenTelemetry link in README ( #2755 )
2023-10-14 12:37:19 +03:00
ofekshenawa
f994ff1cd9
Bump version to 9.2.1 ( #2735 )
2023-09-27 11:25:09 +03:00
dependabot[bot]
0b5e1866b1
chore(deps): bump actions/stale from 3 to 8 ( #2732 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 3 to 8.
- [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/v3...v8 )
---
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>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-09-27 11:24:47 +03:00
Gabriel
c6fe509f4a
Add stream interface back to `Cmdable` ( #2725 )
...
Without it we can't call stream functions from `Cmdable` and alikes.
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-09-27 10:50:47 +03:00
Eng Zer Jun
275af73971
refactor(gears): remove redundant nil check ( #2728 )
...
From the Go specification:
"1. For a nil slice, the number of iterations is 0." [1]
Therefore, an additional nil check for before the loop is unnecessary.
[1]: https://go.dev/ref/spec#For_range
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-27 10:50:05 +03:00
ofekshenawa
dac3314bc6
Bump version to 9.2.0 ( #2722 )
2023-09-20 16:38:58 +03:00
Chayim
6199a2af2c
Making command structs digestable ( #2716 )
...
* intial move
* adding stringcmdable
* moving module commands to align with other changes
---------
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Co-authored-by: ofekshenawa <ofek.shenawa@redis.com>
2023-09-20 16:08:24 +03:00
dependabot[bot]
e07f7e62b8
chore(deps): bump github.com/bsm/ginkgo/v2 from 2.9.5 to 2.12.0 ( #2690 )
...
Bumps [github.com/bsm/ginkgo/v2](https://github.com/bsm/ginkgo ) from 2.9.5 to 2.12.0.
- [Commits](https://github.com/bsm/ginkgo/compare/v2.9.5...v2.12.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: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
2023-09-20 14:57:47 +03:00