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

2164 Commits

Author SHA1 Message Date
912e0d8170 Updated the Timeseries package to use client@5.0.0 2025-04-30 17:14:39 +03:00
30cecc4b48 Release search@5.0.0 search@5.0.0 2025-04-30 17:13:28 +03:00
c942f0eb9f Updated the Search package to use client@5.0.0 2025-04-30 17:12:59 +03:00
b7147911de Release json@5.0.0 json@5.0.0 2025-04-30 17:07:55 +03:00
7359617047 Updated the Json package to use client@5.0.0 2025-04-30 17:06:44 +03:00
99003307f9 Release entraid@5.0.0 entraid@5.0.0 2025-04-30 17:05:46 +03:00
42911295a4 Updated the Entraid package to use client@5.0.0 2025-04-30 17:05:10 +03:00
bd10c92348 Release bloom@5.0.0 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
bf2b3752d6 Release client@5.0.0 client@5.0.0 2025-04-30 16:56:53 +03:00
4022e6947d update package-lock.json (#2932) 2025-04-30 16:50:35 +03:00
46bfeaa94e Fix typo and improve Sentinel docs (#2931) 2025-04-30 16:30:16 +03:00
49d6b2d465 Update README.MD (#2924)
* Update README.MD

* docs: update programmability.md examples

+ add Programmability section to README and

* fix imports according to the new v5 exports

* more v5 docs updates

---------

Co-authored-by: Nikolay Karadzhov <nkaradzhov89@gmail.com>
2025-04-30 16:28:22 +03:00
9459660d96 fix(pubsub): Fixed cluster client pubsub logic
* Infer the cluster pubsub client read only mode from the node type

* Modify flag logic
2025-04-30 15:57:01 +03:00
10ff6debab fix(sentinel): Migrated to the new testing framework, fixed issues that were discovered during transition
* [CAE-342] Fix a couple of bugs

* Fixed issue with nodes masterauth persistency, changed docker container

* [CAE-342] Fixed a couple of sentinel issues, enabled most tests

* [CAE-342] Added comment

* [CAE-342] Migrate majority of tests to testUtils

* [CAE-342] Minor refactor

* .

* [CAE-342] Using cae containers for sentinel

* [CAE-342] Improved resiliency of the legacy tests, added TSdoc comment

* [CAE-342] Some extra logging, removed unneeded changes

* [CAE-342] Moved docker env as optional part of redisserverdockerconfig

* [CAE-342] Move password to serverArguments

* [CAE-342] Moved ts-node to devDependencies

* [CAE-342] Reverted legacy testing framework improvements
2025-04-30 15:56:29 +03:00
048df302e4 Fix imports (#2929)
* fix: exports

align exports with v4 as much as possible

* document breaking changes

* export type

return SetOptions export
2025-04-30 14:38:32 +03:00
5295926cc0 bump test container to 8.0-RC2-pre (#2927) 2025-04-29 10:56:38 +03:00
4d659f0b44 docs: update the default credential provider example (#2919) 2025-04-07 15:29:13 +03:00
bdf95fdfca fix: loosen @azure/identity constraint for @redis/entraid (#2920) 2025-04-02 16:48:21 +03:00
924dafabc3 refactor(test-utils): remove TODO comments and TypeScript ignore directives for socket port (#2915) 2025-03-26 15:17:35 +02:00
a7c96a01f8 fix (entraid): correct package entry point structure (#2917)
- last time we forgot to include `index.ts`
2025-03-25 13:50:16 +02:00
0f24c7fc21 entraid: update readme.md (#2916) 2025-03-25 11:28:06 +02:00
73de2cecda Release redis@5.0.0-next.7 redis@5.0.0-next.7 2025-03-25 10:38:18 +02:00
a3debec021 Updated the Redis package to use client@5.0.0-next.7 2025-03-25 10:34:55 +02:00
57e323ae16 Release bloom@5.0.0-next.7 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
1b2eba2b76 Release time-series@5.0.0-next.7 time-series@5.0.0-next.7 2025-03-25 10:32:21 +02:00
abba2f8493 Updated the timeseries package to use client@5.0.0-next.7 2025-03-25 10:31:40 +02:00
17b3304323 Release search@5.0.0-next.7 search@5.0.0-next.7 2025-03-25 10:31:02 +02:00
c50892a7f7 Updated the search package to use client@5.0.0-next.7 2025-03-25 10:30:08 +02:00
5a2a61496e Release json@5.0.0-next.7 json@5.0.0-next.7 2025-03-25 10:29:09 +02:00
60b81ff7f0 Updated the JSON package to use client@5.0.0-next.7 2025-03-25 10:28:15 +02:00
8ab820c0db Release entraid@5.0.0-next.7 entraid@5.0.0-next.7 2025-03-25 10:27:10 +02:00
4f88442f6f Updated the EntraID package to use client@5.0.0-next.7 2025-03-25 10:25:18 +02:00
bf06a3b703 Release client@5.0.0-next.7 client@5.0.0-next.7 2025-03-25 10:19:53 +02:00
d64072da95 feat(integer 8 vector support): Changed ft create vector types to union, added support for int8/uint8 (#2911)
* [CAE-827] Changed ft create vector types to union, added support for int8/uint8

* [CAE-827] Moved test cases
2025-03-21 11:43:10 +02:00
6c5a3fd0c0 fix(entraid): correct package entry point structure (#2891)
- Add /index.ts that re-exports all from /lib/index.ts
- Preserve existing /lib/index.ts exports
2025-03-20 12:31:25 +02:00
4cbecf6a09 feat(hash field expiration): Added hash field expiration commands (#2907)
* [CAE-686] Added hash field expiration commands

* [CAE-686] Improve HSETEX return type

* [CAE-686] Minor pushTuples change, renamed HSETEX test

* [CAE-686] Changed hsetex function signature for better consistency with other commands

* [CAE-686] Fixed hsetex test

* [CAE-686] Bumped docker version to 8.0-M05-pre, enabled and fixed tests
2025-03-19 12:26:23 +02:00
2ff5cb88d4 tests: Reenable and fix profile aggregate tests (#2910) 2025-03-19 12:18:30 +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
ca85f8268d refactor!: Remove graph module (#2897)
https://redis.io/blog/redisgraph-eol/
2025-03-18 14:27:37 +02:00
8b4ed0059a feat(entraid): add support for azure identity (#2901)
This PR adds support for using Azure Identity's credential classes with Redis Enterprise Entra ID authentication.
The main changes include:

- Add a new factory method createForDefaultAzureCredential to enable using Azure Identity credentials
- Add @azure/identity as a dependency to support the new authentication flow
- Add support for DefaultAzureCredential, EnvironmentCredential, and any other TokenCredential implementation
- Create a new AzureIdentityProvider to support DefaultAzureCredential
- Update documentation and README with usage examples for DefaultAzureCredential
- Add integration tests for the new authentication methods
- Include a sample application demonstrating interactive browser authentication
- Export constants for Redis scopes / credential mappers to simplify authentication configuration
2025-03-05 14:47:18 +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
33cdc00746 churn(docs) update entraid documentation (#2898) 2025-02-18 15:57:40 +02:00
1af01373db feat(search): Set default dialect to 2 for Redis Search commands (#2895)
- The default dialect `DEFAULT_DIALECT`  is now set to '2'
- Automatically append DIALECT parameter to search commands when not explicitly specified
2025-02-17 13:47:12 +02:00
558ebb4d25 Update README.md (#2890) 2025-01-30 12:46:41 +02:00
aa4ea3317f Release redis@5.0.0-next.6 redis@5.0.0-next.6 2025-01-30 11:26:52 +02:00
70f3698134 Updated the Redis package to use client@5.0.0-next.6 2025-01-30 11:21:24 +02:00
0f7e0f45ae Release graph@5.0.0-next.6 graph@5.0.0-next.6 2025-01-30 11:19:25 +02:00
81f5fc43b8 Updated the graph package to use client@5.0.0-next.6 2025-01-30 11:18:54 +02:00