Skip to content

Update doctest client with latest v4 release #2844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 158 commits into from
Sep 29, 2024
Merged
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
6642278
Add 'Network error handling' section to documentation (#2250)
phpbg Jan 24, 2023
d77be81
add keywords in root package.json (#2389)
leibale Jan 24, 2023
29a2dc5
update issue templates and add new documentation issue template (#2357)
agung2001 Jan 24, 2023
85bf97b
doc: add defaults option example to cluster documentation (#2377)
yangbodong22011 Jan 24, 2023
2287efd
Fix legacyMode/pingInterval issue (#2386)
benjie Jan 25, 2023
e75a5db
Add CLIENT LIST command and fix CLIENT INFO (#2368)
K4ST0R Jan 25, 2023
3b1bad2
Add support for sharded PubSub (#2373)
leibale Jan 25, 2023
0a46fcb
upgrade dependencies (#2381)
leibale Jan 25, 2023
b06f92a
Release bloom@1.2.0
leibale Jan 25, 2023
f3ed246
Release search@1.1.1
leibale Jan 25, 2023
e9de74c
revert client version to 1.4.2
leibale Jan 25, 2023
4904fe4
Release client@1.5.0
leibale Jan 25, 2023
d3c5019
upgrade subpackages
leibale Jan 25, 2023
9decde6
Release redis@4.6.0
leibale Jan 25, 2023
c6e1124
Update pub-sub.md
leibale Jan 25, 2023
3bd28a9
fix #2391 - remove node: prefix from imports
leibale Jan 26, 2023
c6587e2
Release client@1.5.1
leibale Jan 26, 2023
9204356
Release client@1.5.2
leibale Jan 26, 2023
b0ae4aa
upgrade @redis/client
leibale Jan 26, 2023
00e3652
Release redis@4.6.1
leibale Jan 26, 2023
2dba7f2
fix #2392 - handle errors in `legacyMode` (#2394)
leibale Jan 27, 2023
be335ef
Release client@1.5.3
leibale Jan 27, 2023
c00b20f
upgrade subpackages
leibale Jan 27, 2023
58e572b
Release redis@4.6.2
leibale Jan 27, 2023
b3cd785
fix reconnecting event (#2396)
leibale Jan 28, 2023
f1e951d
Release client@1.5.4
leibale Jan 28, 2023
a891553
upgrade subpackages
leibale Jan 28, 2023
7a0334f
Release redis@4.6.3
leibale Jan 28, 2023
bb9a024
fix: Fix small typo in Redis Pub/Sub docs (#2400)
soumitradev Jan 30, 2023
b3c260a
fix graph tests
leibale Jan 30, 2023
7cb467a
fix #2398 - fix `v4` interface in `legacyMode` (#2402)
leibale Jan 30, 2023
e4229a4
Release client@1.5.5
leibale Jan 30, 2023
9209245
upgrade subpackages
leibale Jan 30, 2023
9ffae59
Release redis@4.6.4
leibale Jan 30, 2023
1be8422
Remove redundant UNF sub-option in JSON example (#2418)
uglide Feb 21, 2023
0f28dad
Execute empty MULTI (#2423)
Mik13 Feb 24, 2023
26e057e
fix FT.SEARCH RETURN [] (#2421)
leibale Feb 24, 2023
63e5228
fix #2411 - export RedisFlushModes (#2425)
leibale Feb 24, 2023
e95b258
fix #2419 - fix RESP2 array decoder in edge cases (#2424)
leibale Feb 24, 2023
4937efc
upgrade dependencies (#2426)
leibale Feb 24, 2023
f0794ec
Release search@1.1.2
leibale Feb 24, 2023
f756d9a
Release client@1.5.6
leibale Feb 24, 2023
4745fae
ugprade subpackages
leibale Feb 24, 2023
ca1d04f
Release redis@4.6.5
leibale Feb 24, 2023
1d8302c
`FT.CREATE` - set `FIRST_KEY_INDEX` to `1` (#2440)
carlhopf Mar 14, 2023
d65a641
revert 1d8302c9db2a49c4875bd83d3c87fa05265d5400
leibale Mar 17, 2023
9f2e27d
Fixed a bug in the updateIsActive function (#2476)
sorilove Apr 24, 2023
c88dea6
Augment subpackages npm info (#2478)
kikar Apr 24, 2023
e1658ba
fix cluster extractFirstKey skip commandOptions() passed to args (#2439)
carlhopf Apr 26, 2023
ba31c8a
fix #2443 - fix multiple sockets on error in socket initiator (#2480)
leibale Apr 26, 2023
986a510
fix #2481 - fix "falsy" arguments in TS.ALTER (#2483)
leibale Apr 26, 2023
dc920d3
fix `isolationPool` after reconnect (#2409)
leibale Apr 26, 2023
e8e09a7
Release client@1.5.7
leibale Apr 27, 2023
f0bd7e0
upgrade deps
leibale Apr 27, 2023
3273c85
Release redis@4.6.6
leibale Apr 27, 2023
260a417
Auto release via drafting, step one (#2453)
chayim May 16, 2023
759e837
Bump vm2 from 3.9.14 to 3.9.18 (#2509)
dependabot[bot] May 16, 2023
67d9c3c
syntax (#2510)
chayim May 16, 2023
8d37c11
Add support for `TIMEOUT` in `FT.AGGREGATE` and `FT.SEARCH` (#2488)
Nanak360 May 21, 2023
d4f1943
`XINFO CONSUMERS` - add support for the `inactive` field (#2490)
codrin-ch May 21, 2023
85091cd
Add `count` option to `FT.CURSOR READ` (#2492)
fast-facts May 21, 2023
499ea85
Update search-hashes.js (#2519)
leibale May 29, 2023
e696653
Add support for `LATENCY LATEST` (#2514)
Karnav123 May 29, 2023
100a523
use `setImmediate` instead of `queueMicrotask` (to improve performanc…
leibale May 29, 2023
0298c1a
upgrade deps (#2517)
leibale May 29, 2023
454617b
Add a note about multiple Pub/Sub channel listeners (#2433)
jamesw6811 May 29, 2023
99c7cd7
Release search@1.1.3
leibale May 31, 2023
2baf5df
Release client@1.5.8
leibale May 31, 2023
9250fd7
upgrade subpackages
leibale May 31, 2023
79b0df8
Release redis@4.6.7
leibale May 31, 2023
a7d5bc7
fix #2526 - fix json README links (#2527)
leibale Jun 6, 2023
b58833b
fix #2569 - fix `@redis/search` README
alphabetkrish Jul 20, 2023
259e9b2
Updating all client licenses to clearly be MIT (#2596)
chayim Aug 10, 2023
bc8abd5
fixes #2524 delaying graceful exit while pingInterval is set (#2525)
jorenvandeweyer Aug 23, 2023
fe74e32
upgrade deps
leibale Aug 23, 2023
504a05b
Release client@1.5.9
leibale Aug 23, 2023
afd8c23
Release time-series@1.0.5
leibale Aug 23, 2023
b3fe14e
ugprade subpackages
leibale Aug 23, 2023
294cbf8
Release redis@4.6.8
leibale Aug 23, 2023
4976231
upgrade deps, remove node 14 & 16 from tests matrix
leibale Sep 18, 2023
26b9e6d
remove node 19
leibale Sep 18, 2023
5a10826
Add support for `JSON.MSET` (#2605)
rowantrollope Sep 18, 2023
fb255eb
Have client.connect() return a Promise<RedisClient> (#2602)
franciscop Sep 18, 2023
4e610c2
Add support for `CLIENT NO-TOUCH` (#2497)
codrin-ch Sep 18, 2023
8c8740a
Add 7.2 to tests matrix
leibale Sep 18, 2023
cf21c1a
Add support for `JSON.MERGE` (#2511)
shacharPash Sep 18, 2023
1f97893
fix `ACL GETUSER` test
leibale Sep 18, 2023
a217cc1
Add support for `FT.SEARCH NOCONTENT` (#2610)
brettburch Sep 18, 2023
d8ae8cf
Upgrade actions/checkout & actions/setup-node
leibale Sep 18, 2023
8ecfd3e
Add support for `CLUSTER MYSHARDID` (#2528)
e920528 Sep 18, 2023
01ca54e
fix #1970 - add support for `RESTORE` (#2535)
Moshe-RS Sep 18, 2023
6848f3d
Add support for `PUBSUB SHARDNUMSUB` (#2541)
david02324 Sep 19, 2023
4ec97be
fix #1956 - add support for `LATENCY HISTORY` (#2555)
avinashkrishna613 Sep 19, 2023
e00041e
Fix: XAUTOCLAIM after a TRIM with pending messages returns nil (#2565)
Calyhre Sep 19, 2023
fef006c
Release client@1.5.10
leibale Sep 19, 2023
6cc635c
Release search@1.1.4
leibale Sep 19, 2023
d258296
Release json@1.0.5
leibale Sep 19, 2023
077e099
upgrade subpackages
leibale Sep 19, 2023
7706a5e
Release redis@4.6.9
leibale Sep 19, 2023
38e9a40
fix #2619 #2618 #2617 #2616 - support for node >= 14
leibale Sep 22, 2023
d1fdf1e
Release client@1.5.11
leibale Sep 22, 2023
f7d400e
Release json@1.0.6
leibale Sep 22, 2023
3862fd2
Release search@1.1.5
leibale Sep 22, 2023
14909e7
ugprade subpackages
leibale Sep 22, 2023
c64ce74
Release redis@4.6.10
leibale Sep 22, 2023
a8b81bd
Send client user-agent during connection, via CLIENT SETINFO (#2645)
sjpotter Nov 7, 2023
68d835d
fix #2632 - handle socket close in "socket initiator" phase (#2653)
leibale Nov 20, 2023
e91509a
fix `GRAPH.EXPLAIN` - fix transform typo in `transformReply`
0o001 Nov 20, 2023
623b56b
fix `cluster.sUnsubscribe` - make `listener` optional
Clsan Nov 20, 2023
0ee3278
chore(search): export languages (#2651)
papsavas Nov 20, 2023
9ed9cb5
export missing graph types
gkorland Nov 20, 2023
debd277
Release client@1.5.12
leibale Nov 20, 2023
0419b60
Release graph@1.1.1
leibale Nov 20, 2023
a227cb0
Release search@1.1.6
leibale Nov 20, 2023
5e4165e
upgrade subpackages
leibale Nov 20, 2023
d6d2064
Release redis@4.6.11
leibale Nov 20, 2023
f4680f0
fix #2665 - handle errors in multi/pipeline replies (#2666)
leibale Dec 18, 2023
bb6f14c
Release client@1.5.13
leibale Dec 18, 2023
55d07d2
upgrade @redis/client
leibale Dec 18, 2023
ccd9610
Release redis@4.6.12
leibale Dec 18, 2023
5a96058
Linking to Redis learning resources (#2628)
chayim Dec 20, 2023
295647c
fix(clustered pubsub): check that `client.isOpen` before calling `cli…
BrentLayne Jan 29, 2024
0f29f42
Change json docker version to 2.6.9
leibale Feb 5, 2024
03ab4fb
Release client@1.5.14
leibale Feb 5, 2024
b6a31dd
upgrade `@redis/client`
leibale Feb 5, 2024
dbf8f59
Release redis@4.6.13
leibale Feb 5, 2024
bfa803f
Fix race condition when slots are re-calculated (#2731)
jjsimps May 16, 2024
d7f7f79
Release client@1.5.15
leibale May 16, 2024
1a3ac1e
upgrade @redis/client
leibale May 16, 2024
d5518e0
Release client@1.5.16
leibale May 16, 2024
fcf4119
upgrade @redis/client
leibale May 16, 2024
d5355d4
Release redis@4.6.14
leibale May 16, 2024
4ac97ee
fix createCluster - copy `options.defaults.socket` before modifying i…
soccermax Jul 2, 2024
60c1c46
Release client@1.5.17
leibale Jul 2, 2024
b4c1e59
Upgrade @redis/client
leibale Jul 2, 2024
72345fe
Release redis@4.6.15
leibale Jul 2, 2024
b4df2b2
add support for all hash field expiration commands (#2787)
sjpotter Jul 10, 2024
7d43a97
add CLIENT KILL maxAge support (v4) (#2761)
sjpotter Jul 10, 2024
a1bee1c
add geoshape support (#2788)
sjpotter Jul 10, 2024
5576a0d
CAE-193: add "IGNORE" options to time series commands (for v4 branch)…
sjpotter Jul 10, 2024
64fca37
Support the NOVALUES option of HSCAN (#2711)
gerzse Jul 14, 2024
0e7e2e6
add missing fields support to schema (v4) (#2789)
sjpotter Jul 17, 2024
d09aaa3
small internal tweak for maxage per discussion w/ leibele (#2803)
sjpotter Jul 23, 2024
b884e13
don't expand/copy rawValues, return it directly. (#2800)
sjpotter Jul 23, 2024
6f79b49
updated per discussion w/ leibele (#2804)
sjpotter Jul 24, 2024
54b3e17
add addscores to aggregate search command (#2799)
sjpotter Jul 29, 2024
dc3be85
add 7.4-rc2 to github action test suite (#2793)
sjpotter Jul 29, 2024
179b9e0
fix: json.mget should be readonly (#2807) (#2808)
marcoreni Jul 29, 2024
840ec57
small refactor per discussion with leibele (#2801)
sjpotter Jul 29, 2024
3973fa2
Release json@1.0.7
leibale Jul 29, 2024
49ef273
Update tests.yml
leibale Jul 29, 2024
18ccc28
fix hash expiration tests
leibale Jul 29, 2024
fff7b00
Release search@1.2.0
leibale Jul 29, 2024
268ceda
Release time-series@1.1.0
leibale Jul 29, 2024
b493afa
Release client@1.6.0
leibale Jul 29, 2024
878fb69
upgrade deps
leibale Jul 29, 2024
2fc79bd
Release redis@4.7.0
leibale Jul 29, 2024
799505f
Merge remote-tracking branch 'upstream/master' into HEAD
sjpotter Sep 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Bug Report
description: Tell us about something that isn't working as expected
labels: [Bug]
body:
- type: textarea
id: description
attributes:
label: Description
description: Please enter a detailed description of your issue. If possible, please provide example code to reproduce the issue.
validations:
required: true
- type: input
id: node-js-version
attributes:
label: Node.js Version
description: Please enter your Node.js version `node --version`
- type: input
id: redis-server-version
attributes:
label: Redis Server Version
description: Please enter your Redis server version ([`INFO server`](https://redis.io/commands/info/))
- type: input
id: node-redis-version
attributes:
label: Node Redis Version
description: Please enter your node redis version `npm ls redis`
- type: input
id: platform
attributes:
label: Platform
description: Please enter the platform you are using e.g. Linux, macOS, Windows
- type: textarea
id: logs
attributes:
label: Logs
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: bash
validations:
required: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/DOCUMENTATION.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Documentation
description: Any questions or issues relating to the project documentation.
labels: [Documentation]
body:
- type: textarea
id: description
attributes:
label: Description
description: Ask your question or describe your issue here.
validations:
required: true
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Feature Request
description: Suggest an idea for this project
labels: [Feature]
body:
- type: textarea
id: motivation
attributes:
label: Motivation
description: How would Node Redis users benefit from this feature?
validations:
required: true
- type: textarea
id: basic-code-example
attributes:
label: Basic Code Example
description: Provide examples of how you imagine the API for this feature might be implemented. This will be automatically formatted into code, so no need for backticks.
render: JavaScript
validations:
required: false
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

50 changes: 50 additions & 0 deletions .github/release-drafter/bloom-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name-template: 'bloom@$NEXT_PATCH_VERSION'
tag-template: 'bloom@$NEXT_PATCH_VERSION'
autolabeler:
- label: 'chore'
files:
- '*.md'
- '.github/*'
- label: 'bug'
branch:
- '/bug-.+'
- label: 'chore'
branch:
- '/chore-.+'
- label: 'feature'
branch:
- '/feature-.+'
categories:
- title: 'Breaking Changes'
labels:
- 'breakingchange'
- title: '🚀 New Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label:
- 'chore'
- 'maintenance'
- 'documentation'
- 'docs'

change-template: '- $TITLE (#$NUMBER)'
include-paths:
- 'packages/bloom'
exclude-labels:
- 'skip-changelog'
template: |
## Changes

$CHANGES

## Contributors
We'd like to thank all the contributors who worked on this release!

$CONTRIBUTORS
49 changes: 49 additions & 0 deletions .github/release-drafter/graph-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name-template: 'graph@$NEXT_PATCH_VERSION'
tag-template: 'graph@$NEXT_PATCH_VERSION'
autolabeler:
- label: 'chore'
files:
- '*.md'
- '.github/*'
- label: 'bug'
branch:
- '/bug-.+'
- label: 'chore'
branch:
- '/chore-.+'
- label: 'feature'
branch:
- '/feature-.+'
categories:
- title: 'Breaking Changes'
labels:
- 'breakingchange'
- title: '🚀 New Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label:
- 'chore'
- 'maintenance'
- 'documentation'
- 'docs'
change-template: '- $TITLE (#$NUMBER)'
include-paths:
- 'packages/graph'
exclude-labels:
- 'skip-changelog'
template: |
## Changes

$CHANGES

## Contributors
We'd like to thank all the contributors who worked on this release!

$CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name-template: 'Version $NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
name-template: 'json@$NEXT_PATCH_VERSION'
tag-template: 'json@$NEXT_PATCH_VERSION'
autolabeler:
- label: 'chore'
files:
@@ -28,8 +28,15 @@ categories:
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
label:
- 'chore'
- 'maintenance'
- 'documentation'
- 'docs'

change-template: '- $TITLE (#$NUMBER)'
include-paths:
- 'packages/json'
exclude-labels:
- 'skip-changelog'
template: |
50 changes: 50 additions & 0 deletions .github/release-drafter/search-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name-template: 'search@$NEXT_PATCH_VERSION'
tag-template: 'search@$NEXT_PATCH_VERSION'
autolabeler:
- label: 'chore'
files:
- '*.md'
- '.github/*'
- label: 'bug'
branch:
- '/bug-.+'
- label: 'chore'
branch:
- '/chore-.+'
- label: 'feature'
branch:
- '/feature-.+'
categories:
- title: 'Breaking Changes'
labels:
- 'breakingchange'
- title: '🚀 New Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label:
- 'chore'
- 'maintenance'
- 'documentation'
- 'docs'

change-template: '- $TITLE (#$NUMBER)'
include-paths:
- 'packages/search'
exclude-labels:
- 'skip-changelog'
template: |
## Changes

$CHANGES

## Contributors
We'd like to thank all the contributors who worked on this release!

$CONTRIBUTORS
49 changes: 49 additions & 0 deletions .github/release-drafter/time-series-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name-template: 'time-series@$NEXT_PATCH_VERSION'
tag-template: 'time-series@$NEXT_PATCH_VERSION'
autolabeler:
- label: 'chore'
files:
- '*.md'
- '.github/*'
- label: 'bug'
branch:
- '/bug-.+'
- label: 'chore'
branch:
- '/chore-.+'
- label: 'feature'
branch:
- '/feature-.+'
categories:
- title: 'Breaking Changes'
labels:
- 'breakingchange'
- title: '🚀 New Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label:
- 'chore'
- 'maintenance'
- 'documentation'
- 'docs'
change-template: '- $TITLE (#$NUMBER)'
include-paths:
- 'packages/time-series'
exclude-labels:
- 'skip-changelog'
template: |
## Changes

$CHANGES

## Contributors
We'd like to thank all the contributors who worked on this release!

$CONTRIBUTORS
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@ jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Use Node.js
uses: actions/setup-node@v2.3.0
uses: actions/setup-node@v3
- name: Install Packages
run: npm ci
- name: Build tests tools
24 changes: 24 additions & 0 deletions .github/workflows/release-drafter-bloom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:

update_release_draft:

permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter/bloom-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/release-drafter-graph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:

update_release_draft:

permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter/graph-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading