1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
Commit Graph

2165 Commits

Author SHA1 Message Date
GitHub Action
4d886b8866 Release redis@5.6.0 redis@5.6.0 2025-07-08 11:38:02 +00:00
GitHub Action
e5b2466da3 Release entraid@5.6.0 entraid@5.6.0 2025-07-08 11:37:56 +00:00
GitHub Action
a6193a770c Release time-series@5.6.0 time-series@5.6.0 2025-07-08 11:37:51 +00:00
GitHub Action
ff5c6b3066 Release search@5.6.0 search@5.6.0 2025-07-08 11:37:44 +00:00
GitHub Action
dab595d8d9 Release json@5.6.0 json@5.6.0 2025-07-08 11:37:38 +00:00
GitHub Action
b7a5f40ab1 Release bloom@5.6.0 bloom@5.6.0 2025-07-08 11:37:32 +00:00
GitHub Action
748cad2e7f Release client@5.6.0 client@5.6.0 2025-07-08 11:37:25 +00:00
Nikolay Karadzhov
d9a6bb376f chore(release): use deploy keys for relese (#3013)
main branch is protected and does not allow direct pushes.
the release action needs to push.
branch protection rules can be bypassed for people and apps, but not
github actions.

one of the workarounds is to use a ruleset in which we set a deploy key

see: https://github.com/orgs/community/discussions/25305\#discussioncomment-10728028
2025-07-08 14:28:50 +03:00
Nikolay Karadzhov
65a12d50e7 feat(client): add command timeout option (#3008)
Co-authored-by: Florian Schunk <149071178+florian-schunk@users.noreply.github.com>
2025-07-07 11:37:08 +03:00
Nikolay Karadzhov
79749f2461 fix(sentinel): propagate RESP option to clients (#3011)
`createSentinel` takes RESP as an option, but does not propagate down
to the actual clients. This creates confusion for the users as they
expect the option to be set to all clients, which is reasonable.

In case of clientSideCaching, this problem manifests as validation failure
because clientSideCaching requires RESP3, but if we dont propagate,
clients start with the default RESP2

fixes #3010
2025-07-07 11:06:34 +03:00
Ricardo Ferreira
6f3380ba68 fix: ensure the repo links in the README are functional on the website (#3005) 2025-06-25 15:41:54 +03:00
Nikolay Karadzhov
742d5713e8 fix(commands): sPopCount return Array<string> (#3006)
Also, touch the tests for spop and spopcount
to use the new parseCommand API

fixes #3004
2025-06-25 13:15:44 +03:00
Nikolay Karadzhov
c5b4f47975 feat: add support for vector sets (#2998)
* wip

* improve the vadd api

* resp3 tests

* fix some tests

* extract json helper functions in client package

* use transformJsonReply

* remove the CACHEABLE flag for all vector set commands

currently, client side caching is not supported
for vector set commands by the server

* properly transform vinfo result

* add resp3 test for vlinks

* add more tests for vrandmember

* fix vrem return types

* fix vsetattr return type

* fix vsim_withscores

* implement vlinks_withscores

* set minimum docker image version to 8

* align return types

* add RAW variant for VEMB -> VEMB_RAW

* use the new parseCommand api
2025-06-24 13:35:29 +03:00
Pavel Pashov
b52177752e feat: added support for new bitop operations (#3001)
refactored bitop tests, covered all operations

updated default docker version on all packages
2025-06-19 13:56:00 +03:00
Nikolay Karadzhov
2b3140bb72 chore(actions): add action to close stale issues (#3000) 2025-06-19 10:05:22 +03:00
Nikolay Karadzhov
5d205cf161 chore(tests): bump test container version 8.0.2 (#2997) 2025-06-16 10:20:49 +03:00
Nikolay Karadzhov
62ac8b7c32 fix(client): make unstable cmds throw (#2990)
As per the docs, unstableResp3 commands should throw
when client is created with { RESP: 3, unstableResp3: false|undefined }

fixes #2989
2025-06-06 15:38:52 +03:00
Nikolay Karadzhov
ca91718b59 Release redis@5.5.6 redis@5.5.6 2025-06-06 10:21:11 +03:00
Nikolay Karadzhov
ba0ba71aad Updated the Redis package to use client@5.5.6 2025-06-06 10:20:13 +03:00
Nikolay Karadzhov
7deaf336e4 Release time-series@5.5.6 time-series@5.5.6 2025-06-06 10:18:52 +03:00
Nikolay Karadzhov
b07346e74a Updated the Timeseries package to use client@5.5.6 2025-06-06 10:18:25 +03:00
Nikolay Karadzhov
c9ecb3d65c Release search@5.5.6 search@5.5.6 2025-06-06 10:16:17 +03:00
Nikolay Karadzhov
8610a6c836 Updated the Search package to use client@5.5.6 2025-06-06 10:15:45 +03:00
Nikolay Karadzhov
a5dc786b76 Release json@5.5.6 json@5.5.6 2025-06-06 10:14:12 +03:00
Nikolay Karadzhov
b2519abe7b Updated the Json package to use client@5.5.6 2025-06-06 10:13:34 +03:00
Nikolay Karadzhov
7d12438300 Release entraid@5.5.6 entraid@5.5.6 2025-06-06 10:12:16 +03:00
Nikolay Karadzhov
91e5d306ca Updated the Entraid package to use client@5.5.6 2025-06-06 10:11:18 +03:00
Nikolay Karadzhov
2302df3abd Release bloom@5.5.6 bloom@5.5.6 2025-06-06 10:09:56 +03:00
Nikolay Karadzhov
44caf9fcba Updated the Bloom package to use client@5.5.6 2025-06-06 10:08:35 +03:00
Nikolay Karadzhov
0ebe55cbd7 Release client@5.5.6 client@5.5.6 2025-06-06 10:02:58 +03:00
Navi sureka
21d8f0e957 docs(search): update SchemaFieldTypes to SCHEMA_FIELD_TYPE for redis@5.x (#2992) 2025-06-06 09:30:07 +03:00
Nikolay Karadzhov
2bb515e489 fix(search): align ft.search with server (#2988)
as per the ft.search docs ( https://redis.io/docs/latest/commands/ft.search ):

    If a relevant key expires while a query is running,
    an attempt to load the key's value will return a null array.
    However, the key is still counted in the total number of results.

So, instead of crashing when seeing a null as a value, we
return empty object.

fixes #2772
see https://github.com/redis/node-redis/pull/2814
2025-06-05 11:46:57 +03:00
Nikolay Karadzhov
b33a662e50 Automate release (#2977)
* release-it/bumper

* remove git:false

* fix package ordering

* adjust git add

* fix git config

* adjust git config for all packages

* add noop release script for test-utils

* no need to try to release root

* better way to handle skipping

* pass parameters down

* better version hint

* update node version

* return git arguments from before

* rename release workflow

* rename workflow

* set git.tagMatch

* add link to docs

* update description

* update workspace order in package-lock

* fix secondary releases

release-it/bumper was removing the ^ before the peerDep to client
npm is not happy with that. one potential fix would be to bump all
packages together as a prestep and then proceed without bupming again.
for now, this fix should bring us to the previous state ( what was used
in the manual process )

* require clean working dir in root

* remove root release-it config

not needed
2025-06-04 10:52:14 +03:00
Bobby I.
20c16e0c2c (docs) add jsdoc comments to command parsers (#2984)
* (docs) bloom: add jsdocs for all commands

* (docs) json: add jsdocs

* (docs) search: add jsdocs for all commands

* (docs) jsdocs for std commands

* (docs) jsdoc comments to time series commands
2025-06-03 14:38:07 +03:00
Nikolay Karadzhov
e4a1ca467f Release redis@5.1.1 redis@5.1.1 2025-05-28 16:31:12 +03:00
Nikolay Karadzhov
d374514309 Updated the Redis package to use client@5.1.1 2025-05-28 16:27:23 +03:00
Nikolay Karadzhov
d4380221c8 Release time-series@5.1.1 time-series@5.1.1 2025-05-28 16:25:56 +03:00
Nikolay Karadzhov
d178b7839a Updated the Timeseries package to use client@5.1.1 2025-05-28 16:25:37 +03:00
Nikolay Karadzhov
13566cf9d6 Release search@5.1.1 search@5.1.1 2025-05-28 16:24:51 +03:00
Nikolay Karadzhov
b2213d8132 Updated the Search package to use client@5.1.1 2025-05-28 16:24:32 +03:00
Nikolay Karadzhov
8c7b384e6b Release json@5.1.1 json@5.1.1 2025-05-28 16:23:31 +03:00
Nikolay Karadzhov
e68b5deb19 Updated the Json package to use client@5.1.1 2025-05-28 16:23:12 +03:00
Nikolay Karadzhov
e4d903ca0c Release entraid@5.1.1 entraid@5.1.1 2025-05-28 16:21:59 +03:00
Nikolay Karadzhov
566b16eb53 Updated the Entraid package to use client@5.1.1 2025-05-28 16:21:25 +03:00
Nikolay Karadzhov
3b03ced4ea Release bloom@5.1.1 bloom@5.1.1 2025-05-28 16:20:11 +03:00
Nikolay Karadzhov
bd6f764d91 Updated the Bloom package to use client@5.1.1 2025-05-28 16:19:30 +03:00
Nikolay Karadzhov
4b939a7bdb Release client@5.1.1 client@5.1.1 2025-05-28 16:16:25 +03:00
Arya
708b22f366 docs(readme): replace relative GitHub links with absolute URLs (#2980) 2025-05-28 10:45:37 +03:00
Hristo Temelski
f346bad64e Adapt legacy sentinel tests to use the new test utils (#2976)
* modified legacy sentinel tests

* Adapt legacy sentinel tests to use the new test utils

* modify tmpdir creation

* reduced sentinel config timeouts, removed unneeded comment

---------

Co-authored-by: H. Temelski <hristo.temelski@redis.com>
2025-05-27 14:21:22 +03:00
Nikolay Karadzhov
065eb5e914 fix(json): remove debug console.logs (#2970) 2025-05-22 10:36:52 +03:00