1
0
mirror of https://github.com/redis/node-redis.git synced 2025-07-31 05:44:24 +03:00
Commit Graph

1841 Commits

Author SHA1 Message Date
081ecf05f3 DOC-4423: add TCEs for various command pages 2025-04-22 13:24:32 +03:00
001087f520 Update cmds-hash.js (#2863)
Update comment-line (58) from `foo` to `null`
2024-11-13 14:57:37 -05:00
c1edc2e718 DOC-4039: add TCEs to the query pages - reissue (#2846) 2024-10-23 17:48:36 +03:00
49fdb79897 Update doctest client with latest v4 release (#2844) 2024-09-29 13:19:06 +03:00
fd7b10be6c TCEs for select command pages (#2824)
* TCEs for select command pages

* Preemptive modifications from previous reviews

* Update to previous commit
2024-09-26 14:27:12 +03:00
ebd2037e48 DOC-4194: add TCEs to the exact match query page (COMMIT FIRST!) (#2830)
* DOC-4194: add TCEs to the exact match query page

* Preemptive modifications from previous reviews
2024-09-26 14:25:31 +03:00
9f810c2f85 Add back accidentally deleted doctests file (#2821)
* Add back accidentally deleted doctest file

* Update string-set-get-example.js
2024-09-26 14:21:19 +03:00
06e91d0623 fix: XRangeOptions COUNT (#2791)
Co-authored-by: larry <lijingyuan@teplore.com>
2024-07-30 13:25:32 -04:00
6a3ea590df doctests: fix step names (#2795) 2024-07-17 19:35:45 +03:00
0f3d0f3d1f DOC-3933: final 8 tabbed code examples (#2784) 2024-07-03 22:29:13 +03:00
e7347f8a51 DOC-3914: re-issue TCE PRs previously issued by justincastilla (#2781) 2024-07-03 22:29:04 +03:00
70f3606a3d Doc 2542 - Add code examples for the Geospatial tutorial (#2585)
* DOC-2542 Add code examples for the Geospatial tutorial

* adds spaces after properties in objects

---------

Co-authored-by: Justin Castilla <pxlperfection@gmail.com>
2023-10-26 14:55:29 -04:00
22f8b2f958 DOC 2526 - Add code examples for the List tutorial in Node.js (#2583)
* DOC-2526 Add code examples for the List tutorial

* adds formatting

---------

Co-authored-by: Justin Castilla <pxlperfection@gmail.com>
2023-08-21 14:31:47 -04:00
d268364968 Add hash tutorial 2023-07-04 16:55:20 +02:00
0588b383cb [DOC-2373] adds js samples to match search-quickstart md (#2538)
* [DOC-2373] adds js samples to match search-quickstart md

* Fixes step matching for the Search quickstart

* Update search-quickstart.js

---------

Co-authored-by: Justin Castilla <pxlperfection@gmail.com>
Co-authored-by: Elena Kolevska <elena@kolevska.com>
Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-06-22 12:44:35 +02:00
caaca48ca1 Add Redis.io code examples
- Add set & get example
- Use bash script to test doc tests
- Add package.json to doctests
- Add search-quickstart
2023-05-17 12:17:34 +02:00
5c835d1a59 Adds anchors 2023-03-14 15:00:52 +02:00
d9c815f50e Initial example 2023-01-22 21:18:34 +02:00
abf2b4bc82 update examples/README.md - add search-knn to the table 2023-01-18 14:36:57 -05:00
fa47b572d4 Adds example for mixing arbitrary and supported commands in a transaction context. (#2315)
* Adds example for transactions with arbitrary commands.

* Formatting.

* Update transaction-with-arbitrary-commands.js

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:59:04 -05:00
63511e5b9b Add latency graph command (#2359)
* add latency graph command

* fix coding style

* Clean code

* use "enable-debug-command" is redis 7+ only

* Update LATENCY_GRAPH.spec.ts

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:55:38 -05:00
fad23973a5 fix #2333 - fix quit reply (#2346) 2023-01-18 12:55:11 -05:00
2042a67f3c KNN example (#2352)
* Sketch KNN example

* Got KNN example to work. Closes #2351

* clean example

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:54:51 -05:00
a1dfa22517 fix #2364 - fix FT.SEARCH RETURN [] (#2366)
* fix #2364 - fix FT.SEARCH RETURN []

* remove console.log
2023-01-18 12:54:42 -05:00
aa75ee49c6 #2038 Resolve legacy mode hGetAll returning in the wrong format compared to v3 results (#2367)
* Ensure that transformReply is optionally passed through to commands in legacy mode within multi

* Execute transformReply on legacy #sendCommand

* Scope transform changes to hGetAll

* Extensible method of transforming legacy replies, expands RedisCommand interface

* check `TRANSFORM_LEGACY_REPLY` on client creation (rather then on command exec), add tests

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-01-18 12:54:29 -05:00
e895fa1d71 Adding redis-stack-docker (#2380) 2023-01-18 12:53:09 -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
9dccd9a678 Update README.md 2022-12-26 05:22:01 -05:00
5a41d6d60b Update README.md
https://github.com/badges/shields/issues/8671
2022-12-19 16:15:19 -05:00
f6093b7b0f fix: zero ttl is ignored (#2349)
* fix: zero ttl is ignored

* Update SET.ts

* Update SET.ts

Co-authored-by: Leibale Eidelman <me@leibale.com>
2022-12-15 12:04:13 -05:00
ce1b8f7f4e ref #1982 - fix redisearch schema types (#2348) 2022-12-14 17:11:28 -05:00
ab69c81c36 fix(search): fix types for sort (#2343) 2022-12-14 17:03:30 -05:00
da3face951 Add connection status check example and documentation. (#2340)
* Adds example for transactions with arbitrary commands.

* Formatting.

* Adds isReady doc and example for isReady and isOpen.

* Improved example.

* Added isOpen explanation.

* Removed example from a different PR.
2022-12-13 15:19:45 -05:00
118dc11191 Create codeql.yml (#2336) 2022-11-30 16:30:31 -05:00
72cbceedfd Removing LGTM as the service is going offline shortly (#2335) 2022-11-30 16:27:41 -05:00
55a3a5165d Release redis@4.5.1 redis@4.5.1 2022-11-24 14:13:40 -05:00
ec57a9a77a upgrade subpackages 2022-11-24 14:12:49 -05:00
1557164b1c Release client@1.4.2 client@1.4.2 2022-11-24 14:10:38 -05:00
549a779a01 Merge branch 'master' of github.com:redis/node-redis 2022-11-24 14:06:20 -05:00
3b36963986 Release client@1.4.1 client@1.4.1 2022-11-24 14:05:42 -05:00
13ad249ae6 fix #2010 - stop reconnect after .disconnect() (#2323)
* fix #2010 - stop reconnect after .disconnect()

* fix quit
2022-11-24 14:03:34 -05:00
28b9701543 fix #2318 - add MULTI (uppercase) (#2324) 2022-11-24 14:01:43 -05:00
d923f7127a fix #2205 - reject commands in connect phase when disableOfflineQueue is true (#2328) 2022-11-24 14:01:09 -05:00
e5532706cf fix #2205 - reject commands in connect phase when disableOfflineQueue is true 2022-11-16 16:27:36 -05:00
d09732280b Release redis@4.5.0 redis@4.5.0 2022-11-10 03:59:32 -05:00
787afc9c0a upgrade @redis deps 2022-11-10 03:59:00 -05:00
2e6fdee052 Release client@1.4.0 client@1.4.0 2022-11-10 03:56:23 -05:00
e8dfa6dcb8 Release time-series@1.0.4 time-series@1.0.4 2022-11-10 03:52:29 -05:00
3c2f7ab92a Ping interval (#2321)
* fix #1598 fix #2276 - add `pingInterval` to client config

* setPingTimer on ready (instead of on connect)

* use isReady (instead of isOpen) and fix test

* Update client-configuration.md
2022-11-10 03:49:56 -05:00