1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00
Commit Graph

61 Commits

Author SHA1 Message Date
2302df3abd Release bloom@5.5.6 2025-06-06 10:09:56 +03:00
44caf9fcba Updated the Bloom package to use client@5.5.6 2025-06-06 10:08:35 +03:00
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
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
3b03ced4ea Release bloom@5.1.1 2025-05-28 16:20:11 +03:00
bd6f764d91 Updated the Bloom package to use client@5.1.1 2025-05-28 16:19:30 +03:00
3d53e254d4 Release bloom@5.1.0 2025-05-20 15:59:14 +03:00
4f7f83478b Updated the Bloom package to use client@5.1.0 2025-05-20 15:57:45 +03:00
7b737821b2 fix: fix various command import issues (#2944)
* fix: fix various command import issues

there was some sort of a circular dependency
in <module>/lib/commands/index.ts for various modules

fixes #2937 fixes #2941

* remove redundant definition
2025-05-07 16:10:35 +03:00
6714ad109d Release bloom@5.0.1 2025-05-05 11:57:11 +03:00
2c9faad2d9 Updated the Bloom package to use client@5.0.1 2025-05-05 11:55:40 +03:00
bd10c92348 Release bloom@5.0.0 2025-04-30 17:04:03 +03:00
091244a32a Updated the Bloom package to use client@5.0.0 2025-04-30 17:00:26 +03:00
57e323ae16 Release bloom@5.0.0-next.7 2025-03-25 10:33:38 +02:00
ffa00cfbe8 Updated the bloom package to use client@5.0.0-next.7 2025-03-25 10:33:03 +02:00
a7feb60e0a tests: bumped the version of the 8 docker test image to '8.0-M05-pre' (#2909) 2025-03-18 15:24:11 +02:00
69d507a572 refactor!: redis 8 compatibility improvements and test infrastructure updates (#2893)
* churn(test): use redislabs/client-libs-test for testing

This  switches our testing infrastructure from redis/redis-stack to
redislabs/client-libs-test Docker image across all packages. This change
also updates the default Docker version from 7.4.0-v1 to 8.0-M04-pre.

* churn(test): verify CONFIG SET / GET compatibility with Redis 8

- Add tests for Redis 8 search configuration settings
- Deprecate Redis Search CONFIG commands in favor of standard CONFIG
- Test read-only config restrictions for Redis 8

* churn(test): handle Redis 8 coordinate precision in GEOPOS

- Update GEOPOS tests to handle increased precision in Redis 8 (17 decimal places vs 14)
- Add precision-aware coordinate comparison helper
- Add comprehensive test suite for coordinate comparison function

* test(search): adapt SUGGET tests for Redis 8 empty results

- Update tests to expect empty array ([]) instead of null for SUGGET variants
- Affects sugGet, sugGetWithPayloads, sugGetWithScores, and sugGetWithScoresWithPayloads

* test(search): support Redis 8 INFO indexes_all field

- Add indexes_all field introduced in Redis 8 to index definition test

* refactor!(search): simplify PROFILE commands to return raw response

- BREAKING CHANGE: FT.PROFILE now returns raw response, letting users implement their own parsing

* test: improve version-specific test coverage

- Add `testWithClientIfVersionWithinRange` method to run tests for specific Redis versions
- Refactor TestUtils to handle version comparisons more accurately
- Update test utilities across Redis modules to run tests against multiple versions, and not against latest only
2025-02-27 10:56:58 +02:00
0a748590a0 Release bloom@5.0.0-next.6 2025-01-30 11:17:29 +02:00
aecd625901 Updated the bloom package to use client@5.0.0-next.6 2025-01-30 11:16:57 +02:00
b835309cf8 fix cross packages imports 2024-11-04 12:21:17 -05:00
4708736f3b new "transform arguments" API for better key and metadata extraction (#2733)
* Parser support with all commands

* remove "dist" from all imports for consistency

* address most of my review comments

* small tweak to multi type mapping handling

* tweak multi commands / fix addScript cases

* nits

* addressed all in person review comments

* revert addCommand/addScript changes to multi-commands

addCommand needs to be there for sendCommand like ability within a multi.

If its there, it might as well be used by createCommand() et al, to avoid repeating code.

addScript is there (even though only used once), but now made private to keep the logic for bookkeeping near each other.
2024-10-31 12:16:59 -04:00
4bb8cf5209 Release bloom@5.0.0-next.5 2024-10-15 17:36:26 +02:00
accc5c47a8 Updated the Bloom package to use client@5.0.0-next.5 2024-10-15 17:34:46 +02:00
b2d35c5286 V5 bringing RESP3, Sentinel and TypeMapping to node-redis
RESP3 Support
   - Some commands responses in RESP3 aren't stable yet and therefore return an "untyped" ReplyUnion.
 
Sentinel

TypeMapping

Correctly types Multi commands

Note: some API changes to be further documented in v4-to-v5.md
2024-10-15 17:46:52 +03:00
4976231f24 upgrade deps, remove node 14 & 16 from tests matrix 2023-09-18 17:23:01 -04:00
fe74e322dd upgrade deps 2023-08-23 14:53:26 -04:00
0298c1ac41 upgrade deps (#2517)
* upgrade deps

* fix graph tests
2023-05-29 09:01:34 -04:00
c88dea6151 Augment subpackages npm info (#2478)
* augment subpackages npm info

* some more keywords

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-24 12:41:44 -04:00
4937efca6b upgrade dependencies (#2426) 2023-02-24 18:05:43 -05:00
b06f92ae00 Release bloom@1.2.0 2023-01-25 13:15:45 -05:00
0a46fcbdaf upgrade dependencies (#2381)
* upgrade deps

* upgrade dependencies

* fix v3 benchmark

* update package-lock.json
2023-01-25 13:05:42 -05:00
a55fbafb88 Add support for BF.CARD command (#2376)
* Add support for BF.CARD command

* Update index.ts

* Update CARD.ts

* Update CARD.spec.ts

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:53:00 -05:00
c5b6f77c33 exclude dist from coverage report 2022-12-26 13:35:37 -05:00
66abec6c3a Release bloom@1.1.0 2022-11-01 16:15:08 -04:00
be90e62360 Add support for T-Digest (#2214)
* wip

* close #2216 - add support for TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE

* fix some tdigest commands, use bloom edge docker

* fix index.ts

* 2.4-RC2 (v2.4.1)

* fix some commands and tests

* clean code
2022-11-01 15:45:47 -04:00
29f734f60e upgrade dependencies (#2306) 2022-10-26 14:47:10 -04:00
35be671332 upgrade dependencies (#2242) 2022-08-22 18:23:43 -04:00
ac032d82a0 fix: loop over arguments instead of spreading (#2160)
* fix: loop over arguments instead of spreading

* update to use concat

* use the returned array from pushVerdictArguments (instead of assuming it'll push to the original array)

* fix "Type 'RedisCommandArguments' is not assignable to type 'string[]'."

* fix "Argument of type 'RedisCommandArgument | RedisCommandArguments[]' is not assignable to parameter of type 'RedisCommandArgument | RedisCommandArgument[]'"

* fix "Type 'RedisCommandArguments' is not assignable to type 'string[]'"

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-07-13 07:01:35 -04:00
9ffc30c727 upgrade deps 2022-07-05 11:42:43 -04:00
6a850d36ae upgrade deps, fix "invalid save argument" error (#2174) 2022-06-30 13:07:29 -04:00
14973f15f0 Release bloom@1.0.2 2022-05-02 11:56:09 -04:00
0752f143a6 prepare 4.1.0 (#2111)
* increase test coverage

* @node-redis to @redis

* ugprade deps

* fix benchmark

* use 7.0 docker (not rc), update readmes, clean code, fix @-redis import

* update readme

* fix function in cluster

* update docs

Co-authored-by: Chayim <chayim@users.noreply.github.com>

* Update clustering.md

* add subpackages move warning

* drop support for node 12

* upgrade deps

* fix tsconfig.base.json

Co-authored-by: Chayim <chayim@users.noreply.github.com>
2022-05-02 11:48:12 -04:00
432a7e3ebb upgrade deps (#2098) 2022-04-25 16:42:20 -04:00
448ac9daae fix #2090 - topK.listWithCount (#2091) 2022-04-25 05:48:02 -04:00
79ee8f2029 upgrade dependencies (#2081) 2022-04-18 12:29:01 -04:00
5ade5dadc0 upgrade dependencies (#2057)
* upgrade dependencies

* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'."
2022-03-27 16:27:05 -04:00
3547b20293 Graph (#1887)
* init

* implement graph commands

* add graph to packages table

* fix ts.infoDebug

* fix redisearch tests

* Update INFO_DEBUG.ts

* fix INFO.spec.ts

* test QUERY and SLOWLOG

Co-authored-by: Avital-Fine <avital.fine@redis.com>
2022-01-31 12:52:19 -05:00
84aebcca0f upgrade dependencies 2022-01-24 13:14:20 -05:00
a2299509a0 upgrade dependencies (#1863) 2022-01-20 16:23:31 -05:00
1f8993a14d Adds Bloom overview README. (#1850)
* Adds Bloom overview README.

* Update README.md

* Incorporates feedback.

* Update README.md

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
2022-01-19 13:27:04 -05:00